changeset 35419:fed2c040764e

debugdiscovery: drop reference to non-existent --remote-head 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/D1693
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 13 Dec 2017 11:21:25 -0800
parents c73d23cbb129
children 7ddc1e96d9b0
files mercurial/debugcommands.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Wed Dec 13 11:20:52 2017 -0800
+++ b/mercurial/debugcommands.py	Wed Dec 13 11:21:25 2017 -0800
@@ -782,8 +782,7 @@
         elif rheads <= common:
             ui.write(("remote is subset\n"))
 
-    remoterevs, _checkout = hg.addbranchrevs(repo, remote, branches,
-                                             opts.get('remote_head'))
+    remoterevs, _checkout = hg.addbranchrevs(repo, remote, branches, revs=None)
     localrevs = opts['rev']
     doit(localrevs, remoterevs)