Mercurial > public > mercurial-scm > hg-stable
diff tests/test-subrepo.t @ 40821: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 | 69d4c8c5c25e |
children | d5622dfe4ba3 |
line wrap: on
line diff
--- a/tests/test-subrepo.t Fri Nov 23 06:09:44 2018 +0100 +++ b/tests/test-subrepo.t Thu Nov 15 17:08:23 2018 +0100 @@ -1246,15 +1246,16 @@ ../shared/subrepo-2/.hg ../shared/subrepo-2/.hg/branch ../shared/subrepo-2/.hg/cache - ../shared/subrepo-2/.hg/cache/checkisexec (execbit !) - ../shared/subrepo-2/.hg/cache/checklink (symlink !) - ../shared/subrepo-2/.hg/cache/checklink-target (symlink !) ../shared/subrepo-2/.hg/cache/storehash ../shared/subrepo-2/.hg/cache/storehash/* (glob) ../shared/subrepo-2/.hg/dirstate ../shared/subrepo-2/.hg/hgrc ../shared/subrepo-2/.hg/requires ../shared/subrepo-2/.hg/sharedpath + ../shared/subrepo-2/.hg/wcache + ../shared/subrepo-2/.hg/wcache/checkisexec + ../shared/subrepo-2/.hg/wcache/checklink + ../shared/subrepo-2/.hg/wcache/checklink-target ../shared/subrepo-2/file $ hg -R ../shared in abort: repository default not found!