tests: run check-commit on secret changes too
authorMatt Mackall <mpm@selenic.com>
Mon, 11 Jan 2016 11:35:28 -0600
changeset 27756 598e21079884
parent 27755 50c5192e4a5e
child 27757 6ff556ef5a46
tests: run check-commit on secret changes too
tests/test-check-commit.t
--- a/tests/test-check-commit.t	Wed Jan 13 14:41:10 2016 -0500
+++ b/tests/test-check-commit.t	Mon Jan 11 11:35:28 2016 -0600
@@ -11,7 +11,7 @@
 
   $ 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"