( )⚙ D6532 export: don't prefetch *all* files in manifest

This is an archive of the discontinued Mercurial Phabricator instance.

export: don't prefetch *all* files in manifest
ClosedPublic

Authored by martinvonz on Jun 14 2019, 5:27 PM.

Details

Summary

hg export only shows changed files, not all files, but we still
prefetched all files in cmdutil.export(). The same is true for the
other commands calling cmdutil.exportfile(). That meant that `hg
export` with remotefilelog (or lfs, I assume) could take much longer
than expected because it would download all the files in the repo.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Jun 14 2019, 5:27 PM
pulkit accepted this revision.Jun 14 2019, 6:44 PM
This revision is now accepted and ready to land.Jun 14 2019, 6:44 PM
This revision was automatically updated to reflect the committed changes.