##// END OF EJS Templates
py3: use b'%d' to convert int to bytes instead of str()...
py3: use b'%d' to convert int to bytes instead of str() Differential Revision: https://phab.mercurial-scm.org/D3280

File last commit:

r33199:ddd65b4f default
r37599:5b836a4c default
Show More
test-check-commit.t
22 lines | 647 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/..
Yuya Nishihara
tests: alias syshg and syshgenv so they can be switched conditionally
r33199 $ for node in `testrepohg log --rev 'not public() and ::. and not desc("# no-check-commit")' --template '{node|short}\n'`; do
> testrepohg export --git $node \
> | contrib/check-commit > ${TESTTMP}/check-commit.out
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368 > 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