D1097: releasenotes: don't abort is there is a bad formatted entry for releasenotes

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Mon Oct 16 09:07:08 EDT 2017


yuja requested changes to this revision.
yuja added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> releasenotes.py:327
>              if not paragraphs:
> -                raise error.Abort(_('could not find content for release note '
> -                                    '%s') % directive)
> -
> +                repo.ui.status(_("error parsing releasenotes for revision: "
> +                                 "'%s'\n") % node.hex(ctx.node()))

warn() seems better.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1097

To: pulkit, #hg-reviewers, yuja
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list