--- 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