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
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to