##// END OF EJS Templates
hook: use 'htype' in 'hook'...
hook: use 'htype' in 'hook' Same rational as for 'runhooks', we fix the naming in another function.

File last commit:

r30648:2cab496d default
r31745:33504b54 default
Show More
test-check-commit.t
21 lines | 612 B | text/troff | Tads3Lexer
/ tests / test-check-commit.t
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368 #require test-repo
Enable obsolescence to avoid the warning issue when obsmarker are found
timeless
tests: silence test-repo obsolete warning...
r29219 $ . "$TESTDIR/helpers-testrepo.sh"
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368
Go back in the hg repo
$ cd $TESTDIR/..
David Soria Parra
tests: add magic string to bypass check-commit...
r30648 $ for node in `hg log --rev 'not public() and ::. and not desc("# no-check-commit")' --template '{node|short}\n'`; do
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368 > hg export $node | contrib/check-commit > ${TESTTMP}/check-commit.out
> if [ $? -ne 0 ]; then
timeless
tests: minor grammar change for check-commit
r28293 > echo "Revision $node does not comply with rules"
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368 > echo '------------------------------------------------------'
> cat ${TESTTMP}/check-commit.out
> echo
> fi
> done