##// END OF EJS Templates
strip: use bookmarks.unsetcurrent instead of setcurrent with None
Siddharth Agarwal -
r20099:6284b0b1 default
parent child Browse files
Show More
@@ -209,7 +209,7 def stripcmd(ui, repo, *revs, **opts):
209 209
210 210 if opts.get('bookmark'):
211 211 if mark == repo._bookmarkcurrent:
212 bookmarks.setcurrent(repo, None)
212 bookmarks.unsetcurrent(repo)
213 213 del marks[mark]
214 214 marks.write()
215 215 ui.write(_("bookmark '%s' deleted\n") % mark)
General Comments 0
You need to be logged in to leave comments. Login now