tests: check import cycles in hgext/**.py, too
It is important to realize existing cycles in hgext/**.py.
--- a/tests/test-module-imports.t Mon May 18 02:52:58 2015 +0900
+++ b/tests/test-module-imports.t Mon May 18 02:53:08 2015 +0900
@@ -20,7 +20,7 @@
hidden by deduplication algorithm in the cycle detector, so fixing
these may expose other cycles.
- $ hg locate 'mercurial/**.py' | sed 's-\\-/-g' | python "$import_checker" -
+ $ hg locate 'mercurial/**.py' 'hgext/**.py' | sed 's-\\-/-g' | python "$import_checker" -
mercurial/dispatch.py mixed imports
stdlib: commands
relative: error, extensions, fancyopts, hg, hook, util
@@ -37,4 +37,5 @@
stdlib: formatter
relative: config, error, scmutil, util
Import cycle: mercurial.cmdutil -> mercurial.context -> mercurial.subrepo -> mercurial.cmdutil
+ Import cycle: hgext.largefiles.basestore -> hgext.largefiles.localstore -> hgext.largefiles.basestore
Import cycle: mercurial.commands -> mercurial.commandserver -> mercurial.dispatch -> mercurial.commands