This is an archive of the discontinued Mercurial Phabricator instance.

changegroup: move non-pruning of non-ellipsis manifests to _prunemanifests()
ClosedPublic

Authored by martinvonz on Feb 22 2019, 12:31 AM.

Details

Summary

Google has an extension that overrides _prunemanifests() and removes
nodes that we fetch using another mechanism. That broke when
_prunemanifests() no longer got called. It works again if we move the
check for "not self._ellipses" inside _prunemanifests().

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

martinvonz created this revision.Feb 22 2019, 12:31 AM
martinvonz retitled this revision from changegroup: moving non-pruning pf non-ellipsis manifests to _prunemanifests() to changegroup: move non-pruning of non-ellipsis manifests to _prunemanifests().Feb 22 2019, 12:38 AM
pulkit accepted this revision.Feb 22 2019, 6:31 AM
This revision was automatically updated to reflect the committed changes.