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`.
Showing
- mercurial/manifest.py 1 addition, 1 deletionmercurial/manifest.py
- tests/test-clone.t 0 additions, 2 deletionstests/test-clone.t
- tests/test-debugcommands.t 0 additions, 1 deletiontests/test-debugcommands.t
- tests/test-fncache.t 2 additions, 2 deletionstests/test-fncache.t
- tests/test-hardlinks.t 2 additions, 2 deletionstests/test-hardlinks.t
- tests/test-inherit-mode.t 1 addition, 1 deletiontests/test-inherit-mode.t
- tests/test-share.t 1 addition, 1 deletiontests/test-share.t
- tests/test-subrepo.t 1 addition, 0 deletionstests/test-subrepo.t
Loading
Please register or sign in to comment