changeset 13524:121c89dd7983

check-code: catch "echo > $HGRCPATH" too Make error message consistent with the other error messages.
author Martin Geisler <mg@aragost.com>
date Wed, 02 Mar 2011 14:52:31 +0100
parents 644166163116
children c12088259f64
files contrib/check-code.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/check-code.py	Wed Mar 02 14:23:22 2011 +0100
+++ b/contrib/check-code.py	Wed Mar 02 14:52:31 2011 +0100
@@ -66,7 +66,7 @@
     (r'^source\b', "don't use 'source', use '.'"),
     (r'touch -d', "don't use 'touch -d', use 'touch -t' instead"),
     (r'ls\s+[^|-]+\s+-', "options to 'ls' must come before filenames"),
-    (r'[^>]>\s*\$HGRCPATH <<EOF', "append to $HGRCPATH, do not overwrite it"),
+    (r'[^>]>\s*\$HGRCPATH', "don't overwrite $HGRCPATH, append to it"),
 ]
 
 testfilters = [