From patchwork Fri Oct 11 22:38:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D6998: help: adding a help category to narrow and remotefilelog commands From: phabricator X-Patchwork-Id: 42240 Message-Id: <85fc04898af9148e16207313066e926a@localhost.localdomain> To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Fri, 11 Oct 2019 22:38:37 +0000 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 To: rdamazio, durin42, #hg-reviewers, martinvonz Cc: mercurial-devel 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