D4710: lfs: add repository feature denoting the use of LFS
yuja (Yuya Nishihara)
phabricator at mercurial-scm.org
Fri Sep 28 21:56:13 EDT 2018
yuja added a comment.
> + 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.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D4710
To: indygreg, #hg-reviewers, mharbison72
Cc: yuja, mharbison72, mercurial-devel
More information about the Mercurial-devel
mailing list