diff --git a/tests/test-check-module-imports.t b/tests/test-check-module-imports.t --- a/tests/test-check-module-imports.t +++ b/tests/test-check-module-imports.t @@ -1,4 +1,4 @@ -#require test-repo hg10 +#require test-repo hg32 $ . "$TESTDIR/helpers-testrepo.sh" $ import_checker="$TESTDIR"/../contrib/import-checker.py @@ -14,12 +14,12 @@ these may expose other cycles. Known-bad files are excluded by -X as some of them would produce unstable outputs, which should be fixed later. -NOTE: the `hg locate` command here only works on files that are known to +NOTE: the `hg files` command here only works on files that are known to Mercurial. If you add an import of a new file and haven't yet `hg add`ed it, you will likely receive warnings about a direct import. - $ testrepohg locate 'set:**.py or grep(r"^#!.*?python")' \ - > 'tests/**.t' \ + $ testrepohg files 'set:**.py or grep(r"^#!.*?python")' \ + > 'glob:tests/**.t' \ > -X hgweb.cgi \ > -X setup.py \ > -X contrib/automation/ \