mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
contrib: widen "direct use of python
" net again
I think I've now caught all of them. Differential Revision: https://phab.mercurial-scm.org/D15
This commit is contained in:
parent
8f76ebc60b
commit
04ece00541
@ -138,7 +138,7 @@ testpats = [
|
||||
"put a backslash-escaped newline after sed 'i' command"),
|
||||
(r'^diff *-\w*[uU].*$\n(^ \$ |^$)', "prefix diff -u/-U with cmp"),
|
||||
(r'^\s+(if)? diff *-\w*[uU]', "prefix diff -u/-U with cmp"),
|
||||
(r'\spython\s(?!bindings)', "don't use 'python', use '$PYTHON'"),
|
||||
(r'[\s="`\']python\s(?!bindings)', "don't use 'python', use '$PYTHON'"),
|
||||
(r'seq ', "don't use 'seq', use $TESTDIR/seq.py"),
|
||||
(r'\butil\.Abort\b', "directly use error.Abort"),
|
||||
(r'\|&', "don't use |&, use 2>&1"),
|
||||
|
Loading…
Reference in New Issue
Block a user