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.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
Can you add tests for this. Also the commit message starts with "contrib", which seems unrelated here, please correct that.
hgext/releasenotes.py | ||
---|---|---|
543 | You can do return checkadmonitions(...) and that will prevent the later spacing diff. |
You can do return checkadmonitions(...) and that will prevent the later spacing diff.