localrepo: capture repo interface factory functions as lambas...
localrepo: capture repo interface factory functions as lambas
Previously, the list would hold a reference to the original function
and attempting to wrap the module function via extension wouldn't
result in the wrapped function being called, completely undermining
the expected behavior.
Differential Revision:
https://phab.mercurial-scm.org/D4821