|
@@
-234,7
+234,7
b' Empty bundle'
|
|
234
|
Test bundling
|
|
234
|
Test bundling
|
|
235
|
|
|
235
|
|
|
236
|
$ hg bundle2
|
|
236
|
$ hg bundle2
|
|
237
|
HG2X\x00\x00\x00\x00 (no-eol) (esc)
|
|
237
|
HG2Y\x00\x00\x00\x00\x00\x00\x00\x00 (no-eol) (esc)
|
|
238
|
|
|
238
|
|
|
239
|
Test unbundling
|
|
239
|
Test unbundling
|
|
240
|
|
|
240
|
|
|
@@
-264,7
+264,7
b' Simplest possible parameters form'
|
|
264
|
Test generation simple option
|
|
264
|
Test generation simple option
|
|
265
|
|
|
265
|
|
|
266
|
$ hg bundle2 --param 'caution'
|
|
266
|
$ hg bundle2 --param 'caution'
|
|
267
|
HG2X\x00\x07caution\x00\x00 (no-eol) (esc)
|
|
267
|
HG2Y\x00\x00\x00\x07caution\x00\x00\x00\x00 (no-eol) (esc)
|
|
268
|
|
|
268
|
|
|
269
|
Test unbundling
|
|
269
|
Test unbundling
|
|
270
|
|
|
270
|
|
|
@@
-276,7
+276,7
b' Test unbundling'
|
|
276
|
Test generation multiple option
|
|
276
|
Test generation multiple option
|
|
277
|
|
|
277
|
|
|
278
|
$ hg bundle2 --param 'caution' --param 'meal'
|
|
278
|
$ hg bundle2 --param 'caution' --param 'meal'
|
|
279
|
HG2X\x00\x0ccaution meal\x00\x00 (no-eol) (esc)
|
|
279
|
HG2Y\x00\x00\x00\x0ccaution meal\x00\x00\x00\x00 (no-eol) (esc)
|
|
280
|
|
|
280
|
|
|
281
|
Test unbundling
|
|
281
|
Test unbundling
|
|
282
|
|
|
282
|
|
|
@@
-292,7
+292,7
b' advisory parameters, with value'
|
|
292
|
Test generation
|
|
292
|
Test generation
|
|
293
|
|
|
293
|
|
|
294
|
$ hg bundle2 --param 'caution' --param 'meal=vegan' --param 'elephants'
|
|
294
|
$ hg bundle2 --param 'caution' --param 'meal=vegan' --param 'elephants'
|
|
295
|
HG2X\x00\x1ccaution meal=vegan elephants\x00\x00 (no-eol) (esc)
|
|
295
|
HG2Y\x00\x00\x00\x1ccaution meal=vegan elephants\x00\x00\x00\x00 (no-eol) (esc)
|
|
296
|
|
|
296
|
|
|
297
|
Test unbundling
|
|
297
|
Test unbundling
|
|
298
|
|
|
298
|
|
|
@@
-310,7
+310,7
b' parameter with special char in value'
|
|
310
|
Test generation
|
|
310
|
Test generation
|
|
311
|
|
|
311
|
|
|
312
|
$ hg bundle2 --param 'e|! 7/=babar%#==tutu' --param simple
|
|
312
|
$ hg bundle2 --param 'e|! 7/=babar%#==tutu' --param simple
|
|
313
|
HG2X\x00)e%7C%21%207/=babar%25%23%3D%3Dtutu simple\x00\x00 (no-eol) (esc)
|
|
313
|
HG2Y\x00\x00\x00)e%7C%21%207/=babar%25%23%3D%3Dtutu simple\x00\x00\x00\x00 (no-eol) (esc)
|
|
314
|
|
|
314
|
|
|
315
|
Test unbundling
|
|
315
|
Test unbundling
|
|
316
|
|
|
316
|
|
|
@@
-334,7
+334,7
b' Test debug output'
|
|
334
|
bundling debug
|
|
334
|
bundling debug
|
|
335
|
|
|
335
|
|
|
336
|
$ hg bundle2 --debug --param 'e|! 7/=babar%#==tutu' --param simple ../out.hg2
|
|
336
|
$ hg bundle2 --debug --param 'e|! 7/=babar%#==tutu' --param simple ../out.hg2
|
|
337
|
start emission of HG2X stream
|
|
337
|
start emission of HG2Y stream
|
|
338
|
bundle parameter: e%7C%21%207/=babar%25%23%3D%3Dtutu simple
|
|
338
|
bundle parameter: e%7C%21%207/=babar%25%23%3D%3Dtutu simple
|
|
339
|
start of parts
|
|
339
|
start of parts
|
|
340
|
end of bundle
|
|
340
|
end of bundle
|
|
@@
-342,12
+342,12
b' bundling debug'
|
|
342
|
file content is ok
|
|
342
|
file content is ok
|
|
343
|
|
|
343
|
|
|
344
|
$ cat ../out.hg2
|
|
344
|
$ cat ../out.hg2
|
|
345
|
HG2X\x00)e%7C%21%207/=babar%25%23%3D%3Dtutu simple\x00\x00 (no-eol) (esc)
|
|
345
|
HG2Y\x00\x00\x00)e%7C%21%207/=babar%25%23%3D%3Dtutu simple\x00\x00\x00\x00 (no-eol) (esc)
|
|
346
|
|
|
346
|
|
|
347
|
unbundling debug
|
|
347
|
unbundling debug
|
|
348
|
|
|
348
|
|
|
349
|
$ hg statbundle2 --debug < ../out.hg2
|
|
349
|
$ hg statbundle2 --debug < ../out.hg2
|
|
350
|
start processing of HG2X stream
|
|
350
|
start processing of HG2Y stream
|
|
351
|
reading bundle2 stream parameters
|
|
351
|
reading bundle2 stream parameters
|
|
352
|
ignoring unknown parameter 'e|! 7/'
|
|
352
|
ignoring unknown parameter 'e|! 7/'
|
|
353
|
ignoring unknown parameter 'simple'
|
|
353
|
ignoring unknown parameter 'simple'
|
|
@@
-381,7
+381,7
b' Test part'
|
|
381
|
=================
|
|
381
|
=================
|
|
382
|
|
|
382
|
|
|
383
|
$ hg bundle2 --parts ../parts.hg2 --debug
|
|
383
|
$ hg bundle2 --parts ../parts.hg2 --debug
|
|
384
|
start emission of HG2X stream
|
|
384
|
start emission of HG2Y stream
|
|
385
|
bundle parameter:
|
|
385
|
bundle parameter:
|
|
386
|
start of parts
|
|
386
|
start of parts
|
|
387
|
bundle part: "test:empty"
|
|
387
|
bundle part: "test:empty"
|
|
@@
-394,11
+394,11
b' Test part'
|
|
394
|
end of bundle
|
|
394
|
end of bundle
|
|
395
|
|
|
395
|
|
|
396
|
$ cat ../parts.hg2
|
|
396
|
$ cat ../parts.hg2
|
|
397
|
HG2X\x00\x00\x00\x11 (esc)
|
|
397
|
HG2Y\x00\x00\x00\x00\x00\x00\x00\x11 (esc)
|
|
398
|
test:empty\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11 (esc)
|
|
398
|
test:empty\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11 (esc)
|
|
399
|
test:empty\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x10 test:song\x00\x00\x00\x02\x00\x00\x00\x00\x00\xb2Patali Dirapata, Cromda Cromda Ripalo, Pata Pata, Ko Ko Ko (esc)
|
|
399
|
test:empty\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10 test:song\x00\x00\x00\x02\x00\x00\x00\x00\x00\xb2Patali Dirapata, Cromda Cromda Ripalo, Pata Pata, Ko Ko Ko (esc)
|
|
400
|
Bokoro Dipoulito, Rondi Rondi Pepino, Pata Pata, Ko Ko Ko
|
|
400
|
Bokoro Dipoulito, Rondi Rondi Pepino, Pata Pata, Ko Ko Ko
|
|
401
|
Emana Karassoli, Loucra Loucra Ponponto, Pata Pata, Ko Ko Ko.\x00\x00\x00\x00\x00\x16\x0ftest:debugreply\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00+ test:math\x00\x00\x00\x04\x02\x01\x02\x04\x01\x04\x07\x03pi3.14e2.72cookingraw\x00\x00\x00\x0242\x00\x00\x00\x00\x00\x1d test:song\x00\x00\x00\x05\x01\x00\x0b\x00randomparam\x00\x00\x00\x00\x00\x10 test:ping\x00\x00\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00 (no-eol) (esc)
|
|
401
|
Emana Karassoli, Loucra Loucra Ponponto, Pata Pata, Ko Ko Ko.\x00\x00\x00\x00\x00\x00\x00\x16\x0ftest:debugreply\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00+ test:math\x00\x00\x00\x04\x02\x01\x02\x04\x01\x04\x07\x03pi3.14e2.72cookingraw\x00\x00\x00\x0242\x00\x00\x00\x00\x00\x00\x00\x1d test:song\x00\x00\x00\x05\x01\x00\x0b\x00randomparam\x00\x00\x00\x00\x00\x00\x00\x10 test:ping\x00\x00\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 (no-eol) (esc)
|
|
402
|
|
|
402
|
|
|
403
|
|
|
403
|
|
|
404
|
$ hg statbundle2 < ../parts.hg2
|
|
404
|
$ hg statbundle2 < ../parts.hg2
|
|
@@
-434,7
+434,7
b' Test part'
|
|
434
|
parts count: 7
|
|
434
|
parts count: 7
|
|
435
|
|
|
435
|
|
|
436
|
$ hg statbundle2 --debug < ../parts.hg2
|
|
436
|
$ hg statbundle2 --debug < ../parts.hg2
|
|
437
|
start processing of HG2X stream
|
|
437
|
start processing of HG2Y stream
|
|
438
|
reading bundle2 stream parameters
|
|
438
|
reading bundle2 stream parameters
|
|
439
|
options count: 0
|
|
439
|
options count: 0
|
|
440
|
start extraction of bundle2 parts
|
|
440
|
start extraction of bundle2 parts
|
|
@@
-513,7
+513,7
b' Test actual unbundling of test part'
|
|
513
|
Process the bundle
|
|
513
|
Process the bundle
|
|
514
|
|
|
514
|
|
|
515
|
$ hg unbundle2 --debug < ../parts.hg2
|
|
515
|
$ hg unbundle2 --debug < ../parts.hg2
|
|
516
|
start processing of HG2X stream
|
|
516
|
start processing of HG2Y stream
|
|
517
|
reading bundle2 stream parameters
|
|
517
|
reading bundle2 stream parameters
|
|
518
|
start extraction of bundle2 parts
|
|
518
|
start extraction of bundle2 parts
|
|
519
|
part header size: 17
|
|
519
|
part header size: 17
|
|
@@
-607,12
+607,12
b' unbundle with a reply'
|
|
607
|
The reply is a bundle
|
|
607
|
The reply is a bundle
|
|
608
|
|
|
608
|
|
|
609
|
$ cat ../reply.hg2
|
|
609
|
$ cat ../reply.hg2
|
|
610
|
HG2X\x00\x00\x00\x1f (esc)
|
|
610
|
HG2Y\x00\x00\x00\x00\x00\x00\x00\x1f (esc)
|
|
611
|
b2x:output\x00\x00\x00\x00\x00\x01\x0b\x01in-reply-to3\x00\x00\x00\xd9The choir starts singing: (esc)
|
|
611
|
b2x:output\x00\x00\x00\x00\x00\x01\x0b\x01in-reply-to3\x00\x00\x00\xd9The choir starts singing: (esc)
|
|
612
|
Patali Dirapata, Cromda Cromda Ripalo, Pata Pata, Ko Ko Ko
|
|
612
|
Patali Dirapata, Cromda Cromda Ripalo, Pata Pata, Ko Ko Ko
|
|
613
|
Bokoro Dipoulito, Rondi Rondi Pepino, Pata Pata, Ko Ko Ko
|
|
613
|
Bokoro Dipoulito, Rondi Rondi Pepino, Pata Pata, Ko Ko Ko
|
|
614
|
Emana Karassoli, Loucra Loucra Ponponto, Pata Pata, Ko Ko Ko.
|
|
614
|
Emana Karassoli, Loucra Loucra Ponponto, Pata Pata, Ko Ko Ko.
|
|
615
|
\x00\x00\x00\x00\x00\x1f (esc)
|
|
615
|
\x00\x00\x00\x00\x00\x00\x00\x1f (esc)
|
|
616
|
b2x:output\x00\x00\x00\x01\x00\x01\x0b\x01in-reply-to4\x00\x00\x00\xc9debugreply: capabilities: (esc)
|
|
616
|
b2x:output\x00\x00\x00\x01\x00\x01\x0b\x01in-reply-to4\x00\x00\x00\xc9debugreply: capabilities: (esc)
|
|
617
|
debugreply: 'city=!'
|
|
617
|
debugreply: 'city=!'
|
|
618
|
debugreply: 'celeste,ville'
|
|
618
|
debugreply: 'celeste,ville'
|
|
@@
-620,10
+620,10
b' The reply is a bundle'
|
|
620
|
debugreply: 'babar'
|
|
620
|
debugreply: 'babar'
|
|
621
|
debugreply: 'celeste'
|
|
621
|
debugreply: 'celeste'
|
|
622
|
debugreply: 'ping-pong'
|
|
622
|
debugreply: 'ping-pong'
|
|
623
|
\x00\x00\x00\x00\x00\x1e test:pong\x00\x00\x00\x02\x01\x00\x0b\x01in-reply-to7\x00\x00\x00\x00\x00\x1f (esc)
|
|
623
|
\x00\x00\x00\x00\x00\x00\x00\x1e test:pong\x00\x00\x00\x02\x01\x00\x0b\x01in-reply-to7\x00\x00\x00\x00\x00\x00\x00\x1f (esc)
|
|
624
|
b2x:output\x00\x00\x00\x03\x00\x01\x0b\x01in-reply-to7\x00\x00\x00=received ping request (id 7) (esc)
|
|
624
|
b2x:output\x00\x00\x00\x03\x00\x01\x0b\x01in-reply-to7\x00\x00\x00=received ping request (id 7) (esc)
|
|
625
|
replying to ping request (id 7)
|
|
625
|
replying to ping request (id 7)
|
|
626
|
\x00\x00\x00\x00\x00\x00 (no-eol) (esc)
|
|
626
|
\x00\x00\x00\x00\x00\x00\x00\x00 (no-eol) (esc)
|
|
627
|
|
|
627
|
|
|
628
|
The reply is valid
|
|
628
|
The reply is valid
|
|
629
|
|
|
629
|
|
|
@@
-711,7
+711,7
b' Support for changegroup'
|
|
711
|
9520eea781bcca16c1e15acc0ba14335a0e8e5ba
|
|
711
|
9520eea781bcca16c1e15acc0ba14335a0e8e5ba
|
|
712
|
eea13746799a9e0bfd88f29d3c2e9dc9389f524f
|
|
712
|
eea13746799a9e0bfd88f29d3c2e9dc9389f524f
|
|
713
|
02de42196ebee42ef284b6780a87cdc96e8eaab6
|
|
713
|
02de42196ebee42ef284b6780a87cdc96e8eaab6
|
|
714
|
start emission of HG2X stream
|
|
714
|
start emission of HG2Y stream
|
|
715
|
bundle parameter:
|
|
715
|
bundle parameter:
|
|
716
|
start of parts
|
|
716
|
start of parts
|
|
717
|
bundle part: "b2x:changegroup"
|
|
717
|
bundle part: "b2x:changegroup"
|
|
@@
-729,7
+729,7
b' Support for changegroup'
|
|
729
|
end of bundle
|
|
729
|
end of bundle
|
|
730
|
|
|
730
|
|
|
731
|
$ cat ../rev.hg2
|
|
731
|
$ cat ../rev.hg2
|
|
732
|
HG2X\x00\x00\x00\x16\x0fb2x:changegroup\x00\x00\x00\x00\x00\x00\x00\x00\x06\x13\x00\x00\x00\xa42\xafv\x86\xd4\x03\xcfE\xb5\xd9_-p\xce\xbe\xa5\x87\xac\x80j_\xdd\xd9\x89W\xc8\xa5JMCm\xfe\x1d\xa9\xd8\x7f!\xa1\xb9{\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x002\xafv\x86\xd4\x03\xcfE\xb5\xd9_-p\xce\xbe\xa5\x87\xac\x80j\x00\x00\x00\x00\x00\x00\x00)\x00\x00\x00)6e1f4c47ecb533ffd0c8e52cdc88afb6cd39e20c (esc)
|
|
732
|
HG2Y\x00\x00\x00\x00\x00\x00\x00\x16\x0fb2x:changegroup\x00\x00\x00\x00\x00\x00\x00\x00\x06\x13\x00\x00\x00\xa42\xafv\x86\xd4\x03\xcfE\xb5\xd9_-p\xce\xbe\xa5\x87\xac\x80j_\xdd\xd9\x89W\xc8\xa5JMCm\xfe\x1d\xa9\xd8\x7f!\xa1\xb9{\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x002\xafv\x86\xd4\x03\xcfE\xb5\xd9_-p\xce\xbe\xa5\x87\xac\x80j\x00\x00\x00\x00\x00\x00\x00)\x00\x00\x00)6e1f4c47ecb533ffd0c8e52cdc88afb6cd39e20c (esc)
|
|
733
|
\x00\x00\x00f\x00\x00\x00h\x00\x00\x00\x02D (esc)
|
|
733
|
\x00\x00\x00f\x00\x00\x00h\x00\x00\x00\x02D (esc)
|
|
734
|
\x00\x00\x00i\x00\x00\x00j\x00\x00\x00\x01D\x00\x00\x00\xa4\x95 \xee\xa7\x81\xbc\xca\x16\xc1\xe1Z\xcc\x0b\xa1C5\xa0\xe8\xe5\xba\xcd\x01\x0b\x8c\xd9\x98\xf3\x98\x1aZ\x81\x15\xf9O\x8d\xa4\xabP`\x89\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x95 \xee\xa7\x81\xbc\xca\x16\xc1\xe1Z\xcc\x0b\xa1C5\xa0\xe8\xe5\xba\x00\x00\x00\x00\x00\x00\x00)\x00\x00\x00)4dece9c826f69490507b98c6383a3009b295837d (esc)
|
|
734
|
\x00\x00\x00i\x00\x00\x00j\x00\x00\x00\x01D\x00\x00\x00\xa4\x95 \xee\xa7\x81\xbc\xca\x16\xc1\xe1Z\xcc\x0b\xa1C5\xa0\xe8\xe5\xba\xcd\x01\x0b\x8c\xd9\x98\xf3\x98\x1aZ\x81\x15\xf9O\x8d\xa4\xabP`\x89\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x95 \xee\xa7\x81\xbc\xca\x16\xc1\xe1Z\xcc\x0b\xa1C5\xa0\xe8\xe5\xba\x00\x00\x00\x00\x00\x00\x00)\x00\x00\x00)4dece9c826f69490507b98c6383a3009b295837d (esc)
|
|
735
|
\x00\x00\x00f\x00\x00\x00h\x00\x00\x00\x02E (esc)
|
|
735
|
\x00\x00\x00f\x00\x00\x00h\x00\x00\x00\x02E (esc)
|
|
@@
-750,7
+750,7
b' Support for changegroup'
|
|
750
|
\x0cI\xd4\xa9\xc5\x01|\xf0pC\xf5NX\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x95 \xee\xa7\x81\xbc\xca\x16\xc1\xe1Z\xcc\x0b\xa1C5\xa0\xe8\xe5\xba\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02E (esc)
|
|
750
|
\x0cI\xd4\xa9\xc5\x01|\xf0pC\xf5NX\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x95 \xee\xa7\x81\xbc\xca\x16\xc1\xe1Z\xcc\x0b\xa1C5\xa0\xe8\xe5\xba\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02E (esc)
|
|
751
|
\x00\x00\x00\x00\x00\x00\x00\x05H\x00\x00\x00b\x85\x00\x18\x9et\xa9\xe0G^\x82 \x93\xbc}\xb0\xd61\xae\xb0\xb4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\xdeB\x19n\xbe\xe4.\xf2\x84\xb6x (esc)
|
|
751
|
\x00\x00\x00\x00\x00\x00\x00\x05H\x00\x00\x00b\x85\x00\x18\x9et\xa9\xe0G^\x82 \x93\xbc}\xb0\xd61\xae\xb0\xb4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\xdeB\x19n\xbe\xe4.\xf2\x84\xb6x (esc)
|
|
752
|
\x87\xcd\xc9n\x8e\xaa\xb6\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02H (esc)
|
|
752
|
\x87\xcd\xc9n\x8e\xaa\xb6\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02H (esc)
|
|
753
|
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 (no-eol) (esc)
|
|
753
|
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 (no-eol) (esc)
|
|
754
|
|
|
754
|
|
|
755
|
$ hg unbundle2 < ../rev.hg2
|
|
755
|
$ hg unbundle2 < ../rev.hg2
|
|
756
|
adding changesets
|
|
756
|
adding changesets
|
|
@@
-768,12
+768,12
b' with reply'
|
|
768
|
addchangegroup return: 1
|
|
768
|
addchangegroup return: 1
|
|
769
|
|
|
769
|
|
|
770
|
$ cat ../rev-reply.hg2
|
|
770
|
$ cat ../rev-reply.hg2
|
|
771
|
HG2X\x00\x00\x003\x15b2x:reply:changegroup\x00\x00\x00\x00\x00\x02\x0b\x01\x06\x01in-reply-to1return1\x00\x00\x00\x00\x00\x1f (esc)
|
|
771
|
HG2Y\x00\x00\x00\x00\x00\x00\x003\x15b2x:reply:changegroup\x00\x00\x00\x00\x00\x02\x0b\x01\x06\x01in-reply-to1return1\x00\x00\x00\x00\x00\x00\x00\x1f (esc)
|
|
772
|
b2x:output\x00\x00\x00\x01\x00\x01\x0b\x01in-reply-to1\x00\x00\x00dadding changesets (esc)
|
|
772
|
b2x:output\x00\x00\x00\x01\x00\x01\x0b\x01in-reply-to1\x00\x00\x00dadding changesets (esc)
|
|
773
|
adding manifests
|
|
773
|
adding manifests
|
|
774
|
adding file changes
|
|
774
|
adding file changes
|
|
775
|
added 0 changesets with 0 changes to 3 files
|
|
775
|
added 0 changesets with 0 changes to 3 files
|
|
776
|
\x00\x00\x00\x00\x00\x00 (no-eol) (esc)
|
|
776
|
\x00\x00\x00\x00\x00\x00\x00\x00 (no-eol) (esc)
|
|
777
|
|
|
777
|
|
|
778
|
Check handling of exception during generation.
|
|
778
|
Check handling of exception during generation.
|
|
779
|
----------------------------------------------
|
|
779
|
----------------------------------------------
|
|
@@
-787,7
+787,7
b' Should still be a valid bundle'
|
|
787
|
(is currently not right)
|
|
787
|
(is currently not right)
|
|
788
|
|
|
788
|
|
|
789
|
$ cat ../genfailed.hg2
|
|
789
|
$ cat ../genfailed.hg2
|
|
790
|
HG2X\x00\x00\x00\x11 (esc)
|
|
790
|
HG2Y\x00\x00\x00\x00\x00\x00\x00\x11 (esc)
|
|
791
|
b2x:output\x00\x00\x00\x00\x00\x00 (no-eol) (esc)
|
|
791
|
b2x:output\x00\x00\x00\x00\x00\x00 (no-eol) (esc)
|
|
792
|
|
|
792
|
|
|
793
|
And its handling on the other size raise a clean exception
|
|
793
|
And its handling on the other size raise a clean exception
|
|
@@
-795,7
+795,7
b' And its handling on the other size raise'
|
|
795
|
|
|
795
|
|
|
796
|
$ cat ../genfailed.hg2 | hg unbundle2
|
|
796
|
$ cat ../genfailed.hg2 | hg unbundle2
|
|
797
|
0 unread bytes
|
|
797
|
0 unread bytes
|
|
798
|
abort: stream ended unexpectedly (got 0 bytes, expected 2)
|
|
798
|
abort: stream ended unexpectedly (got 0 bytes, expected 4)
|
|
799
|
[255]
|
|
799
|
[255]
|
|
800
|
|
|
800
|
|
|
801
|
|
|
801
|
|