This is an archive of the discontinued Mercurial Phabricator instance.

changegroup: define linknodes callbacks in generatefiles()
ClosedPublic

Authored by indygreg on Aug 9 2018, 2:51 PM.

Details

Summary

This is how it is done everywhere else.

But the logic here is a bit more complex because shallow clone
needs to reference the original linknode implementation. But
at least now all function implementations are defined in the
same place.

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

indygreg created this revision.Aug 9 2018, 2:51 PM
This revision was automatically updated to reflect the committed changes.