##// END OF EJS Templates
releasenotes: don't abort is there is a bad formatted entry for releasenotes...
Pulkit Goyal -
r34812:a542ad32 default
parent child Browse files
Show More
@@ -24,6 +24,7 b' from mercurial import ('
24 24 config,
25 25 error,
26 26 minirst,
27 node,
27 28 registrar,
28 29 scmutil,
29 30 util,
@@ -325,9 +326,8 b' def parsenotesfromrevisions(repo, direct'
325 326
326 327 # TODO consider using title as paragraph for more concise notes.
327 328 if not paragraphs:
328 raise error.Abort(_('could not find content for release note '
329 '%s') % directive)
330
329 repo.ui.warn(_("error parsing releasenotes for revision: "
330 "'%s'\n") % node.hex(ctx.node()))
331 331 if title:
332 332 notes.addtitleditem(directive, title, paragraphs)
333 333 else:
General Comments 0
You need to be logged in to leave comments. Login now