( )⚙ D4196 changegroup: make _revisiondeltanarrow() a standalone function

This is an archive of the discontinued Mercurial Phabricator instance.

changegroup: make _revisiondeltanarrow() a standalone function
ClosedPublic

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

Details

Summary

It doesn't require any state on the packer. Everything impacting
behavior is passed in as a function. So split it out, just like
what was done for _revisiondeltanormal().

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

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