author | Siddharth Agarwal <sid0@fb.com> |
Fri, 15 Nov 2013 18:31:02 -0800 | |
changeset 20099 | 6284b0b16033 |
parent 20098 | 2880b45636ca |
child 20100 | 0f01d0692bc5 |
hgext/strip.py | file | annotate | diff | comparison | revisions |
--- a/hgext/strip.py Fri Nov 15 18:28:57 2013 -0800 +++ b/hgext/strip.py Fri Nov 15 18:31:02 2013 -0800 @@ -209,7 +209,7 @@ if opts.get('bookmark'): if mark == repo._bookmarkcurrent: - bookmarks.setcurrent(repo, None) + bookmarks.unsetcurrent(repo) del marks[mark] marks.write() ui.write(_("bookmark '%s' deleted\n") % mark)