contrib/check-code.py
changeset 13519 43b3b761d9d1
parent 13400 14f3795a5ed7
child 13522 7ac93ec49c2d
--- a/contrib/check-code.py	Wed Mar 02 13:24:48 2011 +0100
+++ b/contrib/check-code.py	Tue Mar 01 17:01:17 2011 +0100
@@ -66,6 +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'cat > \$HGRCPATH <<EOF', "append to $HGRCPATH, do not overwrite it"),
 ]
 
 testfilters = [