##// END OF EJS Templates
manifestcache: use `wcache` directory for manifest cache...
marmoute -
r42131:e4ac7e63 default
parent child Browse files
Show More
@@ -1438,7 +1438,7 b' class manifestrevlog(object):'
1438 if not util.safehasattr(repo, '_wlockref'):
1438 if not util.safehasattr(repo, '_wlockref'):
1439 return
1439 return
1440
1440
1441 self._fulltextcache._opener = repo.cachevfs
1441 self._fulltextcache._opener = repo.wcachevfs
1442 if repo._currentlock(repo._wlockref) is None:
1442 if repo._currentlock(repo._wlockref) is None:
1443 return
1443 return
1444
1444
@@ -43,7 +43,6 b' Trigger branchcache creation:'
43 default 10:a7949464abda
43 default 10:a7949464abda
44 $ ls .hg/cache
44 $ ls .hg/cache
45 branch2-served
45 branch2-served
46 manifestfulltextcache (reporevlogstore !)
47 rbc-names-v1
46 rbc-names-v1
48 rbc-revs-v1
47 rbc-revs-v1
49
48
@@ -58,7 +57,6 b' Ensure branchcache got copied over:'
58
57
59 $ ls .hg/cache
58 $ ls .hg/cache
60 branch2-served
59 branch2-served
61 manifestfulltextcache
62 rbc-names-v1
60 rbc-names-v1
63 rbc-revs-v1
61 rbc-revs-v1
64
62
@@ -545,7 +545,6 b' Test cache warming command'
545 .hg/cache/tags2
545 .hg/cache/tags2
546 .hg/cache/rbc-revs-v1
546 .hg/cache/rbc-revs-v1
547 .hg/cache/rbc-names-v1
547 .hg/cache/rbc-names-v1
548 .hg/cache/manifestfulltextcache (reporevlogstore !)
549 .hg/cache/branch2-served
548 .hg/cache/branch2-served
550
549
551 Test debugcolor
550 Test debugcolor
@@ -88,7 +88,6 b' Non store repo:'
88 .hg/00manifest.i
88 .hg/00manifest.i
89 .hg/cache
89 .hg/cache
90 .hg/cache/branch2-served
90 .hg/cache/branch2-served
91 .hg/cache/manifestfulltextcache (reporevlogstore !)
92 .hg/cache/rbc-names-v1
91 .hg/cache/rbc-names-v1
93 .hg/cache/rbc-revs-v1
92 .hg/cache/rbc-revs-v1
94 .hg/data
93 .hg/data
@@ -111,6 +110,7 b' Non store repo:'
111 .hg/wcache/checkisexec (execbit !)
110 .hg/wcache/checkisexec (execbit !)
112 .hg/wcache/checklink (symlink !)
111 .hg/wcache/checklink (symlink !)
113 .hg/wcache/checklink-target (symlink !)
112 .hg/wcache/checklink-target (symlink !)
113 .hg/wcache/manifestfulltextcache (reporevlogstore !)
114 $ cd ..
114 $ cd ..
115
115
116 Non fncache repo:
116 Non fncache repo:
@@ -126,7 +126,6 b' Non fncache repo:'
126 .hg/00changelog.i
126 .hg/00changelog.i
127 .hg/cache
127 .hg/cache
128 .hg/cache/branch2-served
128 .hg/cache/branch2-served
129 .hg/cache/manifestfulltextcache (reporevlogstore !)
130 .hg/cache/rbc-names-v1
129 .hg/cache/rbc-names-v1
131 .hg/cache/rbc-revs-v1
130 .hg/cache/rbc-revs-v1
132 .hg/dirstate
131 .hg/dirstate
@@ -152,6 +151,7 b' Non fncache repo:'
152 .hg/wcache/checkisexec (execbit !)
151 .hg/wcache/checkisexec (execbit !)
153 .hg/wcache/checklink (symlink !)
152 .hg/wcache/checklink (symlink !)
154 .hg/wcache/checklink-target (symlink !)
153 .hg/wcache/checklink-target (symlink !)
154 .hg/wcache/manifestfulltextcache (reporevlogstore !)
155 $ cd ..
155 $ cd ..
156
156
157 Encoding of reserved / long paths in the store
157 Encoding of reserved / long paths in the store
@@ -239,7 +239,6 b' r4 has hardlinks in the working dir (not'
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
@@ -268,6 +267,7 b' r4 has hardlinks in the working dir (not'
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
@@ -290,7 +290,6 b' Update back to revision 12 in r4 should '
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
@@ -319,6 +318,7 b' Update back to revision 12 in r4 should '
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
@@ -71,7 +71,6 b' new directories are setgid'
71 00600 ./.hg/00changelog.i
71 00600 ./.hg/00changelog.i
72 00770 ./.hg/cache/
72 00770 ./.hg/cache/
73 00660 ./.hg/cache/branch2-served
73 00660 ./.hg/cache/branch2-served
74 00660 ./.hg/cache/manifestfulltextcache (reporevlogstore !)
75 00660 ./.hg/cache/rbc-names-v1
74 00660 ./.hg/cache/rbc-names-v1
76 00660 ./.hg/cache/rbc-revs-v1
75 00660 ./.hg/cache/rbc-revs-v1
77 00660 ./.hg/dirstate
76 00660 ./.hg/dirstate
@@ -105,6 +104,7 b' new directories are setgid'
105 00711 ./.hg/wcache/checkisexec
104 00711 ./.hg/wcache/checkisexec
106 007.. ./.hg/wcache/checklink (re)
105 007.. ./.hg/wcache/checklink (re)
107 00600 ./.hg/wcache/checklink-target
106 00600 ./.hg/wcache/checklink-target
107 00660 ./.hg/wcache/manifestfulltextcache (reporevlogstore !)
108 00700 ./dir/
108 00700 ./dir/
109 00600 ./dir/bar
109 00600 ./dir/bar
110 00600 ./foo
110 00600 ./foo
@@ -34,9 +34,9 b" share shouldn't have a full cache dir, o"
34 checkisexec (execbit !)
34 checkisexec (execbit !)
35 checklink (symlink !)
35 checklink (symlink !)
36 checklink-target (symlink !)
36 checklink-target (symlink !)
37 manifestfulltextcache (reporevlogstore !)
37 $ ls -1 ../repo1/.hg/cache
38 $ ls -1 ../repo1/.hg/cache
38 branch2-served
39 branch2-served
39 manifestfulltextcache (reporevlogstore !)
40 rbc-names-v1
40 rbc-names-v1
41 rbc-revs-v1
41 rbc-revs-v1
42 tags2-visible
42 tags2-visible
@@ -1264,6 +1264,7 b' Check that share works with subrepo'
1264 ../shared/subrepo-2/.hg/wcache/checkisexec (execbit !)
1264 ../shared/subrepo-2/.hg/wcache/checkisexec (execbit !)
1265 ../shared/subrepo-2/.hg/wcache/checklink (symlink !)
1265 ../shared/subrepo-2/.hg/wcache/checklink (symlink !)
1266 ../shared/subrepo-2/.hg/wcache/checklink-target (symlink !)
1266 ../shared/subrepo-2/.hg/wcache/checklink-target (symlink !)
1267 ../shared/subrepo-2/.hg/wcache/manifestfulltextcache (reporevlogstore !)
1267 ../shared/subrepo-2/file
1268 ../shared/subrepo-2/file
1268 $ hg -R ../shared in
1269 $ hg -R ../shared in
1269 abort: repository default not found!
1270 abort: repository default not found!
General Comments 0
You need to be logged in to leave comments. Login now