Show More
@@ -2132,6 +2132,8 b' class localrepository(object):' | |||||
2132 | for ctx in self['.'].parents(): |
|
2132 | for ctx in self['.'].parents(): | |
2133 | ctx.manifest() # accessing the manifest is enough |
|
2133 | ctx.manifest() # accessing the manifest is enough | |
2134 |
|
2134 | |||
|
2135 | # accessing fnode cache warms the cache | |||
|
2136 | tagsmod.fnoderevs(self.ui, unfi, unfi.changelog.revs()) | |||
2135 | # accessing tags warm the cache |
|
2137 | # accessing tags warm the cache | |
2136 | self.tags() |
|
2138 | self.tags() | |
2137 | self.filtered('served').tags() |
|
2139 | self.filtered('served').tags() |
@@ -545,6 +545,7 b' Test cache warming command' | |||||
545 | .hg/cache/tags2 |
|
545 | .hg/cache/tags2 | |
546 | .hg/cache/rbc-revs-v1 |
|
546 | .hg/cache/rbc-revs-v1 | |
547 | .hg/cache/rbc-names-v1 |
|
547 | .hg/cache/rbc-names-v1 | |
|
548 | .hg/cache/hgtagsfnodes1 | |||
548 | .hg/cache/branch2-served |
|
549 | .hg/cache/branch2-served | |
549 |
|
550 | |||
550 | Test debugcolor |
|
551 | Test debugcolor |
@@ -51,6 +51,7 b' Check same result using `experimental.ex' | |||||
51 | $ ls -1 test/.hg/cache/ |
|
51 | $ ls -1 test/.hg/cache/ | |
52 | branch2-base%89c45d2fa07e |
|
52 | branch2-base%89c45d2fa07e | |
53 | branch2-served |
|
53 | branch2-served | |
|
54 | hgtagsfnodes1 | |||
54 | rbc-names-v1 |
|
55 | rbc-names-v1 | |
55 | rbc-revs-v1 |
|
56 | rbc-revs-v1 | |
56 | tags2 |
|
57 | tags2 |
General Comments 0
You need to be logged in to leave comments.
Login now