comparison tests/test-server-view.t @ 42712:cdf0e9523de1

branchmap: explicitly warm+write all subsets of the branchmap caches 'full' claims it will warm all of the caches that are known about, but this was not the case - it did not actually warm the branchmap caches for subsets that we haven't requested, or for subsets that are still considered "valid". By explicitly writing them to disk, we can force the subsets for ex: "served" to be written ("immutable" and "base"), making it cheaper to calculate "served" the next time it needs to be updated. Differential Revision: https://phab.mercurial-scm.org/D6710
author Kyle Lippincott <spectral@google.com>
date Mon, 05 Aug 2019 13:31:12 -0700
parents 32338e27bb9d
children d24573181003
comparison
equal deleted inserted replaced
42711:53c07f08fea1 42712:cdf0e9523de1
48 summary: r0 48 summary: r0
49 49
50 $ hg -R test --config experimental.extra-filter-revs='not public()' debugupdatecache 50 $ hg -R test --config experimental.extra-filter-revs='not public()' debugupdatecache
51 $ ls -1 test/.hg/cache/ 51 $ ls -1 test/.hg/cache/
52 branch2-base%89c45d2fa07e 52 branch2-base%89c45d2fa07e
53 branch2-immutable%89c45d2fa07e
53 branch2-served 54 branch2-served
55 branch2-served%89c45d2fa07e
56 branch2-served.hidden%89c45d2fa07e
57 branch2-visible%89c45d2fa07e
58 branch2-visible-hidden%89c45d2fa07e
54 hgtagsfnodes1 59 hgtagsfnodes1
55 rbc-names-v1 60 rbc-names-v1
56 rbc-revs-v1 61 rbc-revs-v1
57 tags2 62 tags2
58 tags2-served%89c45d2fa07e 63 tags2-served%89c45d2fa07e