# HG changeset patch # User Matt Mackall # Date 2016-01-11 17:35:28 # Node ID 598e210798845fb5324a7ff1f0377d43a88a4160 # Parent 50c5192e4a5edce42a92d487b95b5d4fd1a0d58e tests: run check-commit on secret changes too diff --git a/tests/test-check-commit.t b/tests/test-check-commit.t --- a/tests/test-check-commit.t +++ b/tests/test-check-commit.t @@ -11,7 +11,7 @@ Go back in the hg repo $ cd $TESTDIR/.. - $ for node in `hg log --rev 'draft() and ::.' --template '{node|short}\n'`; do + $ for node in `hg log --rev 'not public() and ::.' --template '{node|short}\n'`; do > hg export $node | contrib/check-commit > ${TESTTMP}/check-commit.out > if [ $? -ne 0 ]; then > echo "Revision $node does not comply to rules"