Show More
@@ -2095,6 +2095,10 b' class localrepository(object):' | |||||
2095 | for ctx in self['.'].parents(): |
|
2095 | for ctx in self['.'].parents(): | |
2096 | ctx.manifest() # accessing the manifest is enough |
|
2096 | ctx.manifest() # accessing the manifest is enough | |
2097 |
|
2097 | |||
|
2098 | # accessing tags warm the cache | |||
|
2099 | self.tags() | |||
|
2100 | self.filtered('served').tags() | |||
|
2101 | ||||
2098 | def invalidatecaches(self): |
|
2102 | def invalidatecaches(self): | |
2099 |
|
2103 | |||
2100 | if r'_tagscache' in vars(self): |
|
2104 | if r'_tagscache' in vars(self): |
@@ -541,6 +541,8 b' Test cache warming command' | |||||
541 | $ hg debugupdatecaches --debug |
|
541 | $ hg debugupdatecaches --debug | |
542 | updating the branch cache |
|
542 | updating the branch cache | |
543 | $ ls -r .hg/cache/* |
|
543 | $ ls -r .hg/cache/* | |
|
544 | .hg/cache/tags2-served | |||
|
545 | .hg/cache/tags2 | |||
544 | .hg/cache/rbc-revs-v1 |
|
546 | .hg/cache/rbc-revs-v1 | |
545 | .hg/cache/rbc-names-v1 |
|
547 | .hg/cache/rbc-names-v1 | |
546 | .hg/cache/manifestfulltextcache (reporevlogstore !) |
|
548 | .hg/cache/manifestfulltextcache (reporevlogstore !) |
General Comments 0
You need to be logged in to leave comments.
Login now