D6324: help: register the 'gpg' command category and give it a description
Sietse (Sietse Brouwer)
phabricator at mercurial-scm.org
Fri May 3 12:50:04 EDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGade02721d3fa: help: register the 'gpg' command category and give it a description (authored by Sietse, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6324?vs=14957&id=14993
REVISION DETAIL
https://phab.mercurial-scm.org/D6324
AFFECTED FILES
hgext/gpg.py
CHANGE DETAILS
diff --git a/hgext/gpg.py b/hgext/gpg.py
--- a/hgext/gpg.py
+++ b/hgext/gpg.py
@@ -49,6 +49,11 @@
# Custom help category
_HELP_CATEGORY = 'gpg'
+help.CATEGORY_ORDER.insert(
+ help.CATEGORY_ORDER.index(registrar.command.CATEGORY_HELP),
+ _HELP_CATEGORY
+)
+help.CATEGORY_NAMES[_HELP_CATEGORY] = 'Signing changes (GPG)'
class gpg(object):
def __init__(self, path, key=None):
To: Sietse, #hg-reviewers, martinvonz
Cc: rdamazio, martinvonz, mercurial-devel
More information about the Mercurial-devel
mailing list