This is an archive of the discontinued Mercurial Phabricator instance.

releasenotes: add check flag for use of admonitions and its validity
AbandonedPublic

Authored by rishabhmadan96 on Aug 13 2017, 10:16 AM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

While using releasenotes extension, we will be using admonitions in commit messages.
The check (-c) flag will look for an admonition within the message. If it exists, it will
verify if it is stated under default or custom admonition. The check fails if the
admonition is not present in any of them. It also suggests similar admonitions
in case the admonition is invalid.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped