changeset 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 50c5192e4a5e
children 6ff556ef5a46
files tests/test-check-commit.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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"