equal
deleted
inserted
replaced
69 (r'touch -d', "don't use 'touch -d', use 'touch -t' instead"), |
69 (r'touch -d', "don't use 'touch -d', use 'touch -t' instead"), |
70 (r'ls +[^|\n-]+ +-', "options to 'ls' must come before filenames"), |
70 (r'ls +[^|\n-]+ +-', "options to 'ls' must come before filenames"), |
71 (r'[^>\n]>\s*\$HGRCPATH', "don't overwrite $HGRCPATH, append to it"), |
71 (r'[^>\n]>\s*\$HGRCPATH', "don't overwrite $HGRCPATH, append to it"), |
72 (r'^stop\(\)', "don't use 'stop' as a shell function name"), |
72 (r'^stop\(\)', "don't use 'stop' as a shell function name"), |
73 (r'(\[|\btest\b).*-e ', "don't use 'test -e', use 'test -f'"), |
73 (r'(\[|\btest\b).*-e ', "don't use 'test -e', use 'test -f'"), |
|
74 (r'^alias\b.*=', "don't use alias, use a function"), |
74 ], |
75 ], |
75 # warnings |
76 # warnings |
76 [] |
77 [] |
77 ] |
78 ] |
78 |
79 |