##// END OF EJS Templates
rev-branch-cache: have debugupdatecache warm rbc too...
marmoute -
r52802:e51161b1 default
parent child Browse files
Show More
@@ -82,6 +82,7 CACHES_ALL = {
82 CACHE_BRANCHMAP_SERVED,
82 CACHE_BRANCHMAP_SERVED,
83 CACHE_BRANCHMAP_ALL,
83 CACHE_BRANCHMAP_ALL,
84 CACHE_BRANCHMAP_DETECT_PURE_TOPO,
84 CACHE_BRANCHMAP_DETECT_PURE_TOPO,
85 CACHE_REV_BRANCH,
85 CACHE_CHANGELOG_CACHE,
86 CACHE_CHANGELOG_CACHE,
86 CACHE_FILE_NODE_TAGS,
87 CACHE_FILE_NODE_TAGS,
87 CACHE_FULL_MANIFEST,
88 CACHE_FULL_MANIFEST,
@@ -920,6 +920,18 Write operation write a full v2 files
920 .hg/cache/rbc-revs-v1: size=160
920 .hg/cache/rbc-revs-v1: size=160
921 .hg/cache/rbc-revs-v2: size=168
921 .hg/cache/rbc-revs-v2: size=168
922
922
923 So does explicit cache upgrade
924 $ mv .hg/cache/rbc-names-v2 .hg/cache/rbc-names-v1
925 $ mv .hg/cache/rbc-revs-v2 .hg/cache/rbc-revs-v1
926 $ f --size .hg/cache/rbc-*
927 .hg/cache/rbc-names-v1: size=110
928 .hg/cache/rbc-revs-v1: size=168
929 $ hg debugupdatecache
930 $ f --size .hg/cache/rbc-*
931 .hg/cache/rbc-names-v1: size=110
932 .hg/cache/rbc-names-v2: size=110
933 .hg/cache/rbc-revs-v1: size=168
934 .hg/cache/rbc-revs-v2: size=168
923
935
924 With invalid v1 data, we rewrite it too (as v2)
936 With invalid v1 data, we rewrite it too (as v2)
925
937
General Comments 0
You need to be logged in to leave comments. Login now