mercurial/cmdutil.py
changeset 18538 94317c2d53b8
parent 18364 6252b4f1c4b4
child 18613 1a2f4c633410
--- a/mercurial/cmdutil.py	Wed Jan 23 09:51:45 2013 -0800
+++ b/mercurial/cmdutil.py	Sat Feb 02 15:37:17 2013 -0200
@@ -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])