contrib/check-code.py
branchstable
changeset 14831 0407b7613e99
parent 14763 b071cd58af50
child 14978 5a0fdc715769
--- a/contrib/check-code.py	Mon Jul 04 14:36:16 2011 +0300
+++ b/contrib/check-code.py	Tue Jul 05 11:53:32 2011 +0100
@@ -68,6 +68,7 @@
     (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', "don't overwrite $HGRCPATH, append to it"),
+    (r'stop\(\)', "don't use 'stop' as a shell function name"),
   ],
   # warnings
   []