D1691: debugdiscovery: drop reference to invalid --branch option
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Fri Dec 15 08:52:26 EST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG2105bdd9462a: debugdiscovery: drop reference to invalid --branch option (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1691?vs=4440&id=4473
REVISION DETAIL
https://phab.mercurial-scm.org/D1691
AFFECTED FILES
mercurial/debugcommands.py
CHANGE DETAILS
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -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))
To: martinvonz, #hg-reviewers, yuja
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list