( )⚙ D4821 localrepo: capture repo interface factory functions as lambas

This is an archive of the discontinued Mercurial Phabricator instance.

localrepo: capture repo interface factory functions as lambas
ClosedPublic

Authored by indygreg on Oct 1 2018, 12:18 PM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Oct 1 2018, 12:18 PM
This revision was automatically updated to reflect the committed changes.