changeset 40454:97190b0bb81a stable

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'.
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 03 Dec 2018 20:59:48 -0500
parents 6f679f25fd4d
children e204d9a27528
files hgext/extdiff.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/extdiff.py	Mon Dec 03 09:36:40 2018 -0800
+++ b/hgext/extdiff.py	Mon Dec 03 20:59:48 2018 -0500
@@ -429,6 +429,7 @@
             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: