comparison tests/test-discovery-obshashrange.t @ 4076:f9a850018daa mercurial-4.4

test-compat: merge mercurial-4.5 into mercurial-4.4
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 03 Sep 2018 22:06:12 +0200
parents fc065ec30351 dc247e648f43
children 9c025ec4af88 e268f7fd7839
comparison
equal deleted inserted replaced
4032:fc065ec30351 4076:f9a850018daa
1070 1 66f7d451a68b 1 1 2 327c7dd73d29 1070 1 66f7d451a68b 1 1 2 327c7dd73d29
1071 4 bebd167eb94d 4 1 5 42574a82229f 1071 4 bebd167eb94d 4 1 5 42574a82229f
1072 5 c8d03c1b5e94 5 1 6 446c2dc3bce5 1072 5 c8d03c1b5e94 5 1 6 446c2dc3bce5
1073 6 f69452c5b1af 6 1 7 000000000000 1073 6 f69452c5b1af 6 1 7 000000000000
1074 1074
1075 Cache warming capabilities
1076 --------------------------
1077
1078 $ hg config experimental.obshashrange
1079 1
1080 $ hg config experimental.obshashrange.warm-cache
1081 [1]
1082 $ hg debugupdatecache
1083 $ ls -1 .hg/cache/evoext*
1084 .hg/cache/evoext-depthcache-00
1085 .hg/cache/evoext-firstmerge-00
1086 .hg/cache/evoext-obscache-00
1087 .hg/cache/evoext-stablesortcache-00
1088 .hg/cache/evoext_obshashrange_v2.sqlite
1089 .hg/cache/evoext_stablerange_v2.sqlite
1090 $ rm -f .hg/cache/evoext*
1091 $ ls -1 .hg/cache/ | grep evoext
1092 [1]
1093 $ hg debugupdatecache --debug
1094 updating the branch cache
1095 invalid branchheads cache (served): tip differs
1096 $ f -s .hg/cache/evoext*
1097 .hg/cache/evoext-depthcache-00: size=96
1098 .hg/cache/evoext-firstmerge-00: size=96
1099 .hg/cache/evoext-obscache-00: size=73
1100 .hg/cache/evoext-stablesortcache-00: size=100
1101 .hg/cache/evoext_obshashrange_v2.sqlite: size=??* (glob)
1102 .hg/cache/evoext_stablerange_v2.sqlite: size=??* (glob)