# HG changeset patch # User FUJIWARA Katsunori # Date 1431885188 -32400 # Node ID 665a9deae8ddf3ed98e9235b4b2e2159653dc4fc # Parent 10e6c4b7121b94d0b70552cf8c8ea1d7531a618a tests: check import cycles in hgext/**.py, too It is important to realize existing cycles in hgext/**.py. diff -r 10e6c4b7121b -r 665a9deae8dd tests/test-module-imports.t --- 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