Mercurial > hg
diff tests/test-module-imports.t @ 24722:02a5618e2fbf
revset: don't import discovery at module level
discovery.py imports a lot of the world. Pierre-Yves told me to move it
to a function-level import to avoid an import cycle in a future patch.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 14 Apr 2015 12:54:16 -0400 |
parents | 642d245ff537 |
children | d71492ca2fdd |
line wrap: on
line diff
--- a/tests/test-module-imports.t Tue Apr 14 10:59:26 2015 -0400 +++ b/tests/test-module-imports.t Tue Apr 14 12:54:16 2015 -0400 @@ -32,7 +32,7 @@ relative: error, merge, util mercurial/revset.py mixed imports stdlib: parser - relative: discovery, error, hbisect, phases, util + relative: error, hbisect, phases, util mercurial/templater.py mixed imports stdlib: parser relative: config, error, templatefilters, templatekw, util