D4576: localrepo: extract resolving of opener options to standalone functions
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Tue Sep 18 18:12:31 EDT 2018
indygreg added a comment.
In https://phab.mercurial-scm.org/D4576#70668, @durin42 wrote:
> I kind of hope that eventually you're going to break all the requirements-handling nonsense out into its own module somehow?
I suspect I'm trending in the direction of creating a `storage` module/package to hold all things storage. I would like to e.g. isolate code for revlog-based repositories from other backends from generic, storage-agnostic code. Right now, it's definitely easier to keep things in `localrepo.py` until we're closer to that future world. But a few more series like this and we may be close enough...
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D4576
To: indygreg, #hg-reviewers
Cc: durin42, mercurial-devel
More information about the Mercurial-devel
mailing list