[2 of 3]Fixing Import Cycles.

Pulkit Goyal 7895pulkit at gmail.com
Mon Feb 29 20:30:48 UTC 2016


Well doing this also resolves our next import cycle which was

Import cycle: hgext.largefiles.basestore -> hgext.largefiles.wirestore ->
hgext.largefiles.remotestore -> hgext.largefiles.basestore

The remotestore file require to import the basestore to use the same
StoreError class but since we have moved it in localstore file we can
easily remove that import cycle.

And something good pops out when I run
hg locate 'mercurial/**.py' 'hgext/**.py' | sed 's-\\-/-g' | python
"$import_checker" -
No more cyclic imports. Seriously. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20160301/7090d4ad/attachment.html>


More information about the Mercurial-devel mailing list