##// END OF EJS Templates
tests: do not fail tests in a state with uncommitted .py file removal...
Arseniy Alekseyev -
r52043:8b3cc360 stable
parent child Browse files
Show More
@@ -1,4 +1,4 b''
1 #require test-repo hg10
1 #require test-repo hg32
2
2
3 $ . "$TESTDIR/helpers-testrepo.sh"
3 $ . "$TESTDIR/helpers-testrepo.sh"
4 $ import_checker="$TESTDIR"/../contrib/import-checker.py
4 $ import_checker="$TESTDIR"/../contrib/import-checker.py
@@ -14,12 +14,12 b' these may expose other cycles.'
14 Known-bad files are excluded by -X as some of them would produce unstable
14 Known-bad files are excluded by -X as some of them would produce unstable
15 outputs, which should be fixed later.
15 outputs, which should be fixed later.
16
16
17 NOTE: the `hg locate` command here only works on files that are known to
17 NOTE: the `hg files` command here only works on files that are known to
18 Mercurial. If you add an import of a new file and haven't yet `hg add`ed it, you
18 Mercurial. If you add an import of a new file and haven't yet `hg add`ed it, you
19 will likely receive warnings about a direct import.
19 will likely receive warnings about a direct import.
20
20
21 $ testrepohg locate 'set:**.py or grep(r"^#!.*?python")' \
21 $ testrepohg files 'set:**.py or grep(r"^#!.*?python")' \
22 > 'tests/**.t' \
22 > 'glob:tests/**.t' \
23 > -X hgweb.cgi \
23 > -X hgweb.cgi \
24 > -X setup.py \
24 > -X setup.py \
25 > -X contrib/automation/ \
25 > -X contrib/automation/ \
General Comments 0
You need to be logged in to leave comments. Login now