comparison tests/test-hardlinks.t @ 41965:e4ac7e63c213

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`.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 14 Mar 2019 00:40:11 +0000
parents d121823072b8
children 95a615dd77bf
comparison
equal deleted inserted replaced
41964:d121823072b8 41965:e4ac7e63c213
237 $ nlinksdir r4 237 $ nlinksdir r4
238 2 r4/.hg/00changelog.i 238 2 r4/.hg/00changelog.i
239 2 r4/.hg/branch 239 2 r4/.hg/branch
240 2 r4/.hg/cache/branch2-base 240 2 r4/.hg/cache/branch2-base
241 2 r4/.hg/cache/branch2-served 241 2 r4/.hg/cache/branch2-served
242 2 r4/.hg/cache/manifestfulltextcache (reporevlogstore !)
243 2 r4/.hg/cache/rbc-names-v1 242 2 r4/.hg/cache/rbc-names-v1
244 2 r4/.hg/cache/rbc-revs-v1 243 2 r4/.hg/cache/rbc-revs-v1
245 2 r4/.hg/dirstate 244 2 r4/.hg/dirstate
246 2 r4/.hg/fsmonitor.state (fsmonitor !) 245 2 r4/.hg/fsmonitor.state (fsmonitor !)
247 2 r4/.hg/hgrc 246 2 r4/.hg/hgrc
266 2 r4/.hg/undo.desc 265 2 r4/.hg/undo.desc
267 [24] r4/\.hg/undo\.dirstate (re) 266 [24] r4/\.hg/undo\.dirstate (re)
268 2 r4/.hg/wcache/checkisexec (execbit !) 267 2 r4/.hg/wcache/checkisexec (execbit !)
269 2 r4/.hg/wcache/checklink-target (symlink !) 268 2 r4/.hg/wcache/checklink-target (symlink !)
270 2 r4/.hg/wcache/checknoexec (execbit !) 269 2 r4/.hg/wcache/checknoexec (execbit !)
270 2 r4/.hg/wcache/manifestfulltextcache (reporevlogstore !)
271 2 r4/d1/data1 271 2 r4/d1/data1
272 2 r4/d1/f2 272 2 r4/d1/f2
273 2 r4/f1 273 2 r4/f1
274 2 r4/f3 274 2 r4/f3
275 275
288 $ nlinksdir r4 288 $ nlinksdir r4
289 2 r4/.hg/00changelog.i 289 2 r4/.hg/00changelog.i
290 1 r4/.hg/branch 290 1 r4/.hg/branch
291 2 r4/.hg/cache/branch2-base 291 2 r4/.hg/cache/branch2-base
292 2 r4/.hg/cache/branch2-served 292 2 r4/.hg/cache/branch2-served
293 1 r4/.hg/cache/manifestfulltextcache (reporevlogstore !)
294 2 r4/.hg/cache/rbc-names-v1 293 2 r4/.hg/cache/rbc-names-v1
295 2 r4/.hg/cache/rbc-revs-v1 294 2 r4/.hg/cache/rbc-revs-v1
296 1 r4/.hg/dirstate 295 1 r4/.hg/dirstate
297 1 r4/.hg/fsmonitor.state (fsmonitor !) 296 1 r4/.hg/fsmonitor.state (fsmonitor !)
298 2 r4/.hg/hgrc 297 2 r4/.hg/hgrc
317 2 r4/.hg/undo.desc 316 2 r4/.hg/undo.desc
318 [24] r4/\.hg/undo\.dirstate (re) 317 [24] r4/\.hg/undo\.dirstate (re)
319 2 r4/.hg/wcache/checkisexec (execbit !) 318 2 r4/.hg/wcache/checkisexec (execbit !)
320 2 r4/.hg/wcache/checklink-target (symlink !) 319 2 r4/.hg/wcache/checklink-target (symlink !)
321 2 r4/.hg/wcache/checknoexec (execbit !) 320 2 r4/.hg/wcache/checknoexec (execbit !)
321 1 r4/.hg/wcache/manifestfulltextcache (reporevlogstore !)
322 2 r4/d1/data1 322 2 r4/d1/data1
323 2 r4/d1/f2 323 2 r4/d1/f2
324 1 r4/f1 324 1 r4/f1
325 1 r4/f3 (execbit !) 325 1 r4/f3 (execbit !)
326 2 r4/f3 (no-execbit !) 326 2 r4/f3 (no-execbit !)