mercurial/hg.py
changeset 9611 a3d73b3e1f8a
parent 9468 b2310903c462
child 9714 2f1ab7f77ddc
--- a/mercurial/hg.py	Mon Oct 19 22:19:28 2009 +0300
+++ b/mercurial/hg.py	Fri Oct 16 23:57:34 2009 +0200
@@ -307,7 +307,6 @@
             dest_repo.ui.setconfig('paths', 'default', abspath)
 
             if update:
-                dest_repo.ui.status(_("updating working directory\n"))
                 if update is not True:
                     checkout = update
                 for test in (checkout, 'default', 'tip'):
@@ -318,6 +317,8 @@
                         break
                     except error.RepoLookupError:
                         continue
+                bn = dest_repo[uprev].branch()
+                dest_repo.ui.status(_("updating to branch %s\n") % bn)
                 _update(dest_repo, uprev)
 
         return src_repo, dest_repo