Mercurial > hg
comparison contrib/check-code.py @ 15284:ebeac9c41456 stable
merge with crew
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 16 Oct 2011 22:15:43 -0500 |
parents | aeeb2afcdc25 d4addef0ec74 |
children | 4b71c17caeb8 |
comparison
equal
deleted
inserted
replaced
15281:aeeb2afcdc25 | 15284:ebeac9c41456 |
---|---|
67 (r'^source\b', "don't use 'source', use '.'"), | 67 (r'^source\b', "don't use 'source', use '.'"), |
68 (r'touch -d', "don't use 'touch -d', use 'touch -t' instead"), | 68 (r'touch -d', "don't use 'touch -d', use 'touch -t' instead"), |
69 (r'ls\s+[^|\n-]+\s+-', "options to 'ls' must come before filenames"), | 69 (r'ls\s+[^|\n-]+\s+-', "options to 'ls' must come before filenames"), |
70 (r'[^>\n]>\s*\$HGRCPATH', "don't overwrite $HGRCPATH, append to it"), | 70 (r'[^>\n]>\s*\$HGRCPATH', "don't overwrite $HGRCPATH, append to it"), |
71 (r'stop\(\)', "don't use 'stop' as a shell function name"), | 71 (r'stop\(\)', "don't use 'stop' as a shell function name"), |
72 (r'(\[|\btest\b).*-e ', "don't use 'test -e', use 'test -f'"), | |
72 ], | 73 ], |
73 # warnings | 74 # warnings |
74 [] | 75 [] |
75 ] | 76 ] |
76 | 77 |