Comments
Patch
@@ -12,6 +12,7 @@
import match as matchmod
import subrepo, context, repair, graphmod, revset, phases, obsolete
import changelog
+import bookmarks
import lock as lockmod
def parsealiases(cmd):
@@ -1793,6 +1794,8 @@
edittext.append(_("HG: branch merge"))
if ctx.branch():
edittext.append(_("HG: branch '%s'") % ctx.branch())
+ if bookmarks.iscurrent(repo):
+ edittext.append(_("HG: bookmark '%s'") % repo._bookmarkcurrent)
edittext.extend([_("HG: subrepo %s") % s for s in subs])
edittext.extend([_("HG: added %s") % f for f in added])
edittext.extend([_("HG: changed %s") % f for f in modified])
@@ -263,6 +263,7 @@
$ cd commitmsg
$ echo changed > changed
$ echo removed > removed
+ $ hg book currentbookmark
$ hg ci -qAm init
$ hg rm removed
@@ -277,6 +278,7 @@
HG: --
HG: user: test
HG: branch 'default'
+ HG: bookmark 'currentbookmark'
HG: added added
HG: changed changed
HG: removed removed