D355: contrib: add check flag for use of admonitions and its validity

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sat Aug 12 13:56:52 EDT 2017


pulkit added a comment.


  Can you add tests for this. Also the commit message starts with "contrib", which seems unrelated here, please correct that.

INLINE COMMENTS

> releasenotes.py:543
> +    if opts.get('check'):
> +        checkadmonitions(ui, repo, sections.names(), revs)
> +

You can do `return checkadmonitions(...)` and that will prevent the later spacing diff.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list