hgext/releasenotes.py
changeset 40293 c303d65d2e34
parent 40243 96e50dfd8c94
child 41532 bd3f03d8cc9f
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.