Mercurial > hg
diff tests/test-inherit-mode.t @ 40792:47e3f554df35
check-exec: write file in 'wcache' instead of 'cache'
Some cache are relevant or affected by the working copy used. So the `.hg/cache`
directory is not the best place for them because multiple shared repository can
end up fighting over them.
To address this issue, we introduce a new 'wcache' directory to host this kind
of cache.
The first user are the `checkisexec` type file. These files describe property of
the working copy and fit the use-case well.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 15 Nov 2018 17:08:23 +0100 |
parents | bd0874977a5e |
children | 64cdfcc73706 |
line wrap: on
line diff
--- a/tests/test-inherit-mode.t Fri Nov 23 06:09:44 2018 +0100 +++ b/tests/test-inherit-mode.t Thu Nov 15 17:08:23 2018 +0100 @@ -69,9 +69,6 @@ 00600 ./.hg/00changelog.i 00770 ./.hg/cache/ 00660 ./.hg/cache/branch2-served - 00711 ./.hg/cache/checkisexec - 00777 ./.hg/cache/checklink - 00600 ./.hg/cache/checklink-target 00660 ./.hg/cache/manifestfulltextcache (reporevlogstore !) 00660 ./.hg/cache/rbc-names-v1 00660 ./.hg/cache/rbc-revs-v1 @@ -102,6 +99,10 @@ 00660 ./.hg/undo.branch 00660 ./.hg/undo.desc 00660 ./.hg/undo.dirstate + 00770 ./.hg/wcache/ + 00711 ./.hg/wcache/checkisexec + 00777 ./.hg/wcache/checklink + 00600 ./.hg/wcache/checklink-target 00700 ./dir/ 00600 ./dir/bar 00600 ./foo