Mercurial > public > mercurial-scm > hg-stable
diff tests/test-subrepo.t @ 41970: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 | 980e05204ed8 |
children | db26dbbee74d |
line wrap: on
line diff
--- a/tests/test-subrepo.t Fri Mar 15 15:07:43 2019 +0000 +++ b/tests/test-subrepo.t Thu Mar 14 00:40:11 2019 +0000 @@ -1264,6 +1264,7 @@ ../shared/subrepo-2/.hg/wcache/checkisexec (execbit !) ../shared/subrepo-2/.hg/wcache/checklink (symlink !) ../shared/subrepo-2/.hg/wcache/checklink-target (symlink !) + ../shared/subrepo-2/.hg/wcache/manifestfulltextcache (reporevlogstore !) ../shared/subrepo-2/file $ hg -R ../shared in abort: repository default not found!