D5067: help: assigning categories to existing commands

Yuya Nishihara yuya at tcha.org
Sun Oct 14 10:46:42 EDT 2018


> +# Add our category before "Repository maintenance".
> +help.CATEGORY_ORDER.insert(
> +    help.CATEGORY_ORDER.index(command.CATEGORY_MAINTENANCE),
> +    _HELP_CATEGORY)
> +help.CATEGORY_NAMES[_HELP_CATEGORY] = 'GPG signing'

Moved this to extsetup(), since otherwise it could leave phantom None
on import failure.


More information about the Mercurial-devel mailing list