[PATCH 3 of 4 V2] check-code: enforce the usage of 'seq.py' instead of 'seq'
Matt Harbison
mharbison72 at gmail.com
Tue Mar 17 21:24:46 CDT 2015
# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1426643314 14400
# Tue Mar 17 21:48:34 2015 -0400
# Node ID ff44a900f4275ac11b937841165b237bb1211dc6
# Parent fb47194a8e28cc4b12770f04336e022cf67dd70a
check-code: enforce the usage of 'seq.py' instead of 'seq'
diff --git a/contrib/check-code.py b/contrib/check-code.py
--- a/contrib/check-code.py
+++ b/contrib/check-code.py
@@ -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
[
More information about the Mercurial-devel
mailing list