D5067: help: assigning categories to existing commands

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Sun Oct 14 15:30:31 UTC 2018


yuja added a comment.


  > +# 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.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5067

To: rdamazio, durin42, martinvonz, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list