# HG changeset patch # User Matt Harbison # Date 2018-12-04 01:59:48 # Node ID 97190b0bb81a80fa3ca3aac641940fc1e4f14aab # Parent 6f679f25fd4d5a3e209a45058fc60ed294fdab59 extdiff: register the configuration generated commands with a help category Otherwise, 'extdiff' shows up under file management and the rest of the commands are at the bottom under 'Uncategorized'. diff --git a/hgext/extdiff.py b/hgext/extdiff.py --- a/hgext/extdiff.py +++ b/hgext/extdiff.py @@ -429,6 +429,7 @@ def uisetup(ui): if args: cmdline += ' ' + args command(cmd, extdiffopts[:], _('hg %s [OPTION]... [FILE]...') % cmd, + helpcategory=command.CATEGORY_FILE_CONTENTS, inferrepo=True)(savedcmd(path, cmdline)) # tell hggettext to extract docstrings from these functions: