Show More
@@ -5,9 +5,12 b' regular equivalent. Test would fail if g' | |||||
5 | implementation of parentdelta: third manifest revision would be fully |
|
5 | implementation of parentdelta: third manifest revision would be fully | |
6 | inserted due to big distance from its paren revision (zero). |
|
6 | inserted due to big distance from its paren revision (zero). | |
7 |
|
7 | |||
|
8 | (We disable the revlog compression to avoid the annoying instability in the chunk size that depends on the compressors implementation) | |||
|
9 | ||||
8 | $ cat << EOF >> $HGRCPATH |
|
10 | $ cat << EOF >> $HGRCPATH | |
9 | > [format] |
|
11 | > [format] | |
10 | > sparse-revlog = no |
|
12 | > sparse-revlog = no | |
|
13 | > revlog-compression = none | |||
11 | > EOF |
|
14 | > EOF | |
12 |
|
15 | |||
13 | $ hg init repo --config format.generaldelta=no --config format.usegeneraldelta=no |
|
16 | $ hg init repo --config format.generaldelta=no --config format.usegeneraldelta=no | |
@@ -142,8 +145,8 b' Test revlog.optimize-delta-parent-choice' | |||||
142 | $ hg debugdeltachain -m |
|
145 | $ hg debugdeltachain -m | |
143 | rev p1 p2 chain# chainlen prev delta |
|
146 | rev p1 p2 chain# chainlen prev delta | |
144 | 0 -1 -1 1 1 -1 base |
|
147 | 0 -1 -1 1 1 -1 base | |
145 |
1 -1 -1 |
|
148 | 1 -1 -1 2 1 -1 base | |
146 |
2 1 0 |
|
149 | 2 1 0 2 2 1 p1 | |
147 |
|
150 | |||
148 | $ hg strip -q -r . --config extensions.strip= |
|
151 | $ hg strip -q -r . --config extensions.strip= | |
149 |
|
152 | |||
@@ -154,7 +157,7 b' Test revlog.optimize-delta-parent-choice' | |||||
154 | $ hg debugdeltachain -m |
|
157 | $ hg debugdeltachain -m | |
155 | rev p1 p2 chain# chainlen prev delta |
|
158 | rev p1 p2 chain# chainlen prev delta | |
156 | 0 -1 -1 1 1 -1 base |
|
159 | 0 -1 -1 1 1 -1 base | |
157 |
1 -1 -1 |
|
160 | 1 -1 -1 2 1 -1 base | |
158 | 2 1 0 1 2 0 p2 |
|
161 | 2 1 0 1 2 0 p2 | |
159 |
|
162 | |||
160 | Test that strip bundle use bundle2 |
|
163 | Test that strip bundle use bundle2 | |
@@ -266,13 +269,13 b' test maxdeltachainspan' | |||||
266 | 46 45 -1 3 29 45 p1 58 1334 1671 1.25262 1671 0 0.00000 |
|
269 | 46 45 -1 3 29 45 p1 58 1334 1671 1.25262 1671 0 0.00000 | |
267 | 47 46 -1 3 30 46 p1 58 1380 1729 1.25290 1729 0 0.00000 |
|
270 | 47 46 -1 3 30 46 p1 58 1380 1729 1.25290 1729 0 0.00000 | |
268 | 48 47 -1 3 31 47 p1 58 1426 1787 1.25316 1787 0 0.00000 |
|
271 | 48 47 -1 3 31 47 p1 58 1426 1787 1.25316 1787 0 0.00000 | |
269 |
49 5 -1 4 1 -1 base |
|
272 | 49 5 -1 4 1 -1 base 317 316 317 1.00316 317 0 0.00000 | |
270 |
50 49 -1 4 2 49 p1 58 362 |
|
273 | 50 49 -1 4 2 49 p1 58 362 375 1.03591 375 0 0.00000 | |
271 | 51 17 -1 4 3 50 prev 3?? 5?? 6?? 1.0???? 6?? 0 0.00000 (glob) |
|
274 | 51 17 -1 5 1 -1 base 595 594 595 1.00168 595 0 0.00000 | |
272 |
52 51 -1 |
|
275 | 52 51 -1 5 2 51 p1 58 640 653 1.02031 653 0 0.00000 | |
273 |
53 52 -1 |
|
276 | 53 52 -1 6 1 -1 base 0 0 0 0.00000 0 0 0.00000 | |
274 |
54 53 -1 |
|
277 | 54 53 -1 7 1 -1 base 641 640 641 1.00156 641 0 0.00000 | |
275 |
$ hg clone --pull source-repo --config experimental.maxdeltachainspan=2 |
|
278 | $ hg clone --pull source-repo --config experimental.maxdeltachainspan=2900 relax-chain --config format.generaldelta=yes | |
276 | requesting all changes |
|
279 | requesting all changes | |
277 | adding changesets |
|
280 | adding changesets | |
278 | adding manifests |
|
281 | adding manifests | |
@@ -332,12 +335,12 b' test maxdeltachainspan' | |||||
332 | 46 45 -1 3 29 45 p1 58 1334 1671 1.25262 1671 0 0.00000 |
|
335 | 46 45 -1 3 29 45 p1 58 1334 1671 1.25262 1671 0 0.00000 | |
333 | 47 46 -1 3 30 46 p1 58 1380 1729 1.25290 1729 0 0.00000 |
|
336 | 47 46 -1 3 30 46 p1 58 1380 1729 1.25290 1729 0 0.00000 | |
334 | 48 47 -1 3 31 47 p1 58 1426 1787 1.25316 1787 0 0.00000 |
|
337 | 48 47 -1 3 31 47 p1 58 1426 1787 1.25316 1787 0 0.00000 | |
335 |
49 5 -1 |
|
338 | 49 5 -1 1 7 5 p1 58 316 389 1.23101 2857 2468 6.34447 | |
336 |
50 49 -1 4 |
|
339 | 50 49 -1 4 1 -1 base 363 362 363 1.00276 363 0 0.00000 | |
337 |
51 17 -1 |
|
340 | 51 17 -1 5 1 -1 base 595 594 595 1.00168 595 0 0.00000 | |
338 |
|
|
341 | 52 51 -1 5 2 51 p1 58 640 653 1.02031 653 0 0.00000 | |
339 | 53 52 -1 6 1 -1 base 0 0 0 0.00000 0 0 0.00000 |
|
342 | 53 52 -1 6 1 -1 base 0 0 0 0.00000 0 0 0.00000 | |
340 |
54 53 -1 7 1 -1 base |
|
343 | 54 53 -1 7 1 -1 base 641 640 641 1.00156 641 0 0.00000 | |
341 | $ hg clone --pull source-repo --config experimental.maxdeltachainspan=0 noconst-chain --config format.usegeneraldelta=yes --config storage.revlog.reuse-external-delta-parent=no |
|
344 | $ hg clone --pull source-repo --config experimental.maxdeltachainspan=0 noconst-chain --config format.usegeneraldelta=yes --config storage.revlog.reuse-external-delta-parent=no | |
342 | requesting all changes |
|
345 | requesting all changes | |
343 | adding changesets |
|
346 | adding changesets | |
@@ -403,4 +406,4 b' test maxdeltachainspan' | |||||
403 | 51 17 -1 2 13 17 p1 58 594 739 1.24411 2642 1903 2.57510 |
|
406 | 51 17 -1 2 13 17 p1 58 594 739 1.24411 2642 1903 2.57510 | |
404 | 52 51 -1 2 14 51 p1 58 640 797 1.24531 2700 1903 2.38770 |
|
407 | 52 51 -1 2 14 51 p1 58 640 797 1.24531 2700 1903 2.38770 | |
405 | 53 52 -1 4 1 -1 base 0 0 0 0.00000 0 0 0.00000 |
|
408 | 53 52 -1 4 1 -1 base 0 0 0 0.00000 0 0 0.00000 | |
406 |
54 53 -1 5 1 -1 base |
|
409 | 54 53 -1 5 1 -1 base 641 640 641 1.00156 641 0 0.00000 |
General Comments 0
You need to be logged in to leave comments.
Login now