Mercurial > hg
diff tests/test-share.t @ 41965:e4ac7e63c213
manifestcache: use `wcache` directory for manifest cache
The manifest full text cache is tightly related to the working copy. We should
use the `wcache` directory for it, instead of the `cache`. Otherwise, multiple
shares would keep overwriting each other cache entry and we loose its benefit.
This is also more consistent with the fact this cache file is protected by
`wlock`.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 14 Mar 2019 00:40:11 +0000 |
parents | e82c932c01e3 |
children | 81ece800576a |
line wrap: on
line diff
--- a/tests/test-share.t Fri Mar 15 15:07:43 2019 +0000 +++ b/tests/test-share.t Thu Mar 14 00:40:11 2019 +0000 @@ -34,9 +34,9 @@ checkisexec (execbit !) checklink (symlink !) checklink-target (symlink !) + manifestfulltextcache (reporevlogstore !) $ ls -1 ../repo1/.hg/cache branch2-served - manifestfulltextcache (reporevlogstore !) rbc-names-v1 rbc-revs-v1 tags2-visible