equal
deleted
inserted
replaced
321 pblock = blocks[j] |
321 pblock = blocks[j] |
322 |
322 |
323 # Margin blocks may appear between paragraphs. Ignore them. |
323 # Margin blocks may appear between paragraphs. Ignore them. |
324 if pblock['type'] == 'margin': |
324 if pblock['type'] == 'margin': |
325 continue |
325 continue |
|
326 |
|
327 if pblock['type'] == 'admonition': |
|
328 break |
326 |
329 |
327 if pblock['type'] != 'paragraph': |
330 if pblock['type'] != 'paragraph': |
328 repo.ui.warn(_('changeset %s: unexpected block in release ' |
331 repo.ui.warn(_('changeset %s: unexpected block in release ' |
329 'notes directive %s\n') % (ctx, directive)) |
332 'notes directive %s\n') % (ctx, directive)) |
330 |
333 |