Mercurial > hg
diff tests/test-fncache.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 | 25b7c4cb5de1 |
children | f6d37e84d8f9 |
line wrap: on
line diff
--- a/tests/test-fncache.t Fri Nov 23 06:09:44 2018 +0100 +++ b/tests/test-fncache.t Thu Nov 15 17:08:23 2018 +0100 @@ -88,9 +88,6 @@ .hg/00manifest.i .hg/cache .hg/cache/branch2-served - .hg/cache/checkisexec (execbit !) - .hg/cache/checklink (symlink !) - .hg/cache/checklink-target (symlink !) .hg/cache/manifestfulltextcache (reporevlogstore !) .hg/cache/rbc-names-v1 .hg/cache/rbc-revs-v1 @@ -110,6 +107,10 @@ .hg/undo.desc .hg/undo.dirstate .hg/undo.phaseroots + .hg/wcache + .hg/wcache/checkisexec + .hg/wcache/checklink + .hg/wcache/checklink-target $ cd .. Non fncache repo: @@ -125,9 +126,6 @@ .hg/00changelog.i .hg/cache .hg/cache/branch2-served - .hg/cache/checkisexec (execbit !) - .hg/cache/checklink (symlink !) - .hg/cache/checklink-target (symlink !) .hg/cache/manifestfulltextcache (reporevlogstore !) .hg/cache/rbc-names-v1 .hg/cache/rbc-revs-v1 @@ -150,6 +148,10 @@ .hg/undo.branch .hg/undo.desc .hg/undo.dirstate + .hg/wcache + .hg/wcache/checkisexec + .hg/wcache/checklink + .hg/wcache/checklink-target $ cd .. Encoding of reserved / long paths in the store