Largefiles - moving basestore._openstore somewhere else

Piotr Listkiewicz piotr.listkiewicz at gmail.com
Wed May 4 14:47:17 UTC 2016


Function basestore._openstore causes cyclic references:
basestore -> localstore -> basestore
basestore -> wirestore -> basestore

Function _openstore cant be moved to lfutil because it is used in
localstore and wirestore modules. Other place where function could be moved
is lfcommands and it does not cause cyclic reference, but IMHO this place
doesn't seem right.

Its probable that this function should be moved to new module, but i have
no idea what abstraction this module can represent beside containing this
function.

Im looking forward for ideas whats the best way to resolve this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20160504/cb9cd9d9/attachment.html>


More information about the Mercurial-devel mailing list