Patchwork D6998: help: adding a help category to narrow and remotefilelog commands

login
register
mail settings
Submitter phabricator
Date Oct. 11, 2019, 11:05 p.m.
Message ID <c6f284e8cd55d1704f3006ad30bdce62@localhost.localdomain>
Download mbox | patch
Permalink /patch/42241/
State Not Applicable
Headers show

Comments

phabricator - Oct. 11, 2019, 11:05 p.m.
Closed by commit rHG5ff32fdf0b0b: help: adding a help category to narrow and remotefilelog commands (authored by rdamazio).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6998?vs=17087&id=17088

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6998/new/

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

AFFECTED FILES
  hgext/narrow/narrowcommands.py
  hgext/remotefilelog/__init__.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/remotefilelog/__init__.py b/hgext/remotefilelog/__init__.py
--- a/hgext/remotefilelog/__init__.py
+++ b/hgext/remotefilelog/__init__.py
@@ -1234,6 +1234,7 @@ 
     ]
     + commands.walkopts,
     _(b'hg prefetch [OPTIONS] [FILE...]'),
+    helpcategory=command.CATEGORY_MAINTENANCE,
 )
 def prefetch(ui, repo, *pats, **opts):
     """prefetch file revisions from the server
diff --git a/hgext/narrow/narrowcommands.py b/hgext/narrow/narrowcommands.py
--- a/hgext/narrow/narrowcommands.py
+++ b/hgext/narrow/narrowcommands.py
@@ -445,6 +445,7 @@ 
     + commands.remoteopts,
     _(b'[OPTIONS]... [REMOTE]'),
     inferrepo=True,
+    helpcategory=command.CATEGORY_MAINTENANCE,
 )
 def trackedcmd(ui, repo, remotepath=None, *pats, **opts):
     """show or change the current narrowspec