mercurial/commands.py
changeset 21404 ca275f7ec576
parent 21267 e4f451c8c05c
child 21412 6f6ccb0bb6af
--- a/mercurial/commands.py	Thu Aug 02 13:51:34 2012 +0200
+++ b/mercurial/commands.py	Wed May 14 12:49:55 2014 -0700
@@ -5901,6 +5901,9 @@
     elif brev in repo._bookmarks:
         bookmarks.setcurrent(repo, brev)
     elif brev:
+        if repo._bookmarkcurrent:
+            ui.status(_("(leaving bookmark %s)\n") %
+                      repo._bookmarkcurrent)
         bookmarks.unsetcurrent(repo)
 
     return ret