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