( )⚙ D4199 changegroup: inline _prune() into call sites

This is an archive of the discontinued Mercurial Phabricator instance.

changegroup: inline _prune() into call sites
ClosedPublic

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

Details

Summary

The functionality is pretty simple. As a bonus, _prune() had special
code for the manifest case. We can now exclude this check from the
file call site.

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:52 PM
This revision was automatically updated to reflect the committed changes.