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

rdamazio (Rodrigo Damazio Bovendorp) phabricator at mercurial-scm.org
Fri Oct 11 18:38:37 EDT 2019


rdamazio updated this revision to Diff 17087.

REPOSITORY
  rHG Mercurial

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

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

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



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


More information about the Mercurial-devel mailing list