D1693: debugdiscovery: drop reference to non-existent --remote-head option

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Fri Dec 15 08:52:36 EST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGfed2c040764e: debugdiscovery: drop reference to non-existent --remote-head option (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1693?vs=4442&id=4475

REVISION DETAIL
  https://phab.mercurial-scm.org/D1693

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
@@ -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)
 



To: martinvonz, #hg-reviewers, yuja
Cc: mercurial-devel


More information about the Mercurial-devel mailing list