This is an archive of the discontinued Mercurial Phabricator instance.

metadata: filter the `removed` set to only contains relevant data
ClosedPublic

Authored by marmoute on May 27 2020, 9:17 AM.

Details

Summary

The files entry can be bogus and contains too many entries. This can badly
combines with the computation of removed inflating the set size. The can lead
to the changesets centric rename computation to process much more data than
needed, slowing it down (and increasing space taken by data storage).

In practice newer commits already that reduced set, this applies this "fix" to
older changeset.

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

marmoute created this revision.May 27 2020, 9:17 AM
durin42 accepted this revision.May 28 2020, 11:38 AM
This revision is now accepted and ready to land.May 28 2020, 11:38 AM
marmoute updated this revision to Diff 21547.Jun 2 2020, 6:48 AM
pulkit accepted this revision.Jun 9 2020, 5:45 AM