comparison tests/test-check-commit.t @ 27756:598e21079884

tests: run check-commit on secret changes too
author Matt Mackall <mpm@selenic.com>
date Mon, 11 Jan 2016 11:35:28 -0600
parents 409a20314c64
children a22b6fa5a844
comparison
equal deleted inserted replaced
27755:50c5192e4a5e 27756:598e21079884
9 9
10 Go back in the hg repo 10 Go back in the hg repo
11 11
12 $ cd $TESTDIR/.. 12 $ cd $TESTDIR/..
13 13
14 $ for node in `hg log --rev 'draft() and ::.' --template '{node|short}\n'`; do 14 $ for node in `hg log --rev 'not public() and ::.' --template '{node|short}\n'`; do
15 > hg export $node | contrib/check-commit > ${TESTTMP}/check-commit.out 15 > hg export $node | contrib/check-commit > ${TESTTMP}/check-commit.out
16 > if [ $? -ne 0 ]; then 16 > if [ $? -ne 0 ]; then
17 > echo "Revision $node does not comply to rules" 17 > echo "Revision $node does not comply to rules"
18 > echo '------------------------------------------------------' 18 > echo '------------------------------------------------------'
19 > cat ${TESTTMP}/check-commit.out 19 > cat ${TESTTMP}/check-commit.out