Mercurial > hg
comparison hgext/releasenotes.py @ 40293:c303d65d2e34
help: assigning categories to existing commands
I'm separating this into its own commit so people can bikeshed over the actual
categorization (vs the support for categories). These categories are based on
the help implementation we've been using internally at Google, and have had
zero complaints.
Differential Revision: https://phab.mercurial-scm.org/D5067
author | rdamazio@google.com |
---|---|
date | Sat, 13 Oct 2018 02:17:41 -0700 |
parents | 96e50dfd8c94 |
children | bd3f03d8cc9f |
comparison
equal
deleted
inserted
replaced
40292:9c6473d2038b | 40293:c303d65d2e34 |
---|---|
490 [('r', 'rev', '', _('revisions to process for release notes'), _('REV')), | 490 [('r', 'rev', '', _('revisions to process for release notes'), _('REV')), |
491 ('c', 'check', False, _('checks for validity of admonitions (if any)'), | 491 ('c', 'check', False, _('checks for validity of admonitions (if any)'), |
492 _('REV')), | 492 _('REV')), |
493 ('l', 'list', False, _('list the available admonitions with their title'), | 493 ('l', 'list', False, _('list the available admonitions with their title'), |
494 None)], | 494 None)], |
495 _('hg releasenotes [-r REV] [-c] FILE')) | 495 _('hg releasenotes [-r REV] [-c] FILE'), |
496 helpcategory=command.CATEGORY_CHANGE_NAVIGATION) | |
496 def releasenotes(ui, repo, file_=None, **opts): | 497 def releasenotes(ui, repo, file_=None, **opts): |
497 """parse release notes from commit messages into an output file | 498 """parse release notes from commit messages into an output file |
498 | 499 |
499 Given an output file and set of revisions, this command will parse commit | 500 Given an output file and set of revisions, this command will parse commit |
500 messages for release notes then add them to the output file. | 501 messages for release notes then add them to the output file. |