##// END OF EJS Templates
tests: test generaldelta configuration in test-init.t...
Pierre-Yves David -
r26921:b11495c2 default
parent child Browse files
Show More
@@ -1,5 +1,12 b''
1 This test tries to exercise the ssh functionality with a dummy script
1 This test tries to exercise the ssh functionality with a dummy script
2
2
3 (enable general delta early)
4
5 $ cat << EOF >> $HGRCPATH
6 > [format]
7 > usegeneraldelta=yes
8 > EOF
9
3 $ checknewrepo()
10 $ checknewrepo()
4 > {
11 > {
5 > name=$1
12 > name=$1
@@ -20,6 +27,7 b" creating 'local'"
20 00changelog.i created
27 00changelog.i created
21 dotencode
28 dotencode
22 fncache
29 fncache
30 generaldelta
23 revlogv1
31 revlogv1
24 store
32 store
25 $ echo this > local/foo
33 $ echo this > local/foo
@@ -55,6 +63,7 b' creating repo with format.usestore=false'
55
63
56 $ hg --config format.usestore=false init old
64 $ hg --config format.usestore=false init old
57 $ checknewrepo old
65 $ checknewrepo old
66 generaldelta
58 revlogv1
67 revlogv1
59
68
60 creating repo with format.usefncache=false
69 creating repo with format.usefncache=false
@@ -63,6 +72,7 b' creating repo with format.usefncache=fal'
63 $ checknewrepo old2
72 $ checknewrepo old2
64 store created
73 store created
65 00changelog.i created
74 00changelog.i created
75 generaldelta
66 revlogv1
76 revlogv1
67 store
77 store
68
78
@@ -73,6 +83,18 b' creating repo with format.dotencode=fals'
73 store created
83 store created
74 00changelog.i created
84 00changelog.i created
75 fncache
85 fncache
86 generaldelta
87 revlogv1
88 store
89
90 creating repo with format.dotencode=false
91
92 $ hg --config format.generaldelta=false --config format.usegeneraldelta=false init old4
93 $ checknewrepo old4
94 store created
95 00changelog.i created
96 dotencode
97 fncache
76 revlogv1
98 revlogv1
77 store
99 store
78
100
@@ -186,6 +208,7 b" creating 'local/sub/repo'"
186 00changelog.i created
208 00changelog.i created
187 dotencode
209 dotencode
188 fncache
210 fncache
211 generaldelta
189 revlogv1
212 revlogv1
190 store
213 store
191
214
@@ -203,6 +226,7 b' init should (for consistency with clone)'
203 00changelog.i created
226 00changelog.i created
204 dotencode
227 dotencode
205 fncache
228 fncache
229 generaldelta
206 revlogv1
230 revlogv1
207 store
231 store
208
232
@@ -216,6 +240,7 b' verify that clone also expand urls'
216 00changelog.i created
240 00changelog.i created
217 dotencode
241 dotencode
218 fncache
242 fncache
243 generaldelta
219 revlogv1
244 revlogv1
220 store
245 store
221
246
General Comments 0
You need to be logged in to leave comments. Login now