tests/test-check-commit.t
changeset 30648 2cab496db1e0
parent 29219 3c9066ed557c
child 32380 5db6d70fd30b
equal deleted inserted replaced
30646:ea3540e66fd8 30648:2cab496db1e0
     6 
     6 
     7 Go back in the hg repo
     7 Go back in the hg repo
     8 
     8 
     9   $ cd $TESTDIR/..
     9   $ cd $TESTDIR/..
    10 
    10 
    11   $ for node in `hg log --rev 'not public() and ::.' --template '{node|short}\n'`; do
    11   $ for node in `hg log --rev 'not public() and ::. and not desc("# no-check-commit")' --template '{node|short}\n'`; do
    12   >    hg export $node | contrib/check-commit > ${TESTTMP}/check-commit.out
    12   >    hg export $node | contrib/check-commit > ${TESTTMP}/check-commit.out
    13   >    if [ $? -ne 0 ]; then
    13   >    if [ $? -ne 0 ]; then
    14   >        echo "Revision $node does not comply with rules"
    14   >        echo "Revision $node does not comply with rules"
    15   >        echo '------------------------------------------------------'
    15   >        echo '------------------------------------------------------'
    16   >        cat ${TESTTMP}/check-commit.out
    16   >        cat ${TESTTMP}/check-commit.out