Whether LFS is enabled seems like a useful feature to expose. This
will also facilitate some future work around LFS feature compatibility.
Details
- Reviewers
mharbison72 - Group Reviewers
hg-reviewers - Commits
- rHG1f7b3b980af8: lfs: add repository feature denoting the use of LFS
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Is it worth doing this with largefiles too? (I can follow up when this settles out- I just wasn't sure what particular future work you had in mind, since the autoload on requires works without it.)
Probably.
I wasn't planning on touching largefiles too much because to this point, it hasn't gotten in the way of my storage refactorings :)
LOL. Fair enough. I'm not worried about trying to make it as nice as LFS, I'm just testing my understanding of the planned changes.
+ wrapfunction(localrepo, 'makefilestorage', wrapper.localrepomakefilestorage)
As I pointed out before, makefilestorage can't be wrapped in this way
because it's captured as REPO_INTERFACES[1][1] earlier. The easiest
workaround I can think of is to wrap the reference in REPO_INTERFACES
with lambda, so the makefilestorage is looked up by name every time.