comparison tests/test-subrepo.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 69d4c8c5c25e
children d5622dfe4ba3
comparison
equal deleted inserted replaced
40786:74a9f428227e 40792:47e3f554df35
1244 ../shared/subrepo-1/.hg/sharedpath 1244 ../shared/subrepo-1/.hg/sharedpath
1245 ../shared/subrepo-2 1245 ../shared/subrepo-2
1246 ../shared/subrepo-2/.hg 1246 ../shared/subrepo-2/.hg
1247 ../shared/subrepo-2/.hg/branch 1247 ../shared/subrepo-2/.hg/branch
1248 ../shared/subrepo-2/.hg/cache 1248 ../shared/subrepo-2/.hg/cache
1249 ../shared/subrepo-2/.hg/cache/checkisexec (execbit !)
1250 ../shared/subrepo-2/.hg/cache/checklink (symlink !)
1251 ../shared/subrepo-2/.hg/cache/checklink-target (symlink !)
1252 ../shared/subrepo-2/.hg/cache/storehash 1249 ../shared/subrepo-2/.hg/cache/storehash
1253 ../shared/subrepo-2/.hg/cache/storehash/* (glob) 1250 ../shared/subrepo-2/.hg/cache/storehash/* (glob)
1254 ../shared/subrepo-2/.hg/dirstate 1251 ../shared/subrepo-2/.hg/dirstate
1255 ../shared/subrepo-2/.hg/hgrc 1252 ../shared/subrepo-2/.hg/hgrc
1256 ../shared/subrepo-2/.hg/requires 1253 ../shared/subrepo-2/.hg/requires
1257 ../shared/subrepo-2/.hg/sharedpath 1254 ../shared/subrepo-2/.hg/sharedpath
1255 ../shared/subrepo-2/.hg/wcache
1256 ../shared/subrepo-2/.hg/wcache/checkisexec
1257 ../shared/subrepo-2/.hg/wcache/checklink
1258 ../shared/subrepo-2/.hg/wcache/checklink-target
1258 ../shared/subrepo-2/file 1259 ../shared/subrepo-2/file
1259 $ hg -R ../shared in 1260 $ hg -R ../shared in
1260 abort: repository default not found! 1261 abort: repository default not found!
1261 [255] 1262 [255]
1262 $ hg -R ../shared/subrepo-2 showconfig paths 1263 $ hg -R ../shared/subrepo-2 showconfig paths