Commit Graph

6 Commits

Author SHA1 Message Date
Augie Fackler
cde5195cd5 contrib: fix check-commit to not reject commits from hg sign and hg tag
I'm tired of having a spurious red build every time we do a
release. Fix it once and for all.
2017-01-18 23:34:35 -05:00
Matt Mackall
9b78d1a779 check-commit: check for double-addition of blank lines
Previously, we were only checking for a blank line being added next to
an existing one. Now we also check for two being added at the same time.
2016-02-05 16:54:01 -06:00
timeless
6128260f9d check-commit: sort errors by line number 2016-01-12 08:34:38 +00:00
timeless
f4c0ab7d00 check-commit: try to fix multiline handling
The old code did not understand the difference between the first line of the summary,
and a random line in the summary that happened to include a #, or a
random line in the changes that happened to include it.

7c3798ffdc0c is an example where it fails
2016-01-12 08:50:15 +00:00
Matt Mackall
85a2438e14 tests: extend check-commit self-tests
This now contains both positive and negative tests for almost all the
check-commit rules.
2016-01-08 12:07:15 -06:00
Pierre-Yves David
516c4fcbd3 check-commit: add a test for the patch checking script in contrib
This introduces a test for the change introduced in d1bba8f10f62.
2015-12-11 12:21:26 +00:00