Show More
@@ -3012,6 +3012,7 b' def createrepository(ui, path, createopt' | |||
|
3012 | 3012 | hgvfs.makedir(notindexed=True) |
|
3013 | 3013 | if 'sharedrepo' not in createopts: |
|
3014 | 3014 | hgvfs.mkdir(b'cache') |
|
3015 | hgvfs.mkdir(b'wcache') | |
|
3015 | 3016 | |
|
3016 | 3017 | if b'store' in requirements and 'sharedrepo' not in createopts: |
|
3017 | 3018 | hgvfs.mkdir(b'store') |
@@ -212,6 +212,7 b" Make sure bundlerepo doesn't leak tempfi" | |||
|
212 | 212 | cache |
|
213 | 213 | requires |
|
214 | 214 | store |
|
215 | wcache | |
|
215 | 216 | |
|
216 | 217 | Pull ../full.hg into empty (with hook) |
|
217 | 218 |
@@ -23,6 +23,7 b' Check the basic files created:' | |||
|
23 | 23 | cache |
|
24 | 24 | requires |
|
25 | 25 | store |
|
26 | wcache | |
|
26 | 27 | |
|
27 | 28 | Should be empty: |
|
28 | 29 |
@@ -42,7 +42,7 b' just in case somebody has a strange $TMP' | |||
|
42 | 42 | $ hg init repo |
|
43 | 43 | $ cd repo |
|
44 | 44 | |
|
45 | $ chmod 0770 .hg/store .hg/cache | |
|
45 | $ chmod 0770 .hg/store .hg/cache .hg/wcache | |
|
46 | 46 | |
|
47 | 47 | before commit |
|
48 | 48 | store can be written by the group, other files cannot |
@@ -54,6 +54,7 b' store is setgid' | |||
|
54 | 54 | 00770 ./.hg/cache/ |
|
55 | 55 | 00600 ./.hg/requires |
|
56 | 56 | 00770 ./.hg/store/ |
|
57 | 00770 ./.hg/wcache/ | |
|
57 | 58 | |
|
58 | 59 | $ mkdir dir |
|
59 | 60 | $ touch foo dir/bar |
@@ -120,6 +121,7 b' group can write everything' | |||
|
120 | 121 | 00770 ../push/.hg/cache/ |
|
121 | 122 | 00660 ../push/.hg/requires |
|
122 | 123 | 00770 ../push/.hg/store/ |
|
124 | 00770 ../push/.hg/wcache/ | |
|
123 | 125 | |
|
124 | 126 | $ umask 077 |
|
125 | 127 | $ hg -q push ../push |
@@ -155,6 +157,7 b' group can still write everything' | |||
|
155 | 157 | 00660 ../push/.hg/undo.branch |
|
156 | 158 | 00660 ../push/.hg/undo.desc |
|
157 | 159 | 00660 ../push/.hg/undo.dirstate |
|
160 | 00770 ../push/.hg/wcache/ | |
|
158 | 161 | |
|
159 | 162 | |
|
160 | 163 | Test that we don't lose the setgid bit when we call chmod. |
@@ -1242,6 +1242,7 b' Check that share works with subrepo' | |||
|
1242 | 1242 | ../shared/subrepo-1/.hg/hgrc |
|
1243 | 1243 | ../shared/subrepo-1/.hg/requires |
|
1244 | 1244 | ../shared/subrepo-1/.hg/sharedpath |
|
1245 | ../shared/subrepo-1/.hg/wcache | |
|
1245 | 1246 | ../shared/subrepo-2 |
|
1246 | 1247 | ../shared/subrepo-2/.hg |
|
1247 | 1248 | ../shared/subrepo-2/.hg/branch |
General Comments 0
You need to be logged in to leave comments.
Login now