This is an archive of the discontinued Mercurial Phabricator instance.

changegroup: pass version into constructor
ClosedPublic

Authored by indygreg on Aug 3 2018, 5:04 PM.

Details

Summary

Currently, the version is an attribute on each class. Passing
the argument into the constructor gets us one step closer to
eliminating cg2packer and cg3packer.

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