Show More
@@ -3010,6 +3010,8 b' def createrepository(ui, path, createopt' | |||
|
3010 | 3010 | wdirvfs.makedirs() |
|
3011 | 3011 | |
|
3012 | 3012 | hgvfs.makedir(notindexed=True) |
|
3013 | if 'sharedrepo' not in createopts: | |
|
3014 | hgvfs.mkdir(b'cache') | |
|
3013 | 3015 | |
|
3014 | 3016 | if b'store' in requirements and 'sharedrepo' not in createopts: |
|
3015 | 3017 | hgvfs.mkdir(b'store') |
@@ -20,6 +20,7 b' Check the basic files created:' | |||
|
20 | 20 | |
|
21 | 21 | $ ls .hg |
|
22 | 22 | 00changelog.i |
|
23 | cache | |
|
23 | 24 | requires |
|
24 | 25 | store |
|
25 | 26 |
@@ -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 | |
|
45 | $ chmod 0770 .hg/store .hg/cache | |
|
46 | 46 | |
|
47 | 47 | before commit |
|
48 | 48 | store can be written by the group, other files cannot |
@@ -51,6 +51,7 b' store is setgid' | |||
|
51 | 51 | $ "$PYTHON" ../printmodes.py . |
|
52 | 52 | 00700 ./.hg/ |
|
53 | 53 | 00600 ./.hg/00changelog.i |
|
54 | 00770 ./.hg/cache/ | |
|
54 | 55 | 00600 ./.hg/requires |
|
55 | 56 | 00770 ./.hg/store/ |
|
56 | 57 | |
@@ -116,6 +117,7 b' group can write everything' | |||
|
116 | 117 | $ "$PYTHON" ../printmodes.py ../push |
|
117 | 118 | 00770 ../push/.hg/ |
|
118 | 119 | 00660 ../push/.hg/00changelog.i |
|
120 | 00770 ../push/.hg/cache/ | |
|
119 | 121 | 00660 ../push/.hg/requires |
|
120 | 122 | 00770 ../push/.hg/store/ |
|
121 | 123 |
General Comments 0
You need to be logged in to leave comments.
Login now