This is an archive of the discontinued Mercurial Phabricator instance.

changegroup: inline prune() logic from narrow
ClosedPublic

Authored by indygreg on Aug 1 2018, 1:03 PM.

Details

Summary

prune() needs to ellide manifests that aren't part of the narrow
matcher.

The code is violating storage abstractions, so a comment has been
added. Keep in mind the impetus for moving this code to core
is so changegroup code can be refactored to be storage agnostic.

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 1 2018, 1:03 PM

hg import is being annoying again, so can you rebase and update the remainder of the series?

indygreg updated this revision to Diff 9799.Aug 2 2018, 5:15 PM
This revision was automatically updated to reflect the committed changes.