This is an archive of the discontinued Mercurial Phabricator instance.

copies: inline _computenonoverlap() in mergecopies()
ClosedPublic

Authored by martinvonz on Apr 16 2019, 1:17 PM.

Details

Summary

We now call pathcopies() from the base to each of the commits, and
that calls _computeforwardmissing(), which does file prefetching (in
the remotefilelog override). So the call to _computenonoverlap() is
now pointless (the sets of files from _computenonoverlap() are subsets
of the sets of files from _computeforwardmissing()).

This somehow also fixes a broken remotefilelog test.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Apr 16 2019, 1:17 PM
martinvonz edited the summary of this revision. (Show Details)Apr 16 2019, 1:55 PM
martinvonz updated this revision to Diff 14785.
martinvonz updated this revision to Diff 14810.Apr 17 2019, 6:06 PM
martinvonz updated this revision to Diff 14944.Apr 28 2019, 3:00 AM
martinvonz updated this revision to Diff 14965.Apr 29 2019, 6:52 PM
This revision was automatically updated to reflect the committed changes.