Adding the option to specify the base revision in the prefetch
command. This can useful to limit the prefetch data and also makes the
interface of prefetch consistent with prefetchtrees. Soon, we will merge
prefetch and prefetchtrees into a single command and both commands having a
similar interface is useful for the merging.
Details
Details
- Reviewers
durham - Group Reviewers
Restricted Project - Commits
- rFBHGX7e8247381847: prefetch: add option to specify base revision
Ran all the tests.
Diff Detail
Diff Detail
- Repository
- rFBHGX Facebook Mercurial Extensions
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
tests/test-remotefilelog-prefetch.t | ||
---|---|---|
40 | It might be better to clear the cache (clearcache) then run this command. That will guarantee that it only downloaded the 2 files from commit #1 because you told it to, and not because they were already in the cache. Then we would see downloads while cat'ing 0 x and 0 z. |
tests/test-remotefilelog-prefetch.t | ||
---|---|---|
40 | Makes sense. I will do that! |
It might be better to clear the cache (clearcache) then run this command. That will guarantee that it only downloaded the 2 files from commit #1 because you told it to, and not because they were already in the cache. Then we would see downloads while cat'ing 0 x and 0 z.