This is an archive of the discontinued Mercurial Phabricator instance.

changegroup: inline _revchunk() into group()
ClosedPublic

Authored by indygreg on Aug 6 2018, 3:51 PM.

Details

Summary

_revchunk() was pretty minimal. I think having all the code for
generating data composing the changegroup in one function makes
things easier to understand.

As part of the refactor, we now call the _revisiondelta* functions
explicitly. This paves the road to refactor their argument
signatures.

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 6 2018, 3:51 PM
This revision was automatically updated to reflect the committed changes.