changeset 36770 | a5891e94bfe1 |
parent 36769 | 3fff6f30bd7f |
child 40234 | 3fc2ef49959c |
--- a/hgext/releasenotes.py Sun Mar 04 00:15:35 2018 +0530 +++ b/hgext/releasenotes.py Sun Mar 04 00:25:58 2018 +0530 @@ -324,6 +324,9 @@ if pblock['type'] == 'margin': continue + if pblock['type'] == 'admonition': + break + if pblock['type'] != 'paragraph': repo.ui.warn(_('changeset %s: unexpected block in release ' 'notes directive %s\n') % (ctx, directive))