Show More
@@ -1432,9 +1432,9 b' class revlog(object):' | |||
|
1432 | 1432 | if self._isgooddelta(candidatedelta, textlen): |
|
1433 | 1433 | delta = candidatedelta |
|
1434 | 1434 | if delta is None and self._generaldelta: |
|
1435 | parents = [p1r, p2r] | |
|
1436 | 1435 | # exclude already lazy tested base if any |
|
1437 |
parents = [p for p in |
|
|
1436 | parents = [p for p in (p1r, p2r) | |
|
1437 | if p != nullrev and p not in tested] | |
|
1438 | 1438 | if parents and not self._aggressivemergedeltas: |
|
1439 | 1439 | # Pick whichever parent is closer to us (to minimize the |
|
1440 | 1440 | # chance of having to build a fulltext). |
@@ -266,13 +266,13 b' Cannot produce streaming clone bundles w' | |||
|
266 | 266 | packed1 is produced properly |
|
267 | 267 | |
|
268 | 268 | $ hg -R test debugcreatestreamclonebundle packed.hg |
|
269 |
writing 266 |
|
|
269 | writing 2663 bytes for 6 files | |
|
270 | 270 | bundle requirements: generaldelta, revlogv1 |
|
271 | 271 | |
|
272 | 272 | $ f -B 64 --size --sha1 --hexdump packed.hg |
|
273 | packed.hg: size=2830, sha1=c28255110a88ffa52ddc44985cad295b1ab349bc | |
|
273 | packed.hg: size=2826, sha1=e139f97692a142b19cdcff64a69697d5307ce6d4 | |
|
274 | 274 | 0000: 48 47 53 31 55 4e 00 00 00 00 00 00 00 06 00 00 |HGS1UN..........| |
|
275 |
0010: 00 00 00 00 0a 6 |
|
|
275 | 0010: 00 00 00 00 0a 67 00 16 67 65 6e 65 72 61 6c 64 |.....g..generald| | |
|
276 | 276 | 0020: 65 6c 74 61 2c 72 65 76 6c 6f 67 76 31 00 64 61 |elta,revlogv1.da| |
|
277 | 277 | 0030: 74 61 2f 61 64 69 66 66 65 72 65 6e 74 66 69 6c |ta/adifferentfil| |
|
278 | 278 |
@@ -133,8 +133,8 b' Test format.aggressivemergedeltas' | |||
|
133 | 133 | $ hg debugindex -m |
|
134 | 134 | rev offset length delta linkrev nodeid p1 p2 |
|
135 | 135 | 0 0 59 -1 0 8dde941edb6e 000000000000 000000000000 |
|
136 |
1 59 |
|
|
137 |
2 1 |
|
|
136 | 1 59 61 0 1 315c023f341d 000000000000 000000000000 | |
|
137 | 2 120 65 1 2 2ab389a983eb 315c023f341d 8dde941edb6e | |
|
138 | 138 | |
|
139 | 139 | $ hg strip -q -r . --config extensions.strip= |
|
140 | 140 | |
@@ -145,8 +145,8 b' Test format.aggressivemergedeltas' | |||
|
145 | 145 | $ hg debugindex -m |
|
146 | 146 | rev offset length delta linkrev nodeid p1 p2 |
|
147 | 147 | 0 0 59 -1 0 8dde941edb6e 000000000000 000000000000 |
|
148 |
1 59 |
|
|
149 |
2 1 |
|
|
148 | 1 59 61 0 1 315c023f341d 000000000000 000000000000 | |
|
149 | 2 120 62 0 2 2ab389a983eb 315c023f341d 8dde941edb6e | |
|
150 | 150 | |
|
151 | 151 | Test that strip bundle use bundle2 |
|
152 | 152 | $ hg --config extensions.strip= strip . |
@@ -276,14 +276,14 b' Turning off treemanifest config has no e' | |||
|
276 | 276 | $ hg debugindex .hg/store/meta/dir1/00manifest.i |
|
277 | 277 | rev offset length delta linkrev nodeid p1 p2 |
|
278 | 278 | 0 0 125 -1 4 63c9c0557d24 000000000000 000000000000 |
|
279 |
1 125 1 |
|
|
279 | 1 125 109 0 5 23d12a1f6e0e 000000000000 000000000000 | |
|
280 | 280 | $ echo 2 > dir1/a |
|
281 | 281 | $ hg --config experimental.treemanifest=False ci -qm 'modify dir1/a' |
|
282 | 282 | $ hg debugindex .hg/store/meta/dir1/00manifest.i |
|
283 | 283 | rev offset length delta linkrev nodeid p1 p2 |
|
284 | 284 | 0 0 125 -1 4 63c9c0557d24 000000000000 000000000000 |
|
285 |
1 125 1 |
|
|
286 |
2 2 |
|
|
285 | 1 125 109 0 5 23d12a1f6e0e 000000000000 000000000000 | |
|
286 | 2 234 55 1 6 3cb2d87b4250 23d12a1f6e0e 000000000000 | |
|
287 | 287 | |
|
288 | 288 | Create deeper repo with tree manifests. |
|
289 | 289 |
General Comments 0
You need to be logged in to leave comments.
Login now