##// END OF EJS Templates
merge with stable
Matt Mackall -
r19763:ea35caf3 merge default
parent child Browse files
Show More
@@ -63,7 +63,7 b' from mercurial.i18n import _'
63 from mercurial.node import bin, hex, short, nullid, nullrev
63 from mercurial.node import bin, hex, short, nullid, nullrev
64 from mercurial.lock import release
64 from mercurial.lock import release
65 from mercurial import commands, cmdutil, hg, scmutil, util, revset
65 from mercurial import commands, cmdutil, hg, scmutil, util, revset
66 from mercurial import repair, extensions, error, phases
66 from mercurial import repair, extensions, error, phases, bookmarks
67 from mercurial import patch as patchmod
67 from mercurial import patch as patchmod
68 from mercurial import localrepo
68 from mercurial import localrepo
69 from mercurial import subrepo
69 from mercurial import subrepo
@@ -3077,6 +3077,8 b' def strip(ui, repo, *revs, **opts):'
3077 wlock.release()
3077 wlock.release()
3078
3078
3079 if opts.get('bookmark'):
3079 if opts.get('bookmark'):
3080 if mark == repo._bookmarkcurrent:
3081 bookmarks.setcurrent(repo, None)
3080 del marks[mark]
3082 del marks[mark]
3081 marks.write()
3083 marks.write()
3082 ui.write(_("bookmark '%s' deleted\n") % mark)
3084 ui.write(_("bookmark '%s' deleted\n") % mark)
General Comments 0
You need to be logged in to leave comments. Login now