Mercurial > public > mercurial-scm > hg-stable
diff mercurial/debugcommands.py @ 34135:07f09995e857
merge with stable
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 12 Sep 2017 11:18:35 -0400 |
parents | 626a28f30dbd 3c3066367d72 |
children | 902219a99901 |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Fri Jun 30 03:39:32 2017 +0200 +++ b/mercurial/debugcommands.py Tue Sep 12 11:18:35 2017 -0400 @@ -2085,10 +2085,10 @@ 'Windows')) if not source: + if not repo: + raise error.Abort(_("there is no Mercurial repository here, and no " + "server specified")) source = "default" - elif not repo: - raise error.Abort(_("there is no Mercurial repository here, and no " - "server specified")) source, branches = hg.parseurl(ui.expandpath(source)) url = util.url(source)