Show More
@@ -1,36 +1,35 | |||
|
1 | #if test-repo | |
|
2 | ||
|
1 | 3 | $ check_code="$TESTDIR"/../contrib/check-code.py |
|
2 | 4 | $ cd "$TESTDIR"/.. |
|
3 | $ if hg identify -q > /dev/null 2>&1; then : | |
|
4 | > else | |
|
5 | > echo "skipped: not a Mercurial working dir" >&2 | |
|
6 | > exit 80 | |
|
7 | > fi | |
|
8 | 5 | |
|
9 | 6 |
|
|
10 | 7 | |
|
11 | 8 |
$ |
|
12 | 9 | > hg \ |
|
13 | 10 | > hgweb.cgi \ |
|
14 | 11 | > contrib/convert-repo \ |
|
15 | 12 | > contrib/dumprevlog \ |
|
16 | 13 | > contrib/hgweb.fcgi \ |
|
17 | 14 | > contrib/hgweb.wsgi \ |
|
18 | 15 | > contrib/simplemerge \ |
|
19 | 16 | > contrib/undumprevlog \ |
|
20 | 17 | > i18n/hggettext \ |
|
21 | 18 | > i18n/posplit \ |
|
22 | 19 | > tests/hghave \ |
|
23 | 20 | > tests/dummyssh \ |
|
24 | 21 | > "$TESTTMP"/ |
|
25 | 22 |
$ |
|
26 | 23 | |
|
27 | 24 | New errors are not allowed. Warnings are strongly discouraged. |
|
28 | 25 | (The writing "no-che?k-code" is for not skipping this file when checking.) |
|
29 | 26 | |
|
30 | 27 | $ { hg manifest 2>/dev/null; ls "$TESTTMP"/*.py | sed 's-\\-/-g'; } | |
|
31 | 28 | > xargs "$check_code" --warnings --per-file=0 || false |
|
32 | 29 | Skipping hgext/zeroconf/Zeroconf.py it has no-che?k-code (glob) |
|
33 | 30 | Skipping i18n/polib.py it has no-che?k-code (glob) |
|
34 | 31 | Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob) |
|
35 | 32 | Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob) |
|
36 | 33 | Skipping mercurial/httpclient/socketutil.py it has no-che?k-code (glob) |
|
34 | ||
|
35 | #endif |
General Comments 0
You need to be logged in to leave comments.
Login now