comparison tests/test-module-imports.t @ 25176:665a9deae8dd

tests: check import cycles in hgext/**.py, too It is important to realize existing cycles in hgext/**.py.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Mon, 18 May 2015 02:53:08 +0900
parents 86298718b01c
children 46bf4983cf31
comparison
equal deleted inserted replaced
25175:10e6c4b7121b 25176:665a9deae8dd
18 doesn't overlap with a stdlib module name. There are also some cycles 18 doesn't overlap with a stdlib module name. There are also some cycles
19 here that we should still endeavor to fix, and some cycles will be 19 here that we should still endeavor to fix, and some cycles will be
20 hidden by deduplication algorithm in the cycle detector, so fixing 20 hidden by deduplication algorithm in the cycle detector, so fixing
21 these may expose other cycles. 21 these may expose other cycles.
22 22
23 $ hg locate 'mercurial/**.py' | sed 's-\\-/-g' | python "$import_checker" - 23 $ hg locate 'mercurial/**.py' 'hgext/**.py' | sed 's-\\-/-g' | python "$import_checker" -
24 mercurial/dispatch.py mixed imports 24 mercurial/dispatch.py mixed imports
25 stdlib: commands 25 stdlib: commands
26 relative: error, extensions, fancyopts, hg, hook, util 26 relative: error, extensions, fancyopts, hg, hook, util
27 mercurial/fileset.py mixed imports 27 mercurial/fileset.py mixed imports
28 stdlib: parser 28 stdlib: parser
35 relative: config, error, templatefilters, templatekw, util 35 relative: config, error, templatefilters, templatekw, util
36 mercurial/ui.py mixed imports 36 mercurial/ui.py mixed imports
37 stdlib: formatter 37 stdlib: formatter
38 relative: config, error, scmutil, util 38 relative: config, error, scmutil, util
39 Import cycle: mercurial.cmdutil -> mercurial.context -> mercurial.subrepo -> mercurial.cmdutil 39 Import cycle: mercurial.cmdutil -> mercurial.context -> mercurial.subrepo -> mercurial.cmdutil
40 Import cycle: hgext.largefiles.basestore -> hgext.largefiles.localstore -> hgext.largefiles.basestore
40 Import cycle: mercurial.commands -> mercurial.commandserver -> mercurial.dispatch -> mercurial.commands 41 Import cycle: mercurial.commands -> mercurial.commandserver -> mercurial.dispatch -> mercurial.commands