comparison tests/test-module-imports.t @ 25989:2cc4e8385661

ui: use absolute_import And we have no more ambiguous mixed imports \o/
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 18:25:41 -0700
parents 7eb357b5f774
children 4b56214ebb7a
comparison
equal deleted inserted replaced
25988:83f220c7d6f0 25989:2cc4e8385661
110 here that we should still endeavor to fix, and some cycles will be 110 here that we should still endeavor to fix, and some cycles will be
111 hidden by deduplication algorithm in the cycle detector, so fixing 111 hidden by deduplication algorithm in the cycle detector, so fixing
112 these may expose other cycles. 112 these may expose other cycles.
113 113
114 $ hg locate 'mercurial/**.py' 'hgext/**.py' | sed 's-\\-/-g' | python "$import_checker" - 114 $ hg locate 'mercurial/**.py' 'hgext/**.py' | sed 's-\\-/-g' | python "$import_checker" -
115 mercurial/ui.py mixed imports
116 stdlib: formatter
117 relative: config, error, progress, scmutil, util
118 Import cycle: hgext.largefiles.basestore -> hgext.largefiles.localstore -> hgext.largefiles.basestore 115 Import cycle: hgext.largefiles.basestore -> hgext.largefiles.localstore -> hgext.largefiles.basestore
119 [1] 116 [1]