Show More
@@ -1,406 +1,409 b'' | |||
|
1 | 1 | #require no-reposimplestore |
|
2 | 2 | |
|
3 | 3 | Check whether size of generaldelta revlog is not bigger than its |
|
4 | 4 | regular equivalent. Test would fail if generaldelta was naive |
|
5 | 5 | implementation of parentdelta: third manifest revision would be fully |
|
6 | 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 | 10 | $ cat << EOF >> $HGRCPATH |
|
9 | 11 | > [format] |
|
10 | 12 | > sparse-revlog = no |
|
13 | > revlog-compression = none | |
|
11 | 14 | > EOF |
|
12 | 15 | |
|
13 | 16 | $ hg init repo --config format.generaldelta=no --config format.usegeneraldelta=no |
|
14 | 17 | $ cd repo |
|
15 | 18 | $ echo foo > foo |
|
16 | 19 | $ echo bar > bar |
|
17 | 20 | $ echo baz > baz |
|
18 | 21 | $ hg commit -q -Am boo |
|
19 | 22 | $ hg clone --pull . ../gdrepo -q --config format.generaldelta=yes |
|
20 | 23 | $ for r in 1 2 3; do |
|
21 | 24 | > echo $r > foo |
|
22 | 25 | > hg commit -q -m $r |
|
23 | 26 | > hg up -q -r 0 |
|
24 | 27 | > hg pull . -q -r $r -R ../gdrepo |
|
25 | 28 | > done |
|
26 | 29 | |
|
27 | 30 | $ cd .. |
|
28 | 31 | >>> import os |
|
29 | 32 | >>> regsize = os.stat("repo/.hg/store/00manifest.i").st_size |
|
30 | 33 | >>> gdsize = os.stat("gdrepo/.hg/store/00manifest.i").st_size |
|
31 | 34 | >>> if regsize < gdsize: |
|
32 | 35 | ... print('generaldata increased size of manifest') |
|
33 | 36 | |
|
34 | 37 | Verify rev reordering doesnt create invalid bundles (issue4462) |
|
35 | 38 | This requires a commit tree that when pulled will reorder manifest revs such |
|
36 | 39 | that the second manifest to create a file rev will be ordered before the first |
|
37 | 40 | manifest to create that file rev. We also need to do a partial pull to ensure |
|
38 | 41 | reordering happens. At the end we verify the linkrev points at the earliest |
|
39 | 42 | commit. |
|
40 | 43 | |
|
41 | 44 | $ hg init server --config format.generaldelta=True |
|
42 | 45 | $ cd server |
|
43 | 46 | $ touch a |
|
44 | 47 | $ hg commit -Aqm a |
|
45 | 48 | $ echo x > x |
|
46 | 49 | $ echo y > y |
|
47 | 50 | $ hg commit -Aqm xy |
|
48 | 51 | $ hg up -q '.^' |
|
49 | 52 | $ echo x > x |
|
50 | 53 | $ echo z > z |
|
51 | 54 | $ hg commit -Aqm xz |
|
52 | 55 | $ hg up -q 1 |
|
53 | 56 | $ echo b > b |
|
54 | 57 | $ hg commit -Aqm b |
|
55 | 58 | $ hg merge -q 2 |
|
56 | 59 | $ hg commit -Aqm merge |
|
57 | 60 | $ echo c > c |
|
58 | 61 | $ hg commit -Aqm c |
|
59 | 62 | $ hg log -G -T '{rev} {shortest(node)} {desc}' |
|
60 | 63 | @ 5 ebb8 c |
|
61 | 64 | | |
|
62 | 65 | o 4 baf7 merge |
|
63 | 66 | |\ |
|
64 | 67 | | o 3 a129 b |
|
65 | 68 | | | |
|
66 | 69 | o | 2 958c xz |
|
67 | 70 | | | |
|
68 | 71 | | o 1 f00c xy |
|
69 | 72 | |/ |
|
70 | 73 | o 0 3903 a |
|
71 | 74 | |
|
72 | 75 | $ cd .. |
|
73 | 76 | $ hg init client --config format.generaldelta=false --config format.usegeneraldelta=false |
|
74 | 77 | $ cd client |
|
75 | 78 | $ hg pull -q ../server -r 4 |
|
76 | 79 | $ hg debugdeltachain x |
|
77 | 80 | rev p1 p2 chain# chainlen prev delta |
|
78 | 81 | 0 -1 -1 1 1 -1 base |
|
79 | 82 | |
|
80 | 83 | $ cd .. |
|
81 | 84 | |
|
82 | 85 | Test "usegeneraldelta" config |
|
83 | 86 | (repo are general delta, but incoming bundle are not re-deltafied) |
|
84 | 87 | |
|
85 | 88 | delta coming from the server base delta server are not recompressed. |
|
86 | 89 | (also include the aggressive version for comparison) |
|
87 | 90 | |
|
88 | 91 | $ hg clone repo --pull --config format.usegeneraldelta=1 usegd |
|
89 | 92 | requesting all changes |
|
90 | 93 | adding changesets |
|
91 | 94 | adding manifests |
|
92 | 95 | adding file changes |
|
93 | 96 | added 4 changesets with 6 changes to 3 files (+2 heads) |
|
94 | 97 | new changesets 0ea3fcf9d01d:bba78d330d9c |
|
95 | 98 | updating to branch default |
|
96 | 99 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
97 | 100 | $ hg clone repo --pull --config format.generaldelta=1 full |
|
98 | 101 | requesting all changes |
|
99 | 102 | adding changesets |
|
100 | 103 | adding manifests |
|
101 | 104 | adding file changes |
|
102 | 105 | added 4 changesets with 6 changes to 3 files (+2 heads) |
|
103 | 106 | new changesets 0ea3fcf9d01d:bba78d330d9c |
|
104 | 107 | updating to branch default |
|
105 | 108 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
106 | 109 | $ hg -R repo debugdeltachain -m |
|
107 | 110 | rev p1 p2 chain# chainlen prev delta |
|
108 | 111 | 0 -1 -1 1 1 -1 base |
|
109 | 112 | 1 0 -1 1 2 0 prev |
|
110 | 113 | 2 0 -1 1 3 1 prev |
|
111 | 114 | 3 0 -1 2 1 -1 base |
|
112 | 115 | $ hg -R usegd debugdeltachain -m |
|
113 | 116 | rev p1 p2 chain# chainlen prev delta |
|
114 | 117 | 0 -1 -1 1 1 -1 base |
|
115 | 118 | 1 0 -1 1 2 0 p1 |
|
116 | 119 | 2 0 -1 1 3 1 prev |
|
117 | 120 | 3 0 -1 1 2 0 p1 |
|
118 | 121 | $ hg -R full debugdeltachain -m |
|
119 | 122 | rev p1 p2 chain# chainlen prev delta |
|
120 | 123 | 0 -1 -1 1 1 -1 base |
|
121 | 124 | 1 0 -1 1 2 0 p1 |
|
122 | 125 | 2 0 -1 1 2 0 p1 |
|
123 | 126 | 3 0 -1 1 2 0 p1 |
|
124 | 127 | |
|
125 | 128 | Test revlog.optimize-delta-parent-choice |
|
126 | 129 | |
|
127 | 130 | $ hg init --config format.generaldelta=1 aggressive |
|
128 | 131 | $ cd aggressive |
|
129 | 132 | $ cat << EOF >> .hg/hgrc |
|
130 | 133 | > [format] |
|
131 | 134 | > generaldelta = 1 |
|
132 | 135 | > EOF |
|
133 | 136 | $ touch a b c d e |
|
134 | 137 | $ hg commit -Aqm side1 |
|
135 | 138 | $ hg up -q null |
|
136 | 139 | $ touch x y |
|
137 | 140 | $ hg commit -Aqm side2 |
|
138 | 141 | |
|
139 | 142 | - Verify non-aggressive merge uses p1 (commit 1) as delta parent |
|
140 | 143 | $ hg merge -q 0 |
|
141 | 144 | $ hg commit -q -m merge --config storage.revlog.optimize-delta-parent-choice=no |
|
142 | 145 | $ hg debugdeltachain -m |
|
143 | 146 | rev p1 p2 chain# chainlen prev delta |
|
144 | 147 | 0 -1 -1 1 1 -1 base |
|
145 |
1 -1 -1 |
|
|
146 |
2 1 0 |
|
|
148 | 1 -1 -1 2 1 -1 base | |
|
149 | 2 1 0 2 2 1 p1 | |
|
147 | 150 | |
|
148 | 151 | $ hg strip -q -r . --config extensions.strip= |
|
149 | 152 | |
|
150 | 153 | - Verify aggressive merge uses p2 (commit 0) as delta parent |
|
151 | 154 | $ hg up -q -C 1 |
|
152 | 155 | $ hg merge -q 0 |
|
153 | 156 | $ hg commit -q -m merge --config storage.revlog.optimize-delta-parent-choice=yes |
|
154 | 157 | $ hg debugdeltachain -m |
|
155 | 158 | rev p1 p2 chain# chainlen prev delta |
|
156 | 159 | 0 -1 -1 1 1 -1 base |
|
157 |
1 -1 -1 |
|
|
160 | 1 -1 -1 2 1 -1 base | |
|
158 | 161 | 2 1 0 1 2 0 p2 |
|
159 | 162 | |
|
160 | 163 | Test that strip bundle use bundle2 |
|
161 | 164 | $ hg --config extensions.strip= strip . |
|
162 | 165 | 0 files updated, 0 files merged, 5 files removed, 0 files unresolved |
|
163 | 166 | saved backup bundle to $TESTTMP/aggressive/.hg/strip-backup/1c5d4dc9a8b8-6c68e60c-backup.hg |
|
164 | 167 | $ hg debugbundle .hg/strip-backup/* |
|
165 | 168 | Stream params: {Compression: BZ} |
|
166 | 169 | changegroup -- {nbchanges: 1, version: 03} (mandatory: True) |
|
167 | 170 | 1c5d4dc9a8b8d6e1750966d343e94db665e7a1e9 |
|
168 | 171 | cache:rev-branch-cache -- {} (mandatory: False) |
|
169 | 172 | phase-heads -- {} (mandatory: True) |
|
170 | 173 | 1c5d4dc9a8b8d6e1750966d343e94db665e7a1e9 draft |
|
171 | 174 | |
|
172 | 175 | $ cd .. |
|
173 | 176 | |
|
174 | 177 | test maxdeltachainspan |
|
175 | 178 | |
|
176 | 179 | $ hg init source-repo |
|
177 | 180 | $ cd source-repo |
|
178 | 181 | $ hg debugbuilddag --new-file '.+5:brancha$.+11:branchb$.+30:branchc<brancha+2<branchb+2' |
|
179 | 182 | # add an empty revision somewhere |
|
180 | 183 | $ hg up tip |
|
181 | 184 | 14 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
182 | 185 | $ hg rm . |
|
183 | 186 | removing nf10 |
|
184 | 187 | removing nf11 |
|
185 | 188 | removing nf12 |
|
186 | 189 | removing nf13 |
|
187 | 190 | removing nf14 |
|
188 | 191 | removing nf15 |
|
189 | 192 | removing nf16 |
|
190 | 193 | removing nf17 |
|
191 | 194 | removing nf51 |
|
192 | 195 | removing nf52 |
|
193 | 196 | removing nf6 |
|
194 | 197 | removing nf7 |
|
195 | 198 | removing nf8 |
|
196 | 199 | removing nf9 |
|
197 | 200 | $ hg commit -m 'empty all' |
|
198 | 201 | $ hg revert --all --rev 'p1(.)' |
|
199 | 202 | adding nf10 |
|
200 | 203 | adding nf11 |
|
201 | 204 | adding nf12 |
|
202 | 205 | adding nf13 |
|
203 | 206 | adding nf14 |
|
204 | 207 | adding nf15 |
|
205 | 208 | adding nf16 |
|
206 | 209 | adding nf17 |
|
207 | 210 | adding nf51 |
|
208 | 211 | adding nf52 |
|
209 | 212 | adding nf6 |
|
210 | 213 | adding nf7 |
|
211 | 214 | adding nf8 |
|
212 | 215 | adding nf9 |
|
213 | 216 | $ hg commit -m 'restore all' |
|
214 | 217 | $ hg up null |
|
215 | 218 | 0 files updated, 0 files merged, 14 files removed, 0 files unresolved |
|
216 | 219 | $ |
|
217 | 220 | $ cd .. |
|
218 | 221 | $ hg -R source-repo debugdeltachain -m --all-info |
|
219 | 222 | rev p1 p2 chain# chainlen prev delta size rawsize chainsize ratio lindist extradist extraratio |
|
220 | 223 | 0 -1 -1 1 1 -1 base 46 45 46 1.02222 46 0 0.00000 |
|
221 | 224 | 1 0 -1 1 2 0 p1 57 90 103 1.14444 103 0 0.00000 |
|
222 | 225 | 2 1 -1 1 3 1 p1 57 135 160 1.18519 160 0 0.00000 |
|
223 | 226 | 3 2 -1 1 4 2 p1 57 180 217 1.20556 217 0 0.00000 |
|
224 | 227 | 4 3 -1 1 5 3 p1 57 225 274 1.21778 274 0 0.00000 |
|
225 | 228 | 5 4 -1 1 6 4 p1 57 270 331 1.22593 331 0 0.00000 |
|
226 | 229 | 6 -1 -1 2 1 -1 base 46 45 46 1.02222 46 0 0.00000 |
|
227 | 230 | 7 6 -1 2 2 6 p1 57 90 103 1.14444 103 0 0.00000 |
|
228 | 231 | 8 7 -1 2 3 7 p1 57 135 160 1.18519 160 0 0.00000 |
|
229 | 232 | 9 8 -1 2 4 8 p1 57 180 217 1.20556 217 0 0.00000 |
|
230 | 233 | 10 9 -1 2 5 9 p1 58 226 275 1.21681 275 0 0.00000 |
|
231 | 234 | 11 10 -1 2 6 10 p1 58 272 333 1.22426 333 0 0.00000 |
|
232 | 235 | 12 11 -1 2 7 11 p1 58 318 391 1.22956 391 0 0.00000 |
|
233 | 236 | 13 12 -1 2 8 12 p1 58 364 449 1.23352 449 0 0.00000 |
|
234 | 237 | 14 13 -1 2 9 13 p1 58 410 507 1.23659 507 0 0.00000 |
|
235 | 238 | 15 14 -1 2 10 14 p1 58 456 565 1.23904 565 0 0.00000 |
|
236 | 239 | 16 15 -1 2 11 15 p1 58 502 623 1.24104 623 0 0.00000 |
|
237 | 240 | 17 16 -1 2 12 16 p1 58 548 681 1.24270 681 0 0.00000 |
|
238 | 241 | 18 -1 -1 3 1 -1 base 47 46 47 1.02174 47 0 0.00000 |
|
239 | 242 | 19 18 -1 3 2 18 p1 58 92 105 1.14130 105 0 0.00000 |
|
240 | 243 | 20 19 -1 3 3 19 p1 58 138 163 1.18116 163 0 0.00000 |
|
241 | 244 | 21 20 -1 3 4 20 p1 58 184 221 1.20109 221 0 0.00000 |
|
242 | 245 | 22 21 -1 3 5 21 p1 58 230 279 1.21304 279 0 0.00000 |
|
243 | 246 | 23 22 -1 3 6 22 p1 58 276 337 1.22101 337 0 0.00000 |
|
244 | 247 | 24 23 -1 3 7 23 p1 58 322 395 1.22671 395 0 0.00000 |
|
245 | 248 | 25 24 -1 3 8 24 p1 58 368 453 1.23098 453 0 0.00000 |
|
246 | 249 | 26 25 -1 3 9 25 p1 58 414 511 1.23430 511 0 0.00000 |
|
247 | 250 | 27 26 -1 3 10 26 p1 58 460 569 1.23696 569 0 0.00000 |
|
248 | 251 | 28 27 -1 3 11 27 p1 58 506 627 1.23913 627 0 0.00000 |
|
249 | 252 | 29 28 -1 3 12 28 p1 58 552 685 1.24094 685 0 0.00000 |
|
250 | 253 | 30 29 -1 3 13 29 p1 58 598 743 1.24247 743 0 0.00000 |
|
251 | 254 | 31 30 -1 3 14 30 p1 58 644 801 1.24379 801 0 0.00000 |
|
252 | 255 | 32 31 -1 3 15 31 p1 58 690 859 1.24493 859 0 0.00000 |
|
253 | 256 | 33 32 -1 3 16 32 p1 58 736 917 1.24592 917 0 0.00000 |
|
254 | 257 | 34 33 -1 3 17 33 p1 58 782 975 1.24680 975 0 0.00000 |
|
255 | 258 | 35 34 -1 3 18 34 p1 58 828 1033 1.24758 1033 0 0.00000 |
|
256 | 259 | 36 35 -1 3 19 35 p1 58 874 1091 1.24828 1091 0 0.00000 |
|
257 | 260 | 37 36 -1 3 20 36 p1 58 920 1149 1.24891 1149 0 0.00000 |
|
258 | 261 | 38 37 -1 3 21 37 p1 58 966 1207 1.24948 1207 0 0.00000 |
|
259 | 262 | 39 38 -1 3 22 38 p1 58 1012 1265 1.25000 1265 0 0.00000 |
|
260 | 263 | 40 39 -1 3 23 39 p1 58 1058 1323 1.25047 1323 0 0.00000 |
|
261 | 264 | 41 40 -1 3 24 40 p1 58 1104 1381 1.25091 1381 0 0.00000 |
|
262 | 265 | 42 41 -1 3 25 41 p1 58 1150 1439 1.25130 1439 0 0.00000 |
|
263 | 266 | 43 42 -1 3 26 42 p1 58 1196 1497 1.25167 1497 0 0.00000 |
|
264 | 267 | 44 43 -1 3 27 43 p1 58 1242 1555 1.25201 1555 0 0.00000 |
|
265 | 268 | 45 44 -1 3 28 44 p1 58 1288 1613 1.25233 1613 0 0.00000 |
|
266 | 269 | 46 45 -1 3 29 45 p1 58 1334 1671 1.25262 1671 0 0.00000 |
|
267 | 270 | 47 46 -1 3 30 46 p1 58 1380 1729 1.25290 1729 0 0.00000 |
|
268 | 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 |
|
|
270 |
50 49 -1 4 2 49 p1 58 362 |
|
|
271 | 51 17 -1 4 3 50 prev 3?? 5?? 6?? 1.0???? 6?? 0 0.00000 (glob) | |
|
272 |
52 51 -1 |
|
|
273 |
53 52 -1 |
|
|
274 |
54 53 -1 |
|
|
275 |
$ hg clone --pull source-repo --config experimental.maxdeltachainspan=2 |
|
|
272 | 49 5 -1 4 1 -1 base 317 316 317 1.00316 317 0 0.00000 | |
|
273 | 50 49 -1 4 2 49 p1 58 362 375 1.03591 375 0 0.00000 | |
|
274 | 51 17 -1 5 1 -1 base 595 594 595 1.00168 595 0 0.00000 | |
|
275 | 52 51 -1 5 2 51 p1 58 640 653 1.02031 653 0 0.00000 | |
|
276 | 53 52 -1 6 1 -1 base 0 0 0 0.00000 0 0 0.00000 | |
|
277 | 54 53 -1 7 1 -1 base 641 640 641 1.00156 641 0 0.00000 | |
|
278 | $ hg clone --pull source-repo --config experimental.maxdeltachainspan=2900 relax-chain --config format.generaldelta=yes | |
|
276 | 279 | requesting all changes |
|
277 | 280 | adding changesets |
|
278 | 281 | adding manifests |
|
279 | 282 | adding file changes |
|
280 | 283 | added 55 changesets with 53 changes to 53 files (+2 heads) |
|
281 | 284 | new changesets 61246295ee1e:c930ac4a5b32 |
|
282 | 285 | updating to branch default |
|
283 | 286 | 14 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
284 | 287 | $ hg -R relax-chain debugdeltachain -m --all-info |
|
285 | 288 | rev p1 p2 chain# chainlen prev delta size rawsize chainsize ratio lindist extradist extraratio |
|
286 | 289 | 0 -1 -1 1 1 -1 base 46 45 46 1.02222 46 0 0.00000 |
|
287 | 290 | 1 0 -1 1 2 0 p1 57 90 103 1.14444 103 0 0.00000 |
|
288 | 291 | 2 1 -1 1 3 1 p1 57 135 160 1.18519 160 0 0.00000 |
|
289 | 292 | 3 2 -1 1 4 2 p1 57 180 217 1.20556 217 0 0.00000 |
|
290 | 293 | 4 3 -1 1 5 3 p1 57 225 274 1.21778 274 0 0.00000 |
|
291 | 294 | 5 4 -1 1 6 4 p1 57 270 331 1.22593 331 0 0.00000 |
|
292 | 295 | 6 -1 -1 2 1 -1 base 46 45 46 1.02222 46 0 0.00000 |
|
293 | 296 | 7 6 -1 2 2 6 p1 57 90 103 1.14444 103 0 0.00000 |
|
294 | 297 | 8 7 -1 2 3 7 p1 57 135 160 1.18519 160 0 0.00000 |
|
295 | 298 | 9 8 -1 2 4 8 p1 57 180 217 1.20556 217 0 0.00000 |
|
296 | 299 | 10 9 -1 2 5 9 p1 58 226 275 1.21681 275 0 0.00000 |
|
297 | 300 | 11 10 -1 2 6 10 p1 58 272 333 1.22426 333 0 0.00000 |
|
298 | 301 | 12 11 -1 2 7 11 p1 58 318 391 1.22956 391 0 0.00000 |
|
299 | 302 | 13 12 -1 2 8 12 p1 58 364 449 1.23352 449 0 0.00000 |
|
300 | 303 | 14 13 -1 2 9 13 p1 58 410 507 1.23659 507 0 0.00000 |
|
301 | 304 | 15 14 -1 2 10 14 p1 58 456 565 1.23904 565 0 0.00000 |
|
302 | 305 | 16 15 -1 2 11 15 p1 58 502 623 1.24104 623 0 0.00000 |
|
303 | 306 | 17 16 -1 2 12 16 p1 58 548 681 1.24270 681 0 0.00000 |
|
304 | 307 | 18 -1 -1 3 1 -1 base 47 46 47 1.02174 47 0 0.00000 |
|
305 | 308 | 19 18 -1 3 2 18 p1 58 92 105 1.14130 105 0 0.00000 |
|
306 | 309 | 20 19 -1 3 3 19 p1 58 138 163 1.18116 163 0 0.00000 |
|
307 | 310 | 21 20 -1 3 4 20 p1 58 184 221 1.20109 221 0 0.00000 |
|
308 | 311 | 22 21 -1 3 5 21 p1 58 230 279 1.21304 279 0 0.00000 |
|
309 | 312 | 23 22 -1 3 6 22 p1 58 276 337 1.22101 337 0 0.00000 |
|
310 | 313 | 24 23 -1 3 7 23 p1 58 322 395 1.22671 395 0 0.00000 |
|
311 | 314 | 25 24 -1 3 8 24 p1 58 368 453 1.23098 453 0 0.00000 |
|
312 | 315 | 26 25 -1 3 9 25 p1 58 414 511 1.23430 511 0 0.00000 |
|
313 | 316 | 27 26 -1 3 10 26 p1 58 460 569 1.23696 569 0 0.00000 |
|
314 | 317 | 28 27 -1 3 11 27 p1 58 506 627 1.23913 627 0 0.00000 |
|
315 | 318 | 29 28 -1 3 12 28 p1 58 552 685 1.24094 685 0 0.00000 |
|
316 | 319 | 30 29 -1 3 13 29 p1 58 598 743 1.24247 743 0 0.00000 |
|
317 | 320 | 31 30 -1 3 14 30 p1 58 644 801 1.24379 801 0 0.00000 |
|
318 | 321 | 32 31 -1 3 15 31 p1 58 690 859 1.24493 859 0 0.00000 |
|
319 | 322 | 33 32 -1 3 16 32 p1 58 736 917 1.24592 917 0 0.00000 |
|
320 | 323 | 34 33 -1 3 17 33 p1 58 782 975 1.24680 975 0 0.00000 |
|
321 | 324 | 35 34 -1 3 18 34 p1 58 828 1033 1.24758 1033 0 0.00000 |
|
322 | 325 | 36 35 -1 3 19 35 p1 58 874 1091 1.24828 1091 0 0.00000 |
|
323 | 326 | 37 36 -1 3 20 36 p1 58 920 1149 1.24891 1149 0 0.00000 |
|
324 | 327 | 38 37 -1 3 21 37 p1 58 966 1207 1.24948 1207 0 0.00000 |
|
325 | 328 | 39 38 -1 3 22 38 p1 58 1012 1265 1.25000 1265 0 0.00000 |
|
326 | 329 | 40 39 -1 3 23 39 p1 58 1058 1323 1.25047 1323 0 0.00000 |
|
327 | 330 | 41 40 -1 3 24 40 p1 58 1104 1381 1.25091 1381 0 0.00000 |
|
328 | 331 | 42 41 -1 3 25 41 p1 58 1150 1439 1.25130 1439 0 0.00000 |
|
329 | 332 | 43 42 -1 3 26 42 p1 58 1196 1497 1.25167 1497 0 0.00000 |
|
330 | 333 | 44 43 -1 3 27 43 p1 58 1242 1555 1.25201 1555 0 0.00000 |
|
331 | 334 | 45 44 -1 3 28 44 p1 58 1288 1613 1.25233 1613 0 0.00000 |
|
332 | 335 | 46 45 -1 3 29 45 p1 58 1334 1671 1.25262 1671 0 0.00000 |
|
333 | 336 | 47 46 -1 3 30 46 p1 58 1380 1729 1.25290 1729 0 0.00000 |
|
334 | 337 | 48 47 -1 3 31 47 p1 58 1426 1787 1.25316 1787 0 0.00000 |
|
335 |
49 5 -1 |
|
|
336 |
50 49 -1 4 |
|
|
337 |
51 17 -1 |
|
|
338 |
|
|
|
338 | 49 5 -1 1 7 5 p1 58 316 389 1.23101 2857 2468 6.34447 | |
|
339 | 50 49 -1 4 1 -1 base 363 362 363 1.00276 363 0 0.00000 | |
|
340 | 51 17 -1 5 1 -1 base 595 594 595 1.00168 595 0 0.00000 | |
|
341 | 52 51 -1 5 2 51 p1 58 640 653 1.02031 653 0 0.00000 | |
|
339 | 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 | 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 | 345 | requesting all changes |
|
343 | 346 | adding changesets |
|
344 | 347 | adding manifests |
|
345 | 348 | adding file changes |
|
346 | 349 | added 55 changesets with 53 changes to 53 files (+2 heads) |
|
347 | 350 | new changesets 61246295ee1e:c930ac4a5b32 |
|
348 | 351 | updating to branch default |
|
349 | 352 | 14 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
350 | 353 | $ hg -R noconst-chain debugdeltachain -m --all-info |
|
351 | 354 | rev p1 p2 chain# chainlen prev delta size rawsize chainsize ratio lindist extradist extraratio |
|
352 | 355 | 0 -1 -1 1 1 -1 base 46 45 46 1.02222 46 0 0.00000 |
|
353 | 356 | 1 0 -1 1 2 0 p1 57 90 103 1.14444 103 0 0.00000 |
|
354 | 357 | 2 1 -1 1 3 1 p1 57 135 160 1.18519 160 0 0.00000 |
|
355 | 358 | 3 2 -1 1 4 2 p1 57 180 217 1.20556 217 0 0.00000 |
|
356 | 359 | 4 3 -1 1 5 3 p1 57 225 274 1.21778 274 0 0.00000 |
|
357 | 360 | 5 4 -1 1 6 4 p1 57 270 331 1.22593 331 0 0.00000 |
|
358 | 361 | 6 -1 -1 2 1 -1 base 46 45 46 1.02222 46 0 0.00000 |
|
359 | 362 | 7 6 -1 2 2 6 p1 57 90 103 1.14444 103 0 0.00000 |
|
360 | 363 | 8 7 -1 2 3 7 p1 57 135 160 1.18519 160 0 0.00000 |
|
361 | 364 | 9 8 -1 2 4 8 p1 57 180 217 1.20556 217 0 0.00000 |
|
362 | 365 | 10 9 -1 2 5 9 p1 58 226 275 1.21681 275 0 0.00000 |
|
363 | 366 | 11 10 -1 2 6 10 p1 58 272 333 1.22426 333 0 0.00000 |
|
364 | 367 | 12 11 -1 2 7 11 p1 58 318 391 1.22956 391 0 0.00000 |
|
365 | 368 | 13 12 -1 2 8 12 p1 58 364 449 1.23352 449 0 0.00000 |
|
366 | 369 | 14 13 -1 2 9 13 p1 58 410 507 1.23659 507 0 0.00000 |
|
367 | 370 | 15 14 -1 2 10 14 p1 58 456 565 1.23904 565 0 0.00000 |
|
368 | 371 | 16 15 -1 2 11 15 p1 58 502 623 1.24104 623 0 0.00000 |
|
369 | 372 | 17 16 -1 2 12 16 p1 58 548 681 1.24270 681 0 0.00000 |
|
370 | 373 | 18 -1 -1 3 1 -1 base 47 46 47 1.02174 47 0 0.00000 |
|
371 | 374 | 19 18 -1 3 2 18 p1 58 92 105 1.14130 105 0 0.00000 |
|
372 | 375 | 20 19 -1 3 3 19 p1 58 138 163 1.18116 163 0 0.00000 |
|
373 | 376 | 21 20 -1 3 4 20 p1 58 184 221 1.20109 221 0 0.00000 |
|
374 | 377 | 22 21 -1 3 5 21 p1 58 230 279 1.21304 279 0 0.00000 |
|
375 | 378 | 23 22 -1 3 6 22 p1 58 276 337 1.22101 337 0 0.00000 |
|
376 | 379 | 24 23 -1 3 7 23 p1 58 322 395 1.22671 395 0 0.00000 |
|
377 | 380 | 25 24 -1 3 8 24 p1 58 368 453 1.23098 453 0 0.00000 |
|
378 | 381 | 26 25 -1 3 9 25 p1 58 414 511 1.23430 511 0 0.00000 |
|
379 | 382 | 27 26 -1 3 10 26 p1 58 460 569 1.23696 569 0 0.00000 |
|
380 | 383 | 28 27 -1 3 11 27 p1 58 506 627 1.23913 627 0 0.00000 |
|
381 | 384 | 29 28 -1 3 12 28 p1 58 552 685 1.24094 685 0 0.00000 |
|
382 | 385 | 30 29 -1 3 13 29 p1 58 598 743 1.24247 743 0 0.00000 |
|
383 | 386 | 31 30 -1 3 14 30 p1 58 644 801 1.24379 801 0 0.00000 |
|
384 | 387 | 32 31 -1 3 15 31 p1 58 690 859 1.24493 859 0 0.00000 |
|
385 | 388 | 33 32 -1 3 16 32 p1 58 736 917 1.24592 917 0 0.00000 |
|
386 | 389 | 34 33 -1 3 17 33 p1 58 782 975 1.24680 975 0 0.00000 |
|
387 | 390 | 35 34 -1 3 18 34 p1 58 828 1033 1.24758 1033 0 0.00000 |
|
388 | 391 | 36 35 -1 3 19 35 p1 58 874 1091 1.24828 1091 0 0.00000 |
|
389 | 392 | 37 36 -1 3 20 36 p1 58 920 1149 1.24891 1149 0 0.00000 |
|
390 | 393 | 38 37 -1 3 21 37 p1 58 966 1207 1.24948 1207 0 0.00000 |
|
391 | 394 | 39 38 -1 3 22 38 p1 58 1012 1265 1.25000 1265 0 0.00000 |
|
392 | 395 | 40 39 -1 3 23 39 p1 58 1058 1323 1.25047 1323 0 0.00000 |
|
393 | 396 | 41 40 -1 3 24 40 p1 58 1104 1381 1.25091 1381 0 0.00000 |
|
394 | 397 | 42 41 -1 3 25 41 p1 58 1150 1439 1.25130 1439 0 0.00000 |
|
395 | 398 | 43 42 -1 3 26 42 p1 58 1196 1497 1.25167 1497 0 0.00000 |
|
396 | 399 | 44 43 -1 3 27 43 p1 58 1242 1555 1.25201 1555 0 0.00000 |
|
397 | 400 | 45 44 -1 3 28 44 p1 58 1288 1613 1.25233 1613 0 0.00000 |
|
398 | 401 | 46 45 -1 3 29 45 p1 58 1334 1671 1.25262 1671 0 0.00000 |
|
399 | 402 | 47 46 -1 3 30 46 p1 58 1380 1729 1.25290 1729 0 0.00000 |
|
400 | 403 | 48 47 -1 3 31 47 p1 58 1426 1787 1.25316 1787 0 0.00000 |
|
401 | 404 | 49 5 -1 1 7 5 p1 58 316 389 1.23101 2857 2468 6.34447 |
|
402 | 405 | 50 49 -1 1 8 49 p1 58 362 447 1.23481 2915 2468 5.52125 |
|
403 | 406 | 51 17 -1 2 13 17 p1 58 594 739 1.24411 2642 1903 2.57510 |
|
404 | 407 | 52 51 -1 2 14 51 p1 58 640 797 1.24531 2700 1903 2.38770 |
|
405 | 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