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
|
2016-03-02 19:25:12 +03:00
|
|
|
Skipping hgext/fsmonitor/pywatchman/__init__.py it has no-che?k-code (glob)
|
|
|
|
Skipping hgext/fsmonitor/pywatchman/bser.c it has no-che?k-code (glob)
|
|
|
|
Skipping hgext/fsmonitor/pywatchman/capabilities.py it has no-che?k-code (glob)
|
2016-03-15 04:15:59 +03:00
|
|
|
Skipping hgext/fsmonitor/pywatchman/msc_stdint.h it has no-che?k-code (glob)
|
2016-03-02 19:25:12 +03:00
|
|
|
Skipping hgext/fsmonitor/pywatchman/pybser.py it has no-che?k-code (glob)
|
2014-01-08 01:29:15 +04:00
|
|
|
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)
|