hgext/releasenotes.py
changeset 41532 bd3f03d8cc9f
parent 40293 c303d65d2e34
child 41759 aaad36b88298
equal deleted inserted replaced
41531:14983ac4a764 41532:bd3f03d8cc9f
    53     ('fix', _('Bug Fixes')),
    53     ('fix', _('Bug Fixes')),
    54     ('perf', _('Performance Improvements')),
    54     ('perf', _('Performance Improvements')),
    55     ('api', _('API Changes')),
    55     ('api', _('API Changes')),
    56 ]
    56 ]
    57 
    57 
    58 RE_DIRECTIVE = re.compile('^\.\. ([a-zA-Z0-9_]+)::\s*([^$]+)?$')
    58 RE_DIRECTIVE = re.compile(br'^\.\. ([a-zA-Z0-9_]+)::\s*([^$]+)?$')
    59 RE_ISSUE = br'\bissue ?[0-9]{4,6}(?![0-9])\b'
    59 RE_ISSUE = br'\bissue ?[0-9]{4,6}(?![0-9])\b'
    60 
    60 
    61 BULLET_SECTION = _('Other Changes')
    61 BULLET_SECTION = _('Other Changes')
    62 
    62 
    63 class parsedreleasenotes(object):
    63 class parsedreleasenotes(object):