Submitter | Sean Farley |
---|---|
Date | Sept. 24, 2015, 11:08 p.m. |
Message ID | <d19a61caa7c7abb23316.1443136086@laptop.office.atlassian.com> |
Download | mbox | patch |
Permalink | /patch/10618/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -593,11 +593,11 @@ def clone(ui, peeropts, source, dest=Non bn = destrepo[uprev].branch() if bn == 'default': status = _("updating to bookmark @\n") else: status = (_("updating to bookmark @ on branch %s\n") - % bn) + % bn) except KeyError: try: uprev = destrepo.branchtip('default') except error.RepoLookupError: uprev = destrepo.lookup('tip')