diff -r 35f5cfdd0427 -r 0407b7613e99 contrib/check-code.py --- 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 []