diff 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
line wrap: on
line diff
--- 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"