diff mercurial/commands.py @ 21503:10f15e34d86c

update: show message when a bookmark is activated by update When updating to a bookmark, mention that the bookmark is now active. This is a reminder that update does not move the current bookmark if an explicit target is given - instead it activates that target.
author Stephen Lee <sphen.lee@gmail.com>
date Thu, 07 Mar 2013 14:17:56 +1100
parents d4b8fc753455
children 559f01f19cf6
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Apr 22 10:01:22 2014 -0700
+++ b/mercurial/commands.py	Thu Mar 07 14:17:56 2013 +1100
@@ -5889,6 +5889,7 @@
             ui.status(_("updating bookmark %s\n") % repo._bookmarkcurrent)
     elif brev in repo._bookmarks:
         bookmarks.setcurrent(repo, brev)
+        ui.status(_("(activating bookmark %s)\n") % brev)
     elif brev:
         if repo._bookmarkcurrent:
             ui.status(_("(leaving bookmark %s)\n") %