##// 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 config,
24 config,
25 error,
25 error,
26 minirst,
26 minirst,
27 node,
27 registrar,
28 registrar,
28 scmutil,
29 scmutil,
29 util,
30 util,
@@ -325,9 +326,8 b' def parsenotesfromrevisions(repo, direct'
325
326
326 # TODO consider using title as paragraph for more concise notes.
327 # TODO consider using title as paragraph for more concise notes.
327 if not paragraphs:
328 if not paragraphs:
328 raise error.Abort(_('could not find content for release note '
329 repo.ui.warn(_("error parsing releasenotes for revision: "
329 '%s') % directive)
330 "'%s'\n") % node.hex(ctx.node()))
330
331 if title:
331 if title:
332 notes.addtitleditem(directive, title, paragraphs)
332 notes.addtitleditem(directive, title, paragraphs)
333 else:
333 else:
General Comments 0
You need to be logged in to leave comments. Login now