##// END OF EJS Templates
test-transaction-safety: perform the test on a filelog...
marmoute -
r52072:cf23a843 default
parent child Browse files
Show More
@@ -89,7 +89,7 b' Automated commands:'
89 89 > rm -f $TESTTMP/sync/*
90 90 > rm -f $TESTTMP/output/*
91 91 > hg log --rev 'tip' -T 'pre-commit: {rev} {desc}\n'
92 > echo x >> a
92 > echo x >> of
93 93 > sh $TESTTMP/script/external.sh & hg commit -m "$1"
94 94 > cat $TESTTMP/output/external.out
95 95 > cat $TESTTMP/output/internal.out
@@ -101,7 +101,7 b' Automated commands:'
101 101 > rm -f $TESTTMP/sync/*
102 102 > rm -f $TESTTMP/output/*
103 103 > hg log --rev 'tip' -T 'pre-commit: {rev} {desc}\n'
104 > echo x >> a
104 > echo x >> of
105 105 > sh $TESTTMP/script/external.sh & hg pull ../other-repo/ --rev "$1" --force --quiet
106 106 > cat $TESTTMP/output/external.out
107 107 > cat $TESTTMP/output/internal.out
@@ -113,22 +113,22 b' prepare a large source to which to pull '
113 113 The source is large to unsure we don't use inline more after the pull
114 114
115 115 $ hg init other-repo
116 $ hg -R other-repo debugbuilddag .+500
116 $ hg -R other-repo debugbuilddag .+500 --overwritten-file
117 117
118 118
119 119 prepare an empty repository where to make test:
120 120
121 121 $ hg init repo
122 122 $ cd repo
123 $ touch a
124 $ hg add a
123 $ touch of
124 $ hg add of
125 125
126 126 prepare a small extension to controll inline size
127 127
128 128 $ mkdir $TESTTMP/ext
129 129 $ cat << EOF > $TESTTMP/ext/small_inline.py
130 130 > from mercurial import revlog
131 > revlog._maxinline = 64 * 100
131 > revlog._maxinline = 3 * 100
132 132 > EOF
133 133
134 134
@@ -154,8 +154,8 b' the repository should still be inline (f'
154 154
155 155 #if revlogv1
156 156
157 $ hg debugrevlog -c | grep inline
158 flags : inline
157 $ hg debugrevlog of | grep inline
158 flags : inline, generaldelta
159 159
160 160 #endif
161 161
@@ -166,8 +166,8 b' the repository should still be inline (f'
166 166
167 167 #if revlogv1
168 168
169 $ hg debugrevlog -c | grep inline
170 flags : inline
169 $ hg debugrevlog of | grep inline
170 flags : inline, generaldelta
171 171
172 172 #endif
173 173
@@ -179,8 +179,8 b' the repository should still be inline (f'
179 179
180 180 #if revlogv1
181 181
182 $ hg debugrevlog -c | grep inline
183 flags : inline
182 $ hg debugrevlog of | grep inline
183 flags : inline, generaldelta
184 184
185 185 #endif
186 186
@@ -191,8 +191,8 b' the repository should still be inline (f'
191 191
192 192 #if revlogv1
193 193
194 $ hg debugrevlog -c | grep inline
195 flags : inline
194 $ hg debugrevlog of | grep inline
195 flags : inline, generaldelta
196 196
197 197 #endif
198 198
@@ -205,8 +205,8 b' the repository should still be inline (f'
205 205
206 206 #if revlogv1
207 207
208 $ hg debugrevlog -c | grep inline
209 flags : inline
208 $ hg debugrevlog of | grep inline
209 flags : inline, generaldelta
210 210
211 211 #endif
212 212
@@ -217,8 +217,8 b' the repository should no longer be inlin'
217 217
218 218 #if revlogv1
219 219
220 $ hg debugrevlog -c | grep inline
221 flags : inline
220 $ hg debugrevlog of | grep inline
221 flags : inline, generaldelta
222 222
223 223 #endif
224 224
@@ -230,7 +230,7 b' the repository should no longer be inlin'
230 230
231 231 #if revlogv1
232 232
233 $ hg debugrevlog -c | grep inline
233 $ hg debugrevlog of | grep inline
234 234 [1]
235 235
236 236 #endif
@@ -242,7 +242,7 b' the repository should no longer be inlin'
242 242
243 243 #if revlogv1
244 244
245 $ hg debugrevlog -c | grep inline
245 $ hg debugrevlog of | grep inline
246 246 [1]
247 247
248 248 #endif
@@ -255,7 +255,7 b' the repository should no longer be inlin'
255 255
256 256 #if revlogv1
257 257
258 $ hg debugrevlog -c | grep inline
258 $ hg debugrevlog of | grep inline
259 259 [1]
260 260
261 261 #endif
@@ -268,7 +268,7 b' the repository should no longer be inlin'
268 268
269 269 #if revlogv1
270 270
271 $ hg debugrevlog -c | grep inline
271 $ hg debugrevlog of | grep inline
272 272 [1]
273 273
274 274 #endif
@@ -281,7 +281,7 b' the repository should no longer be inlin'
281 281
282 282 #if revlogv1
283 283
284 $ hg debugrevlog -c | grep inline
284 $ hg debugrevlog of | grep inline
285 285 [1]
286 286
287 287 #endif
General Comments 0
You need to be logged in to leave comments. Login now