Mercurial > hg-stable
changeset 24362:58682838f8f7
check-code: enforce the usage of 'seq.py' instead of 'seq'
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 17 Mar 2015 21:48:34 -0400 |
parents | 8de8cd34f2e3 |
children | 852801178a63 |
files | contrib/check-code.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/check-code.py Tue Mar 17 21:47:47 2015 -0400 +++ b/contrib/check-code.py Tue Mar 17 21:48:34 2015 -0400 @@ -122,6 +122,7 @@ (r'sed (-e )?\'(\d+|/[^/]*/)i(?!\\\n)', "put a backslash-escaped newline after sed 'i' command"), (r'^diff *-\w*u.*$\n(^ \$ |^$)', "prefix diff -u with cmp"), + (r'seq ', "don't use 'seq', use $TESTDIR/seq.py") ], # warnings [