Patchwork D1706: debugdiscovery: correct and clean up command synopsis

login
register
mail settings
Submitter phabricator
Date Dec. 15, 2017, 4:57 p.m.
Message ID <99c7b3ec11fb2d3b6fb0b303294c2ea1@localhost.localdomain>
Download mbox | patch
Permalink /patch/26314/
State Not Applicable
Headers show

Comments

phabricator - Dec. 15, 2017, 4:57 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG702e6d2642e7: debugdiscovery: correct and clean up command synopsis (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1706?vs=4482&id=4483

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

AFFECTED FILES
  mercurial/debugcommands.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -740,7 +740,7 @@ 
      _('use old-style discovery with non-heads included')),
     ('', 'rev', [], 'restrict discovery to this set of revs'),
     ] + cmdutil.remoteopts,
-    _('[-l REV] [-r REV] [-b BRANCH]... [OTHER]'))
+    _('[--rev REV] [OTHER]'))
 def debugdiscovery(ui, repo, remoteurl="default", **opts):
     """runs the changeset discovery protocol in isolation"""
     opts = pycompat.byteskwargs(opts)