diff mercurial/hg.py @ 17871:52c7e171e355 stable

clone: print bookmark name when clone activates a bookmark Similar to the message that prints the checked out branch name. Without this, the user might accidentally move the @ bookmark.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 26 Oct 2012 14:53:31 +0200
parents 7d2dd10ce9ea
children 7d4e98bf114d
line wrap: on
line diff
--- a/mercurial/hg.py	Fri Oct 26 14:37:03 2012 +0200
+++ b/mercurial/hg.py	Fri Oct 26 14:53:31 2012 +0200
@@ -428,6 +428,7 @@
                 destrepo.ui.status(_("updating to branch %s\n") % bn)
                 _update(destrepo, uprev)
                 if update in destrepo._bookmarks:
+                    destrepo.ui.status(_("active bookmark: %s\n") % update)
                     bookmarks.setcurrent(destrepo, update)
 
         return srcpeer, destpeer