hgext/releasenotes.py
changeset 36768 658ed9c7442b
parent 35003 e68dd1909af3
child 36769 3fff6f30bd7f
--- a/hgext/releasenotes.py	Wed Mar 07 09:07:34 2018 +1100
+++ b/hgext/releasenotes.py	Sat Mar 03 23:47:22 2018 +0530
@@ -325,8 +325,8 @@
                     continue
 
                 if pblock['type'] != 'paragraph':
-                    raise error.Abort(_('unexpected block in release notes '
-                                        'directive %s') % directive)
+                    repo.ui.warn(_('unexpected block in release notes '
+                                        'directive %s\n') % directive)
 
                 if pblock['indent'] > 0:
                     paragraphs.append(pblock['lines'])