Mercurial > hg-stable
diff tests/test-module-imports.t @ 20386:a05d31b040d7
import-checker: show stdlib and relative imports separately
Make the output more useful for debugging problems.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 05 Feb 2014 01:43:51 +0100 |
parents | d87ed25733a1 |
children | d4f804caa0ed |
line wrap: on
line diff
--- a/tests/test-module-imports.t Wed Feb 05 01:41:36 2014 +0100 +++ b/tests/test-module-imports.t Wed Feb 05 01:43:51 2014 +0100 @@ -23,16 +23,21 @@ these may expose other cycles. $ hg locate 'mercurial/**.py' | xargs python "$import_checker" - mercurial/dispatch.py mixed stdlib and relative imports: - commands, error, extensions, fancyopts, hg, hook, util - mercurial/fileset.py mixed stdlib and relative imports: - error, merge, parser, util - mercurial/revset.py mixed stdlib and relative imports: - discovery, error, hbisect, parser, phases, util - mercurial/templater.py mixed stdlib and relative imports: - config, error, parser, templatefilters, util - mercurial/ui.py mixed stdlib and relative imports: - config, error, formatter, scmutil, util + mercurial/dispatch.py mixed imports + stdlib: commands + relative: error, extensions, fancyopts, hg, hook, util + mercurial/fileset.py mixed imports + stdlib: parser + relative: error, merge, util + mercurial/revset.py mixed imports + stdlib: parser + relative: discovery, error, hbisect, phases, util + mercurial/templater.py mixed imports + stdlib: parser + relative: config, error, templatefilters, util + mercurial/ui.py mixed imports + stdlib: formatter + relative: config, error, scmutil, util Import cycle: mercurial.cmdutil -> mercurial.subrepo -> mercurial.cmdutil Import cycle: mercurial.repoview -> mercurial.revset -> mercurial.repoview Import cycle: mercurial.fileset -> mercurial.merge -> mercurial.subrepo -> mercurial.match -> mercurial.fileset