Mercurial > hg
changeset 35417:2105bdd9462a
debugdiscovery: drop reference to invalid --branch option
It seems like it didn't even exist when debugdiscovery was introduced
in cb98fed52495 (discovery: add new set-based discovery, 2011-05-02).
Differential Revision: https://phab.mercurial-scm.org/D1691
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 13 Dec 2017 11:19:24 -0800 |
parents | 417fa23017f9 |
children | c73d23cbb129 |
files | mercurial/debugcommands.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Thu Dec 14 22:30:03 2017 -0800 +++ b/mercurial/debugcommands.py Wed Dec 13 11:19:24 2017 -0800 @@ -744,8 +744,7 @@ def debugdiscovery(ui, repo, remoteurl="default", **opts): """runs the changeset discovery protocol in isolation""" opts = pycompat.byteskwargs(opts) - remoteurl, branches = hg.parseurl(ui.expandpath(remoteurl), - opts.get('branch')) + remoteurl, branches = hg.parseurl(ui.expandpath(remoteurl)) remote = hg.peer(repo, opts, remoteurl) ui.status(_('comparing with %s\n') % util.hidepassword(remoteurl))