mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
tests: add #no-check-commit support to test-check-commit-hg.t
The upstream test has this exclusion, and without it, commits that pass because of it will fail in our own CI. So let's add it. Differential Revision: https://phab.mercurial-scm.org/D1010
This commit is contained in:
parent
8950244fd8
commit
99c432abfc
@ -17,7 +17,7 @@ Go back in the current repo (fb-hgext)
|
||||
$ cd $TESTDIR/..
|
||||
$ unset BYPASS
|
||||
|
||||
$ for node in `hg log --rev 'not public() and ::.' --template '{node|short}\n'`; do
|
||||
$ for node in `hg log --rev 'not public() and ::. and not desc("# no-check-commit")' --template '{node|short}\n'`; do
|
||||
> hg export $node | $RUNTESTDIR/../contrib/check-commit > ${TESTTMP}/check-commit.out
|
||||
> if [ $? -ne 0 ]; then
|
||||
> echo "Revision $node does not comply with rules"
|
||||
|
Loading…
Reference in New Issue
Block a user