Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hg.py @ 9611:a3d73b3e1f8a
hg.clone: report branch name on update
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 16 Oct 2009 23:57:34 +0200 |
parents | b2310903c462 |
children | 2f1ab7f77ddc |
line wrap: on
line diff
--- 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