2014-08-06 20:53:08 +04:00
|
|
|
#require test-repo
|
2014-05-05 22:42:58 +04:00
|
|
|
|
2011-11-23 05:50:58 +04:00
|
|
|
$ check_code="$TESTDIR"/../contrib/check-code.py
|
|
|
|
$ cd "$TESTDIR"/..
|
|
|
|
|
2013-07-06 23:47:56 +04:00
|
|
|
New errors are not allowed. Warnings are strongly discouraged.
|
2014-01-08 01:29:15 +04:00
|
|
|
(The writing "no-che?k-code" is for not skipping this file when checking.)
|
2013-07-06 23:47:56 +04:00
|
|
|
|
2014-05-05 22:42:08 +04:00
|
|
|
$ hg locate | sed 's-\\-/-g' |
|
2013-07-22 12:04:53 +04:00
|
|
|
> xargs "$check_code" --warnings --per-file=0 || false
|
2014-01-08 01:29:15 +04:00
|
|
|
Skipping hgext/zeroconf/Zeroconf.py it has no-che?k-code (glob)
|
|
|
|
Skipping i18n/polib.py it has no-che?k-code (glob)
|
|
|
|
Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
|
|
|
|
Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
|
|
|
|
Skipping mercurial/httpclient/socketutil.py it has no-che?k-code (glob)
|