This is an archive of the discontinued Mercurial Phabricator instance.

test-treemanifest-prefetch: use shallow repo for testing
AbandonedPublic

Authored by singhsrb on Nov 7 2017, 7:37 PM.
Tags
None
Subscribers

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

hg prefetchtrees would soon be merged into the command hg prefetch
which would also prefetch files along with the trees. However, that would
require that we use a shallow repo instead. This commit modifies the test to
use a shallow repo to setup nicely for that change.

Test Plan

Ran all the tests.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

singhsrb created this revision.Nov 7 2017, 7:37 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptNov 7 2017, 7:37 PM
durham added a subscriber: durham.Nov 9 2017, 12:18 PM

Does this mean the new prefetch won't work if remotefilelog is not enabled? Can't we just have it not prefetch the files if it's not enabled?

We can certainly do that! I think that's a better idea.

singhsrb abandoned this revision.Nov 14 2017, 3:46 PM

See D1417 instead.