diff -r 3db723e2dc20 -r ca275f7ec576 mercurial/commands.py --- 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