##// END OF EJS Templates
tests: check patchbomb with a non-ascii commit message...
Denis Laxalde -
r43646:08189f3a stable
parent child Browse files
Show More
@@ -445,7 +445,9 b' with a specific bundle type'
445
445
446 utf-8 patch:
446 utf-8 patch:
447 $ "$PYTHON" -c 'fp = open("utf", "wb"); fp.write(b"h\xC3\xB6mma!\n"); fp.close();'
447 $ "$PYTHON" -c 'fp = open("utf", "wb"); fp.write(b"h\xC3\xB6mma!\n"); fp.close();'
448 $ hg commit -A -d '4 0' -m 'utf-8 content'
448 $ hg commit -A -d '4 0' \
449 > --encoding "utf-8" \
450 > -m `"$PYTHON" -c 'import sys; getattr(sys.stdout, "buffer", sys.stdout).write(b"\xc3\xa7a")'`
449 adding description
451 adding description
450 adding utf
452 adding utf
451
453
@@ -454,16 +456,16 b' no mime encoding for email --test:'
454 this patch series consists of 1 patches.
456 this patch series consists of 1 patches.
455
457
456
458
457 displaying [PATCH] utf-8 content ...
459 displaying [PATCH] ?a ...
458 MIME-Version: 1.0
460 MIME-Version: 1.0
459 Content-Type: text/plain; charset="iso-8859-1"
461 Content-Type: text/plain; charset="iso-8859-1"
460 Content-Transfer-Encoding: quoted-printable
462 Content-Transfer-Encoding: quoted-printable
461 Subject: [PATCH] utf-8 content
463 Subject: [PATCH] ?a
462 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
464 X-Mercurial-Node: f81ef97829467e868fc405fccbcfa66217e4d3e6
463 X-Mercurial-Series-Index: 1
465 X-Mercurial-Series-Index: 1
464 X-Mercurial-Series-Total: 1
466 X-Mercurial-Series-Total: 1
465 Message-Id: <909a00e13e9d78b575ae.240@test-hostname>
467 Message-Id: <f81ef97829467e868fc4.240@test-hostname>
466 X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@test-hostname>
468 X-Mercurial-Series-Id: <f81ef97829467e868fc4.240@test-hostname>
467 User-Agent: Mercurial-patchbomb/* (glob)
469 User-Agent: Mercurial-patchbomb/* (glob)
468 Date: Thu, 01 Jan 1970 00:04:00 +0000
470 Date: Thu, 01 Jan 1970 00:04:00 +0000
469 From: quux
471 From: quux
@@ -474,18 +476,18 b' no mime encoding for email --test:'
474 # User test
476 # User test
475 # Date 4 0
477 # Date 4 0
476 # Thu Jan 01 00:00:04 1970 +0000
478 # Thu Jan 01 00:00:04 1970 +0000
477 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
479 # Node ID f81ef97829467e868fc405fccbcfa66217e4d3e6
478 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
480 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
479 utf-8 content
481 ?a
480
482
481 diff -r ff2c9fa2018b -r 909a00e13e9d description
483 diff -r ff2c9fa2018b -r f81ef9782946 description
482 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
484 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
483 +++ b/description Thu Jan 01 00:00:04 1970 +0000
485 +++ b/description Thu Jan 01 00:00:04 1970 +0000
484 @@ -0,0 +1,3 @@
486 @@ -0,0 +1,3 @@
485 +a multiline
487 +a multiline
486 +
488 +
487 +description
489 +description
488 diff -r ff2c9fa2018b -r 909a00e13e9d utf
490 diff -r ff2c9fa2018b -r f81ef9782946 utf
489 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
491 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
490 +++ b/utf Thu Jan 01 00:00:04 1970 +0000
492 +++ b/utf Thu Jan 01 00:00:04 1970 +0000
491 @@ -0,0 +1,1 @@
493 @@ -0,0 +1,1 @@
@@ -497,19 +499,19 b' mime encoded mbox (base64):'
497 this patch series consists of 1 patches.
499 this patch series consists of 1 patches.
498
500
499
501
500 sending [PATCH] utf-8 content ...
502 sending [PATCH] ?a ...
501
503
502 $ cat mbox
504 $ cat mbox
503 From quux ... ... .. ..:..:.. .... (re)
505 From quux ... ... .. ..:..:.. .... (re)
504 MIME-Version: 1.0
506 MIME-Version: 1.0
505 Content-Type: text/plain; charset="utf-8"
507 Content-Type: text/plain; charset="utf-8"
506 Content-Transfer-Encoding: base64
508 Content-Transfer-Encoding: base64
507 Subject: [PATCH] utf-8 content
509 Subject: [PATCH] ?a
508 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
510 X-Mercurial-Node: f81ef97829467e868fc405fccbcfa66217e4d3e6
509 X-Mercurial-Series-Index: 1
511 X-Mercurial-Series-Index: 1
510 X-Mercurial-Series-Total: 1
512 X-Mercurial-Series-Total: 1
511 Message-Id: <909a00e13e9d78b575ae.240@test-hostname>
513 Message-Id: <f81ef97829467e868fc4.240@test-hostname>
512 X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@test-hostname>
514 X-Mercurial-Series-Id: <f81ef97829467e868fc4.240@test-hostname>
513 User-Agent: Mercurial-patchbomb/* (glob)
515 User-Agent: Mercurial-patchbomb/* (glob)
514 Date: Thu, 01 Jan 1970 00:04:00 +0000
516 Date: Thu, 01 Jan 1970 00:04:00 +0000
515 From: Q <quux> (no-py3 !)
517 From: Q <quux> (no-py3 !)
@@ -518,15 +520,15 b' mime encoded mbox (base64):'
518 Cc: bar
520 Cc: bar
519
521
520 IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojICAgICAgVGh1IEph
522 IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojICAgICAgVGh1IEph
521 biAwMSAwMDowMDowNCAxOTcwICswMDAwCiMgTm9kZSBJRCA5MDlhMDBlMTNlOWQ3OGI1NzVhZWVl
523 biAwMSAwMDowMDowNCAxOTcwICswMDAwCiMgTm9kZSBJRCBmODFlZjk3ODI5NDY3ZTg2OGZjNDA1
522 MjNkZGRiYWRhNDZkNWExNDNmCiMgUGFyZW50ICBmZjJjOWZhMjAxOGIxNWZhNzRiMzMzNjNiZGE5
524 ZmNjYmNmYTY2MjE3ZTRkM2U2CiMgUGFyZW50ICBmZjJjOWZhMjAxOGIxNWZhNzRiMzMzNjNiZGE5
523 NTI3MzIzZTJhOTlmCnV0Zi04IGNvbnRlbnQKCmRpZmYgLXIgZmYyYzlmYTIwMThiIC1yIDkwOWEw
525 NTI3MzIzZTJhOTlmCj9hCgpkaWZmIC1yIGZmMmM5ZmEyMDE4YiAtciBmODFlZjk3ODI5NDYgZGVz
524 MGUxM2U5ZCBkZXNjcmlwdGlvbgotLS0gL2Rldi9udWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3
526 Y3JpcHRpb24KLS0tIC9kZXYvbnVsbAlUaHUgSmFuIDAxIDAwOjAwOjAwIDE5NzAgKzAwMDAKKysr
525 MCArMDAwMAorKysgYi9kZXNjcmlwdGlvbglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK
527 IGIvZGVzY3JpcHRpb24JVGh1IEphbiAwMSAwMDowMDowNCAxOTcwICswMDAwCkBAIC0wLDAgKzEs
526 QEAgLTAsMCArMSwzIEBACithIG11bHRpbGluZQorCitkZXNjcmlwdGlvbgpkaWZmIC1yIGZmMmM5
528 MyBAQAorYSBtdWx0aWxpbmUKKworZGVzY3JpcHRpb24KZGlmZiAtciBmZjJjOWZhMjAxOGIgLXIg
527 ZmEyMDE4YiAtciA5MDlhMDBlMTNlOWQgdXRmCi0tLSAvZGV2L251bGwJVGh1IEphbiAwMSAwMDow
529 ZjgxZWY5NzgyOTQ2IHV0ZgotLS0gL2Rldi9udWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3MCAr
528 MDowMCAxOTcwICswMDAwCisrKyBiL3V0ZglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK
530 MDAwMAorKysgYi91dGYJVGh1IEphbiAwMSAwMDowMDowNCAxOTcwICswMDAwCkBAIC0wLDAgKzEs
529 QEAgLTAsMCArMSwxIEBACitow7ZtbWEhCg==
531 MSBAQAoraMO2bW1hIQo=
530
532
531
533
532 >>> import base64
534 >>> import base64
@@ -541,18 +543,18 b' mime encoded mbox (base64):'
541 # User test
543 # User test
542 # Date 4 0
544 # Date 4 0
543 # Thu Jan 01 00:00:04 1970 +0000
545 # Thu Jan 01 00:00:04 1970 +0000
544 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
546 # Node ID f81ef97829467e868fc405fccbcfa66217e4d3e6
545 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
547 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
546 utf-8 content
548 ?a
547
549
548 diff -r ff2c9fa2018b -r 909a00e13e9d description
550 diff -r ff2c9fa2018b -r f81ef9782946 description
549 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
551 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
550 +++ b/description Thu Jan 01 00:00:04 1970 +0000
552 +++ b/description Thu Jan 01 00:00:04 1970 +0000
551 @@ -0,0 +1,3 @@
553 @@ -0,0 +1,3 @@
552 +a multiline
554 +a multiline
553 +
555 +
554 +description
556 +description
555 diff -r ff2c9fa2018b -r 909a00e13e9d utf
557 diff -r ff2c9fa2018b -r f81ef9782946 utf
556 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
558 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
557 +++ b/utf Thu Jan 01 00:00:04 1970 +0000
559 +++ b/utf Thu Jan 01 00:00:04 1970 +0000
558 @@ -0,0 +1,1 @@
560 @@ -0,0 +1,1 @@
@@ -575,11 +577,11 b' no mime encoding for email --test:'
575 Content-Type: text/plain; charset="us-ascii"
577 Content-Type: text/plain; charset="us-ascii"
576 Content-Transfer-Encoding: quoted-printable
578 Content-Transfer-Encoding: quoted-printable
577 Subject: [PATCH] long line
579 Subject: [PATCH] long line
578 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
580 X-Mercurial-Node: 0c7b871cb86b61a1c07e244393603c361e4a178d
579 X-Mercurial-Series-Index: 1
581 X-Mercurial-Series-Index: 1
580 X-Mercurial-Series-Total: 1
582 X-Mercurial-Series-Total: 1
581 Message-Id: <a2ea8fc83dd8b93cfd86.240@test-hostname>
583 Message-Id: <0c7b871cb86b61a1c07e.240@test-hostname>
582 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@test-hostname>
584 X-Mercurial-Series-Id: <0c7b871cb86b61a1c07e.240@test-hostname>
583 User-Agent: Mercurial-patchbomb/* (glob)
585 User-Agent: Mercurial-patchbomb/* (glob)
584 Date: Thu, 01 Jan 1970 00:04:00 +0000
586 Date: Thu, 01 Jan 1970 00:04:00 +0000
585 From: quux
587 From: quux
@@ -590,11 +592,11 b' no mime encoding for email --test:'
590 # User test
592 # User test
591 # Date 4 0
593 # Date 4 0
592 # Thu Jan 01 00:00:04 1970 +0000
594 # Thu Jan 01 00:00:04 1970 +0000
593 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
595 # Node ID 0c7b871cb86b61a1c07e244393603c361e4a178d
594 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
596 # Parent f81ef97829467e868fc405fccbcfa66217e4d3e6
595 long line
597 long line
596
598
597 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
599 diff -r f81ef9782946 -r 0c7b871cb86b long
598 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
600 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
599 +++ b/long Thu Jan 01 00:00:04 1970 +0000
601 +++ b/long Thu Jan 01 00:00:04 1970 +0000
600 @@ -0,0 +1,4 @@
602 @@ -0,0 +1,4 @@
@@ -629,11 +631,11 b' mime encoded mbox (quoted-printable):'
629 Content-Type: text/plain; charset="us-ascii"
631 Content-Type: text/plain; charset="us-ascii"
630 Content-Transfer-Encoding: quoted-printable
632 Content-Transfer-Encoding: quoted-printable
631 Subject: [PATCH] long line
633 Subject: [PATCH] long line
632 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
634 X-Mercurial-Node: 0c7b871cb86b61a1c07e244393603c361e4a178d
633 X-Mercurial-Series-Index: 1
635 X-Mercurial-Series-Index: 1
634 X-Mercurial-Series-Total: 1
636 X-Mercurial-Series-Total: 1
635 Message-Id: <a2ea8fc83dd8b93cfd86.240@test-hostname>
637 Message-Id: <0c7b871cb86b61a1c07e.240@test-hostname>
636 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@test-hostname>
638 X-Mercurial-Series-Id: <0c7b871cb86b61a1c07e.240@test-hostname>
637 User-Agent: Mercurial-patchbomb/* (glob)
639 User-Agent: Mercurial-patchbomb/* (glob)
638 Date: Thu, 01 Jan 1970 00:04:00 +0000
640 Date: Thu, 01 Jan 1970 00:04:00 +0000
639 From: quux
641 From: quux
@@ -644,11 +646,11 b' mime encoded mbox (quoted-printable):'
644 # User test
646 # User test
645 # Date 4 0
647 # Date 4 0
646 # Thu Jan 01 00:00:04 1970 +0000
648 # Thu Jan 01 00:00:04 1970 +0000
647 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
649 # Node ID 0c7b871cb86b61a1c07e244393603c361e4a178d
648 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
650 # Parent f81ef97829467e868fc405fccbcfa66217e4d3e6
649 long line
651 long line
650
652
651 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
653 diff -r f81ef9782946 -r 0c7b871cb86b long
652 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
654 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
653 +++ b/long Thu Jan 01 00:00:04 1970 +0000
655 +++ b/long Thu Jan 01 00:00:04 1970 +0000
654 @@ -0,0 +1,4 @@
656 @@ -0,0 +1,4 @@
@@ -691,11 +693,11 b' iso-8859-1 mbox:'
691 Content-Type: text/plain; charset="iso-8859-1"
693 Content-Type: text/plain; charset="iso-8859-1"
692 Content-Transfer-Encoding: quoted-printable
694 Content-Transfer-Encoding: quoted-printable
693 Subject: [PATCH] isolatin 8-bit encoding
695 Subject: [PATCH] isolatin 8-bit encoding
694 X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
696 X-Mercurial-Node: 4d6f44f466c96d89f2e7e865a70ff41d8b6eee37
695 X-Mercurial-Series-Index: 1
697 X-Mercurial-Series-Index: 1
696 X-Mercurial-Series-Total: 1
698 X-Mercurial-Series-Total: 1
697 Message-Id: <240fb913fc1b7ff15ddb.300@test-hostname>
699 Message-Id: <4d6f44f466c96d89f2e7.300@test-hostname>
698 X-Mercurial-Series-Id: <240fb913fc1b7ff15ddb.300@test-hostname>
700 X-Mercurial-Series-Id: <4d6f44f466c96d89f2e7.300@test-hostname>
699 User-Agent: Mercurial-patchbomb/* (glob)
701 User-Agent: Mercurial-patchbomb/* (glob)
700 Date: Thu, 01 Jan 1970 00:05:00 +0000
702 Date: Thu, 01 Jan 1970 00:05:00 +0000
701 From: quux
703 From: quux
@@ -706,11 +708,11 b' iso-8859-1 mbox:'
706 # User test
708 # User test
707 # Date 5 0
709 # Date 5 0
708 # Thu Jan 01 00:00:05 1970 +0000
710 # Thu Jan 01 00:00:05 1970 +0000
709 # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
711 # Node ID 4d6f44f466c96d89f2e7e865a70ff41d8b6eee37
710 # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
712 # Parent 0c7b871cb86b61a1c07e244393603c361e4a178d
711 isolatin 8-bit encoding
713 isolatin 8-bit encoding
712
714
713 diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin
715 diff -r 0c7b871cb86b -r 4d6f44f466c9 isolatin
714 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
716 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
715 +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000
717 +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000
716 @@ -0,0 +1,1 @@
718 @@ -0,0 +1,1 @@
@@ -938,11 +940,11 b' test inline for single patch (quoted-pri'
938 Content-Type: multipart/mixed; boundary="===*==" (glob)
940 Content-Type: multipart/mixed; boundary="===*==" (glob)
939 MIME-Version: 1.0
941 MIME-Version: 1.0
940 Subject: [PATCH] test
942 Subject: [PATCH] test
941 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
943 X-Mercurial-Node: 0c7b871cb86b61a1c07e244393603c361e4a178d
942 X-Mercurial-Series-Index: 1
944 X-Mercurial-Series-Index: 1
943 X-Mercurial-Series-Total: 1
945 X-Mercurial-Series-Total: 1
944 Message-Id: <a2ea8fc83dd8b93cfd86.60@test-hostname>
946 Message-Id: <0c7b871cb86b61a1c07e.60@test-hostname>
945 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@test-hostname>
947 X-Mercurial-Series-Id: <0c7b871cb86b61a1c07e.60@test-hostname>
946 User-Agent: Mercurial-patchbomb/* (glob)
948 User-Agent: Mercurial-patchbomb/* (glob)
947 Date: Thu, 01 Jan 1970 00:01:00 +0000
949 Date: Thu, 01 Jan 1970 00:01:00 +0000
948 From: quux
950 From: quux
@@ -959,11 +961,11 b' test inline for single patch (quoted-pri'
959 # User test
961 # User test
960 # Date 4 0
962 # Date 4 0
961 # Thu Jan 01 00:00:04 1970 +0000
963 # Thu Jan 01 00:00:04 1970 +0000
962 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
964 # Node ID 0c7b871cb86b61a1c07e244393603c361e4a178d
963 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
965 # Parent f81ef97829467e868fc405fccbcfa66217e4d3e6
964 long line
966 long line
965
967
966 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
968 diff -r f81ef9782946 -r 0c7b871cb86b long
967 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
969 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
968 +++ b/long Thu Jan 01 00:00:04 1970 +0000
970 +++ b/long Thu Jan 01 00:00:04 1970 +0000
969 @@ -0,0 +1,4 @@
971 @@ -0,0 +1,4 @@
@@ -1089,10 +1091,10 b' test inline for multiple patches:'
1089 Content-Type: multipart/mixed; boundary="===*==" (glob)
1091 Content-Type: multipart/mixed; boundary="===*==" (glob)
1090 MIME-Version: 1.0
1092 MIME-Version: 1.0
1091 Subject: [PATCH 3 of 3] long line
1093 Subject: [PATCH 3 of 3] long line
1092 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1094 X-Mercurial-Node: 0c7b871cb86b61a1c07e244393603c361e4a178d
1093 X-Mercurial-Series-Index: 3
1095 X-Mercurial-Series-Index: 3
1094 X-Mercurial-Series-Total: 3
1096 X-Mercurial-Series-Total: 3
1095 Message-Id: <a2ea8fc83dd8b93cfd86.63@test-hostname>
1097 Message-Id: <0c7b871cb86b61a1c07e.63@test-hostname>
1096 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname>
1098 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname>
1097 In-Reply-To: <patchbomb.60@test-hostname>
1099 In-Reply-To: <patchbomb.60@test-hostname>
1098 References: <patchbomb.60@test-hostname>
1100 References: <patchbomb.60@test-hostname>
@@ -1112,11 +1114,11 b' test inline for multiple patches:'
1112 # User test
1114 # User test
1113 # Date 4 0
1115 # Date 4 0
1114 # Thu Jan 01 00:00:04 1970 +0000
1116 # Thu Jan 01 00:00:04 1970 +0000
1115 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1117 # Node ID 0c7b871cb86b61a1c07e244393603c361e4a178d
1116 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
1118 # Parent f81ef97829467e868fc405fccbcfa66217e4d3e6
1117 long line
1119 long line
1118
1120
1119 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
1121 diff -r f81ef9782946 -r 0c7b871cb86b long
1120 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1122 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1121 +++ b/long Thu Jan 01 00:00:04 1970 +0000
1123 +++ b/long Thu Jan 01 00:00:04 1970 +0000
1122 @@ -0,0 +1,4 @@
1124 @@ -0,0 +1,4 @@
@@ -1200,11 +1202,11 b' test attach for single patch (quoted-pri'
1200 Content-Type: multipart/mixed; boundary="===*==" (glob)
1202 Content-Type: multipart/mixed; boundary="===*==" (glob)
1201 MIME-Version: 1.0
1203 MIME-Version: 1.0
1202 Subject: [PATCH] test
1204 Subject: [PATCH] test
1203 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1205 X-Mercurial-Node: 0c7b871cb86b61a1c07e244393603c361e4a178d
1204 X-Mercurial-Series-Index: 1
1206 X-Mercurial-Series-Index: 1
1205 X-Mercurial-Series-Total: 1
1207 X-Mercurial-Series-Total: 1
1206 Message-Id: <a2ea8fc83dd8b93cfd86.60@test-hostname>
1208 Message-Id: <0c7b871cb86b61a1c07e.60@test-hostname>
1207 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@test-hostname>
1209 X-Mercurial-Series-Id: <0c7b871cb86b61a1c07e.60@test-hostname>
1208 User-Agent: Mercurial-patchbomb/* (glob)
1210 User-Agent: Mercurial-patchbomb/* (glob)
1209 Date: Thu, 01 Jan 1970 00:01:00 +0000
1211 Date: Thu, 01 Jan 1970 00:01:00 +0000
1210 From: quux
1212 From: quux
@@ -1230,11 +1232,11 b' test attach for single patch (quoted-pri'
1230 # User test
1232 # User test
1231 # Date 4 0
1233 # Date 4 0
1232 # Thu Jan 01 00:00:04 1970 +0000
1234 # Thu Jan 01 00:00:04 1970 +0000
1233 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1235 # Node ID 0c7b871cb86b61a1c07e244393603c361e4a178d
1234 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
1236 # Parent f81ef97829467e868fc405fccbcfa66217e4d3e6
1235 long line
1237 long line
1236
1238
1237 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
1239 diff -r f81ef9782946 -r 0c7b871cb86b long
1238 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1240 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1239 +++ b/long Thu Jan 01 00:00:04 1970 +0000
1241 +++ b/long Thu Jan 01 00:00:04 1970 +0000
1240 @@ -0,0 +1,4 @@
1242 @@ -0,0 +1,4 @@
@@ -1439,10 +1441,10 b' test attach for multiple patches:'
1439 Content-Type: multipart/mixed; boundary="===*==" (glob)
1441 Content-Type: multipart/mixed; boundary="===*==" (glob)
1440 MIME-Version: 1.0
1442 MIME-Version: 1.0
1441 Subject: [PATCH 3 of 3] long line
1443 Subject: [PATCH 3 of 3] long line
1442 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1444 X-Mercurial-Node: 0c7b871cb86b61a1c07e244393603c361e4a178d
1443 X-Mercurial-Series-Index: 3
1445 X-Mercurial-Series-Index: 3
1444 X-Mercurial-Series-Total: 3
1446 X-Mercurial-Series-Total: 3
1445 Message-Id: <a2ea8fc83dd8b93cfd86.63@test-hostname>
1447 Message-Id: <0c7b871cb86b61a1c07e.63@test-hostname>
1446 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname>
1448 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname>
1447 In-Reply-To: <patchbomb.60@test-hostname>
1449 In-Reply-To: <patchbomb.60@test-hostname>
1448 References: <patchbomb.60@test-hostname>
1450 References: <patchbomb.60@test-hostname>
@@ -1471,11 +1473,11 b' test attach for multiple patches:'
1471 # User test
1473 # User test
1472 # Date 4 0
1474 # Date 4 0
1473 # Thu Jan 01 00:00:04 1970 +0000
1475 # Thu Jan 01 00:00:04 1970 +0000
1474 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1476 # Node ID 0c7b871cb86b61a1c07e244393603c361e4a178d
1475 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
1477 # Parent f81ef97829467e868fc405fccbcfa66217e4d3e6
1476 long line
1478 long line
1477
1479
1478 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
1480 diff -r f81ef9782946 -r 0c7b871cb86b long
1479 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1481 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1480 +++ b/long Thu Jan 01 00:00:04 1970 +0000
1482 +++ b/long Thu Jan 01 00:00:04 1970 +0000
1481 @@ -0,0 +1,4 @@
1483 @@ -0,0 +1,4 @@
@@ -1930,11 +1932,11 b' test inreplyto:'
1930 Content-Type: text/plain; charset="us-ascii"
1932 Content-Type: text/plain; charset="us-ascii"
1931 Content-Transfer-Encoding: 7bit
1933 Content-Transfer-Encoding: 7bit
1932 Subject: [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b
1934 Subject: [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b
1933 X-Mercurial-Node: 7aead2484924c445ad8ce2613df91f52f9e502ed
1935 X-Mercurial-Node: 9cea7492c36bdda2c72e7dd5f35f7fc367adeb2c
1934 X-Mercurial-Series-Index: 1
1936 X-Mercurial-Series-Index: 1
1935 X-Mercurial-Series-Total: 1
1937 X-Mercurial-Series-Total: 1
1936 Message-Id: <7aead2484924c445ad8c.60@test-hostname>
1938 Message-Id: <9cea7492c36bdda2c72e.60@test-hostname>
1937 X-Mercurial-Series-Id: <7aead2484924c445ad8c.60@test-hostname>
1939 X-Mercurial-Series-Id: <9cea7492c36bdda2c72e.60@test-hostname>
1938 In-Reply-To: <baz>
1940 In-Reply-To: <baz>
1939 References: <baz>
1941 References: <baz>
1940 User-Agent: Mercurial-patchbomb/* (glob)
1942 User-Agent: Mercurial-patchbomb/* (glob)
@@ -1947,11 +1949,11 b' test inreplyto:'
1947 # User test
1949 # User test
1948 # Date 0 0
1950 # Date 0 0
1949 # Thu Jan 01 00:00:00 1970 +0000
1951 # Thu Jan 01 00:00:00 1970 +0000
1950 # Node ID 7aead2484924c445ad8ce2613df91f52f9e502ed
1952 # Node ID 9cea7492c36bdda2c72e7dd5f35f7fc367adeb2c
1951 # Parent 045ca29b1ea20e4940411e695e20e521f2f0f98e
1953 # Parent 3b775b32716d9b54291ccddf0a36ceea45449bfb
1952 Added tag two, two.diff for changeset ff2c9fa2018b
1954 Added tag two, two.diff for changeset ff2c9fa2018b
1953
1955
1954 diff -r 045ca29b1ea2 -r 7aead2484924 .hgtags
1956 diff -r 3b775b32716d -r 9cea7492c36b .hgtags
1955 --- a/.hgtags Thu Jan 01 00:00:00 1970 +0000
1957 --- a/.hgtags Thu Jan 01 00:00:00 1970 +0000
1956 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
1958 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
1957 @@ -2,3 +2,5 @@
1959 @@ -2,3 +2,5 @@
@@ -2605,17 +2607,17 b' test outgoing:'
2605 |
2607 |
2606 o 9:2f9fa9b998c5 d
2608 o 9:2f9fa9b998c5 d
2607 |
2609 |
2608 | o 8:7aead2484924 Added tag two, two.diff for changeset ff2c9fa2018b
2610 | o 8:9cea7492c36b Added tag two, two.diff for changeset ff2c9fa2018b
2609 | |
2611 | |
2610 | o 7:045ca29b1ea2 Added tag one, one.patch for changeset 97d72e5f12c7
2612 | o 7:3b775b32716d Added tag one, one.patch for changeset 97d72e5f12c7
2611 | |
2613 | |
2612 | o 6:5d5ef15dfe5e Added tag zero, zero.foo for changeset 8580ff50825a
2614 | o 6:c41d7353114c Added tag zero, zero.foo for changeset 8580ff50825a
2613 | |
2615 | |
2614 | o 5:240fb913fc1b isolatin 8-bit encoding
2616 | o 5:4d6f44f466c9 isolatin 8-bit encoding
2615 | |
2617 | |
2616 | o 4:a2ea8fc83dd8 long line
2618 | o 4:0c7b871cb86b long line
2617 | |
2619 | |
2618 | o 3:909a00e13e9d utf-8 content
2620 | o 3:f81ef9782946 \xe7a (esc)
2619 | |
2621 | |
2620 | o 2:ff2c9fa2018b c
2622 | o 2:ff2c9fa2018b c
2621 |/
2623 |/
@@ -2677,15 +2679,16 b' test outgoing:'
2677 @@ -0,0 +1,1 @@
2679 @@ -0,0 +1,1 @@
2678 +c
2680 +c
2679
2681
2680 displaying [PATCH 2 of 6] utf-8 content ...
2682 displaying [PATCH 2 of 6] \xe7a ... (esc)
2681 MIME-Version: 1.0
2683 MIME-Version: 1.0
2682 Content-Type: text/plain; charset="iso-8859-1"
2684 Content-Type: text/plain; charset="iso-8859-1"
2683 Content-Transfer-Encoding: quoted-printable
2685 Content-Transfer-Encoding: quoted-printable
2684 Subject: [PATCH 2 of 6] utf-8 content
2686 Subject: [PATCH 2 of 6] \xe7a (esc) (no-py3 !)
2685 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
2687 Subject: =?utf-8?b?W1BBVENIIDIgb2YgNl0gw6dh?= (py3 !)
2688 X-Mercurial-Node: f81ef97829467e868fc405fccbcfa66217e4d3e6
2686 X-Mercurial-Series-Index: 2
2689 X-Mercurial-Series-Index: 2
2687 X-Mercurial-Series-Total: 6
2690 X-Mercurial-Series-Total: 6
2688 Message-Id: <909a00e13e9d78b575ae.315532862@test-hostname>
2691 Message-Id: <f81ef97829467e868fc4.315532862@test-hostname>
2689 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@test-hostname>
2692 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@test-hostname>
2690 In-Reply-To: <patchbomb.315532860@test-hostname>
2693 In-Reply-To: <patchbomb.315532860@test-hostname>
2691 References: <patchbomb.315532860@test-hostname>
2694 References: <patchbomb.315532860@test-hostname>
@@ -2698,18 +2701,18 b' test outgoing:'
2698 # User test
2701 # User test
2699 # Date 4 0
2702 # Date 4 0
2700 # Thu Jan 01 00:00:04 1970 +0000
2703 # Thu Jan 01 00:00:04 1970 +0000
2701 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
2704 # Node ID f81ef97829467e868fc405fccbcfa66217e4d3e6
2702 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
2705 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
2703 utf-8 content
2706 =E7a
2704
2707
2705 diff -r ff2c9fa2018b -r 909a00e13e9d description
2708 diff -r ff2c9fa2018b -r f81ef9782946 description
2706 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2709 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2707 +++ b/description Thu Jan 01 00:00:04 1970 +0000
2710 +++ b/description Thu Jan 01 00:00:04 1970 +0000
2708 @@ -0,0 +1,3 @@
2711 @@ -0,0 +1,3 @@
2709 +a multiline
2712 +a multiline
2710 +
2713 +
2711 +description
2714 +description
2712 diff -r ff2c9fa2018b -r 909a00e13e9d utf
2715 diff -r ff2c9fa2018b -r f81ef9782946 utf
2713 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2716 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2714 +++ b/utf Thu Jan 01 00:00:04 1970 +0000
2717 +++ b/utf Thu Jan 01 00:00:04 1970 +0000
2715 @@ -0,0 +1,1 @@
2718 @@ -0,0 +1,1 @@
@@ -2720,10 +2723,10 b' test outgoing:'
2720 Content-Type: text/plain; charset="us-ascii"
2723 Content-Type: text/plain; charset="us-ascii"
2721 Content-Transfer-Encoding: quoted-printable
2724 Content-Transfer-Encoding: quoted-printable
2722 Subject: [PATCH 3 of 6] long line
2725 Subject: [PATCH 3 of 6] long line
2723 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
2726 X-Mercurial-Node: 0c7b871cb86b61a1c07e244393603c361e4a178d
2724 X-Mercurial-Series-Index: 3
2727 X-Mercurial-Series-Index: 3
2725 X-Mercurial-Series-Total: 6
2728 X-Mercurial-Series-Total: 6
2726 Message-Id: <a2ea8fc83dd8b93cfd86.315532863@test-hostname>
2729 Message-Id: <0c7b871cb86b61a1c07e.315532863@test-hostname>
2727 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@test-hostname>
2730 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@test-hostname>
2728 In-Reply-To: <patchbomb.315532860@test-hostname>
2731 In-Reply-To: <patchbomb.315532860@test-hostname>
2729 References: <patchbomb.315532860@test-hostname>
2732 References: <patchbomb.315532860@test-hostname>
@@ -2736,11 +2739,11 b' test outgoing:'
2736 # User test
2739 # User test
2737 # Date 4 0
2740 # Date 4 0
2738 # Thu Jan 01 00:00:04 1970 +0000
2741 # Thu Jan 01 00:00:04 1970 +0000
2739 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
2742 # Node ID 0c7b871cb86b61a1c07e244393603c361e4a178d
2740 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
2743 # Parent f81ef97829467e868fc405fccbcfa66217e4d3e6
2741 long line
2744 long line
2742
2745
2743 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
2746 diff -r f81ef9782946 -r 0c7b871cb86b long
2744 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2747 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2745 +++ b/long Thu Jan 01 00:00:04 1970 +0000
2748 +++ b/long Thu Jan 01 00:00:04 1970 +0000
2746 @@ -0,0 +1,4 @@
2749 @@ -0,0 +1,4 @@
@@ -2767,10 +2770,10 b' test outgoing:'
2767 Content-Type: text/plain; charset="iso-8859-1"
2770 Content-Type: text/plain; charset="iso-8859-1"
2768 Content-Transfer-Encoding: quoted-printable
2771 Content-Transfer-Encoding: quoted-printable
2769 Subject: [PATCH 4 of 6] isolatin 8-bit encoding
2772 Subject: [PATCH 4 of 6] isolatin 8-bit encoding
2770 X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
2773 X-Mercurial-Node: 4d6f44f466c96d89f2e7e865a70ff41d8b6eee37
2771 X-Mercurial-Series-Index: 4
2774 X-Mercurial-Series-Index: 4
2772 X-Mercurial-Series-Total: 6
2775 X-Mercurial-Series-Total: 6
2773 Message-Id: <240fb913fc1b7ff15ddb.315532864@test-hostname>
2776 Message-Id: <4d6f44f466c96d89f2e7.315532864@test-hostname>
2774 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@test-hostname>
2777 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@test-hostname>
2775 In-Reply-To: <patchbomb.315532860@test-hostname>
2778 In-Reply-To: <patchbomb.315532860@test-hostname>
2776 References: <patchbomb.315532860@test-hostname>
2779 References: <patchbomb.315532860@test-hostname>
@@ -2783,11 +2786,11 b' test outgoing:'
2783 # User test
2786 # User test
2784 # Date 5 0
2787 # Date 5 0
2785 # Thu Jan 01 00:00:05 1970 +0000
2788 # Thu Jan 01 00:00:05 1970 +0000
2786 # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
2789 # Node ID 4d6f44f466c96d89f2e7e865a70ff41d8b6eee37
2787 # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
2790 # Parent 0c7b871cb86b61a1c07e244393603c361e4a178d
2788 isolatin 8-bit encoding
2791 isolatin 8-bit encoding
2789
2792
2790 diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin
2793 diff -r 0c7b871cb86b -r 4d6f44f466c9 isolatin
2791 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2794 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2792 +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000
2795 +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000
2793 @@ -0,0 +1,1 @@
2796 @@ -0,0 +1,1 @@
@@ -2798,10 +2801,10 b' test outgoing:'
2798 Content-Type: text/plain; charset="us-ascii"
2801 Content-Type: text/plain; charset="us-ascii"
2799 Content-Transfer-Encoding: 7bit
2802 Content-Transfer-Encoding: 7bit
2800 Subject: [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a
2803 Subject: [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a
2801 X-Mercurial-Node: 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433
2804 X-Mercurial-Node: c41d7353114ccb07a50a822ad5ddf47051c88ec2
2802 X-Mercurial-Series-Index: 5
2805 X-Mercurial-Series-Index: 5
2803 X-Mercurial-Series-Total: 6
2806 X-Mercurial-Series-Total: 6
2804 Message-Id: <5d5ef15dfe5e7bd3a4ee.315532865@test-hostname>
2807 Message-Id: <c41d7353114ccb07a50a.315532865@test-hostname>
2805 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@test-hostname>
2808 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@test-hostname>
2806 In-Reply-To: <patchbomb.315532860@test-hostname>
2809 In-Reply-To: <patchbomb.315532860@test-hostname>
2807 References: <patchbomb.315532860@test-hostname>
2810 References: <patchbomb.315532860@test-hostname>
@@ -2814,11 +2817,11 b' test outgoing:'
2814 # User test
2817 # User test
2815 # Date 0 0
2818 # Date 0 0
2816 # Thu Jan 01 00:00:00 1970 +0000
2819 # Thu Jan 01 00:00:00 1970 +0000
2817 # Node ID 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433
2820 # Node ID c41d7353114ccb07a50a822ad5ddf47051c88ec2
2818 # Parent 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
2821 # Parent 4d6f44f466c96d89f2e7e865a70ff41d8b6eee37
2819 Added tag zero, zero.foo for changeset 8580ff50825a
2822 Added tag zero, zero.foo for changeset 8580ff50825a
2820
2823
2821 diff -r 240fb913fc1b -r 5d5ef15dfe5e .hgtags
2824 diff -r 4d6f44f466c9 -r c41d7353114c .hgtags
2822 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2825 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2823 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
2826 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
2824 @@ -0,0 +1,2 @@
2827 @@ -0,0 +1,2 @@
General Comments 0
You need to be logged in to leave comments. Login now