This is an archive of the discontinued Mercurial Phabricator instance.

changegroup: populate _clnodetorev as part of changelog linknode lookup
ClosedPublic

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

Details

Summary

The thing that matters is that self._clnodetorev is populated with
changesets that are being sent. Back when this code was in an
extension, it wasn't possible to monkeypatch the changelog lookup
function. Now that the code is in core, we can move this code to
where it logically belongs.

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.