Show More
@@ -63,7 +63,7 b' from mercurial.i18n import _' | |||
|
63 | 63 | from mercurial.node import bin, hex, short, nullid, nullrev |
|
64 | 64 | from mercurial.lock import release |
|
65 | 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 | 67 | from mercurial import patch as patchmod |
|
68 | 68 | from mercurial import localrepo |
|
69 | 69 | from mercurial import subrepo |
@@ -3077,6 +3077,8 b' def strip(ui, repo, *revs, **opts):' | |||
|
3077 | 3077 | wlock.release() |
|
3078 | 3078 | |
|
3079 | 3079 | if opts.get('bookmark'): |
|
3080 | if mark == repo._bookmarkcurrent: | |
|
3081 | bookmarks.setcurrent(repo, None) | |
|
3080 | 3082 | del marks[mark] |
|
3081 | 3083 | marks.write() |
|
3082 | 3084 | ui.write(_("bookmark '%s' deleted\n") % mark) |
General Comments 0
You need to be logged in to leave comments.
Login now