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

login
register
mail settings
Submitter phabricator
Date Oct. 6, 2019, 3:08 p.m.
Message ID <differential-rev-PHID-DREV-wvfgxmurdgos77wupb4u-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/42025/
State Superseded
Headers show

Comments

phabricator - Oct. 6, 2019, 3:08 p.m.
rdamazio created this revision.
Herald added a reviewer: durin42.
Herald added a reviewer: martinvonz.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

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

CHANGE DETAILS




To: rdamazio, durin42, martinvonz, #hg-reviewers
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
@@ -1072,7 +1072,8 @@ 
     ('r', 'rev', [], _('prefetch the specified revisions'), _('REV')),
     ('', 'repack', False, _('run repack after prefetch')),
     ('b', 'base', '', _("rev that is assumed to already be local")),
-    ] + commands.walkopts, _('hg prefetch [OPTIONS] [FILE...]'))
+    ] + commands.walkopts, _('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
@@ -340,7 +340,8 @@ 
       _('update working copy when the store has changed')),
     ] + commands.remoteopts,
     _('[OPTIONS]... [REMOTE]'),
-    inferrepo=True)
+    inferrepo=True,
+    helpcategory=command.CATEGORY_MAINTENANCE)
 def trackedcmd(ui, repo, remotepath=None, *pats, **opts):
     """show or change the current narrowspec