help: adding a help category to narrow and remotefilelog commands
Differential Revision: https://phab.mercurial-scm.org/D6998
--- a/hgext/narrow/narrowcommands.py Sun Sep 15 17:02:31 2019 +0900
+++ b/hgext/narrow/narrowcommands.py Sun Oct 06 03:30:00 2019 -0400
@@ -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
--- a/hgext/remotefilelog/__init__.py Sun Sep 15 17:02:31 2019 +0900
+++ b/hgext/remotefilelog/__init__.py Sun Oct 06 03:30:00 2019 -0400
@@ -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