Show More
@@ -1,3 +1,9 b'' | |||
|
1 | ||
|
2 | $ cat << EOF >> $HGRCPATH | |
|
3 | > [format] | |
|
4 | > usegeneraldelta=yes | |
|
5 | > EOF | |
|
6 | ||
|
1 | 7 | Setting up test |
|
2 | 8 | |
|
3 | 9 | $ hg init test |
@@ -260,15 +266,15 b' Cannot produce streaming clone bundles w' | |||
|
260 | 266 | packed1 is produced properly |
|
261 | 267 | |
|
262 | 268 | $ hg -R test debugcreatestreamclonebundle packed.hg |
|
263 |
writing 26 |
|
|
264 | bundle requirements: revlogv1 | |
|
269 | writing 2663 bytes for 6 files | |
|
270 | bundle requirements: generaldelta, revlogv1 | |
|
265 | 271 | |
|
266 | 272 | $ f -B 64 --size --sha1 --hexdump packed.hg |
|
267 | packed.hg: size=2758, sha1=864c1c7b490bac9f2950ef5a660668378ac0524e | |
|
273 | packed.hg: size=2826, sha1=e139f97692a142b19cdcff64a69697d5307ce6d4 | |
|
268 | 274 | 0000: 48 47 53 31 55 4e 00 00 00 00 00 00 00 06 00 00 |HGS1UN..........| |
|
269 |
0010: 00 00 00 00 0a |
|
|
270 | 0020: 00 64 61 74 61 2f 61 64 69 66 66 65 72 65 6e 74 |.data/adifferent| | |
|
271 | 0030: 66 69 6c 65 2e 69 00 31 33 39 0a 00 01 00 01 00 |file.i.139......| | |
|
275 | 0010: 00 00 00 00 0a 67 00 16 67 65 6e 65 72 61 6c 64 |.....g..generald| | |
|
276 | 0020: 65 6c 74 61 2c 72 65 76 6c 6f 67 76 31 00 64 61 |elta,revlogv1.da| | |
|
277 | 0030: 74 61 2f 61 64 69 66 66 65 72 65 6e 74 66 69 6c |ta/adifferentfil| | |
|
272 | 278 | |
|
273 | 279 | generaldelta requirement is listed in stream clone bundles |
|
274 | 280 | |
@@ -299,8 +305,8 b' Unpacking packed1 bundles with "hg unbun' | |||
|
299 | 305 | packed1 can be consumed from debug command |
|
300 | 306 | |
|
301 | 307 | $ hg -R packed debugapplystreamclonebundle packed.hg |
|
302 |
6 files to transfer, 2. |
|
|
303 |
transferred 2. |
|
|
308 | 6 files to transfer, 2.60 KB of data | |
|
309 | transferred 2.60 KB in *.* seconds (* */sec) (glob) | |
|
304 | 310 | |
|
305 | 311 | Does not work on non-empty repo |
|
306 | 312 | |
@@ -695,6 +701,8 b' bundle single branch' | |||
|
695 | 701 | list of changesets: |
|
696 | 702 | 1a38c1b849e8b70c756d2d80b0b9a3ac0b7ea11a |
|
697 | 703 | 057f4db07f61970e1c11e83be79e9d08adc4dc31 |
|
704 | bundle2-output-bundle: "HG20", (1 params) 1 parts total | |
|
705 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
|
698 | 706 | bundling: 1/2 changesets (50.00%) |
|
699 | 707 | bundling: 2/2 changesets (100.00%) |
|
700 | 708 | bundling: 1/2 manifests (50.00%) |
General Comments 0
You need to be logged in to leave comments.
Login now