Comments
Patch
@@ -1438,7 +1438,7 @@ class manifestrevlog(object):
if not util.safehasattr(repo, '_wlockref'):
return
- self._fulltextcache._opener = repo.cachevfs
+ self._fulltextcache._opener = repo.wcachevfs
if repo._currentlock(repo._wlockref) is None:
return
@@ -43,7 +43,6 @@ Trigger branchcache creation:
default 10:a7949464abda
$ ls .hg/cache
branch2-served
- manifestfulltextcache (reporevlogstore !)
rbc-names-v1
rbc-revs-v1
@@ -58,7 +57,6 @@ Ensure branchcache got copied over:
$ ls .hg/cache
branch2-served
- manifestfulltextcache
rbc-names-v1
rbc-revs-v1
@@ -545,7 +545,6 @@ Test cache warming command
.hg/cache/tags2
.hg/cache/rbc-revs-v1
.hg/cache/rbc-names-v1
- .hg/cache/manifestfulltextcache (reporevlogstore !)
.hg/cache/branch2-served
Test debugcolor
@@ -88,7 +88,6 @@ Non store repo:
.hg/00manifest.i
.hg/cache
.hg/cache/branch2-served
- .hg/cache/manifestfulltextcache (reporevlogstore !)
.hg/cache/rbc-names-v1
.hg/cache/rbc-revs-v1
.hg/data
@@ -111,6 +110,7 @@ Non store repo:
.hg/wcache/checkisexec (execbit !)
.hg/wcache/checklink (symlink !)
.hg/wcache/checklink-target (symlink !)
+ .hg/wcache/manifestfulltextcache (reporevlogstore !)
$ cd ..
Non fncache repo:
@@ -126,7 +126,6 @@ Non fncache repo:
.hg/00changelog.i
.hg/cache
.hg/cache/branch2-served
- .hg/cache/manifestfulltextcache (reporevlogstore !)
.hg/cache/rbc-names-v1
.hg/cache/rbc-revs-v1
.hg/dirstate
@@ -152,6 +151,7 @@ Non fncache repo:
.hg/wcache/checkisexec (execbit !)
.hg/wcache/checklink (symlink !)
.hg/wcache/checklink-target (symlink !)
+ .hg/wcache/manifestfulltextcache (reporevlogstore !)
$ cd ..
Encoding of reserved / long paths in the store
@@ -239,7 +239,6 @@ r4 has hardlinks in the working dir (not
2 r4/.hg/branch
2 r4/.hg/cache/branch2-base
2 r4/.hg/cache/branch2-served
- 2 r4/.hg/cache/manifestfulltextcache (reporevlogstore !)
2 r4/.hg/cache/rbc-names-v1
2 r4/.hg/cache/rbc-revs-v1
2 r4/.hg/dirstate
@@ -268,6 +267,7 @@ r4 has hardlinks in the working dir (not
2 r4/.hg/wcache/checkisexec (execbit !)
2 r4/.hg/wcache/checklink-target (symlink !)
2 r4/.hg/wcache/checknoexec (execbit !)
+ 2 r4/.hg/wcache/manifestfulltextcache (reporevlogstore !)
2 r4/d1/data1
2 r4/d1/f2
2 r4/f1
@@ -290,7 +290,6 @@ Update back to revision 12 in r4 should
1 r4/.hg/branch
2 r4/.hg/cache/branch2-base
2 r4/.hg/cache/branch2-served
- 1 r4/.hg/cache/manifestfulltextcache (reporevlogstore !)
2 r4/.hg/cache/rbc-names-v1
2 r4/.hg/cache/rbc-revs-v1
1 r4/.hg/dirstate
@@ -319,6 +318,7 @@ Update back to revision 12 in r4 should
2 r4/.hg/wcache/checkisexec (execbit !)
2 r4/.hg/wcache/checklink-target (symlink !)
2 r4/.hg/wcache/checknoexec (execbit !)
+ 1 r4/.hg/wcache/manifestfulltextcache (reporevlogstore !)
2 r4/d1/data1
2 r4/d1/f2
1 r4/f1
@@ -71,7 +71,6 @@ new directories are setgid
00600 ./.hg/00changelog.i
00770 ./.hg/cache/
00660 ./.hg/cache/branch2-served
- 00660 ./.hg/cache/manifestfulltextcache (reporevlogstore !)
00660 ./.hg/cache/rbc-names-v1
00660 ./.hg/cache/rbc-revs-v1
00660 ./.hg/dirstate
@@ -105,6 +104,7 @@ new directories are setgid
00711 ./.hg/wcache/checkisexec
007.. ./.hg/wcache/checklink (re)
00600 ./.hg/wcache/checklink-target
+ 00660 ./.hg/wcache/manifestfulltextcache (reporevlogstore !)
00700 ./dir/
00600 ./dir/bar
00600 ./foo
@@ -34,9 +34,9 @@ share shouldn't have a full cache dir, o
checkisexec (execbit !)
checklink (symlink !)
checklink-target (symlink !)
+ manifestfulltextcache (reporevlogstore !)
$ ls -1 ../repo1/.hg/cache
branch2-served
- manifestfulltextcache (reporevlogstore !)
rbc-names-v1
rbc-revs-v1
tags2-visible
@@ -1264,6 +1264,7 @@ Check that share works with subrepo
../shared/subrepo-2/.hg/wcache/checkisexec (execbit !)
../shared/subrepo-2/.hg/wcache/checklink (symlink !)
../shared/subrepo-2/.hg/wcache/checklink-target (symlink !)
+ ../shared/subrepo-2/.hg/wcache/manifestfulltextcache (reporevlogstore !)
../shared/subrepo-2/file
$ hg -R ../shared in
abort: repository default not found!