##// END OF EJS Templates
test-check-code-hg: use test-repo check
Matt Mackall -
r21223:c35c027f default
parent child Browse files
Show More
@@ -1,10 +1,7 b''
1 #if test-repo
2
1 $ check_code="$TESTDIR"/../contrib/check-code.py
3 $ check_code="$TESTDIR"/../contrib/check-code.py
2 $ cd "$TESTDIR"/..
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 Prepare check for Python files without py extension
6 Prepare check for Python files without py extension
10
7
@@ -34,3 +31,5 b' New errors are not allowed. Warnings are'
34 Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
31 Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
35 Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
32 Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
36 Skipping mercurial/httpclient/socketutil.py it has no-che?k-code (glob)
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