summaryrefslogtreecommitdiff
path: root/tests/test-patchbomb.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-patchbomb.t')
-rw-r--r--tests/test-patchbomb.t1231
1 files changed, 529 insertions, 702 deletions
diff --git a/tests/test-patchbomb.t b/tests/test-patchbomb.t
index 3ce7407..ba5ea3f 100644
--- a/tests/test-patchbomb.t
+++ b/tests/test-patchbomb.t
@@ -1,3 +1,11 @@
+ $ fixheaders()
+ > {
+ > sed -e 's/\(Message-Id:.*@\).*/\1/' \
+ > -e 's/\(In-Reply-To:.*@\).*/\1/' \
+ > -e 's/\(References:.*@\).*/\1/' \
+ > -e 's/\(User-Agent:.*\)\/.*/\1/' \
+ > -e 's/===.*/===/'
+ > }
$ echo "[extensions]" >> $HGRCPATH
$ echo "patchbomb=" >> $HGRCPATH
@@ -8,16 +16,16 @@
adding a
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip
- this patch series consists of 1 patches.
+ This patch series consists of 1 patches.
- displaying [PATCH] a ...
+ Displaying [PATCH] a ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH] a
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
- Message-Id: <8580ff50825a50c8f716.60@*> (glob)
+ Message-Id: <8580ff50825a50c8f716.60@* (glob)
User-Agent: Mercurial-patchbomb/* (glob)
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
@@ -41,7 +49,7 @@
$ hg --config ui.interactive=1 email --confirm -n -f quux -t foo -c bar -r tip<<EOF
> n
> EOF
- this patch series consists of 1 patches.
+ This patch series consists of 1 patches.
Final summary:
@@ -61,18 +69,18 @@
adding b
$ hg email --date '1970-1-1 0:2' -n -f quux -t foo -c bar -s test -r 0:tip
- this patch series consists of 2 patches.
+ This patch series consists of 2 patches.
Write the introductory message for the patch series.
- displaying [PATCH 0 of 2] test ...
+ Displaying [PATCH 0 of 2] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 0 of 2] test
- Message-Id: <patchbomb.120@*> (glob)
+ Message-Id: <patchbomb\.120@[^>]*> (re)
User-Agent: Mercurial-patchbomb/* (glob)
Date: Thu, 01 Jan 1970 00:02:00 +0000
From: quux
@@ -80,15 +88,15 @@
Cc: bar
- displaying [PATCH 1 of 2] a ...
+ Displaying [PATCH 1 of 2] a ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 1 of 2] a
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
- Message-Id: <8580ff50825a50c8f716.121@*> (glob)
- In-Reply-To: <patchbomb.120@*> (glob)
- References: <patchbomb.120@*> (glob)
+ Message-Id: <8580ff50825a50c8f716\.121@[^>]*> (re)
+ In-Reply-To: <patchbomb\.120@[^>]*> (re)
+ References: <patchbomb\.120@[^>]*> (re)
User-Agent: Mercurial-patchbomb/* (glob)
Date: Thu, 01 Jan 1970 00:02:01 +0000
From: quux
@@ -108,15 +116,15 @@
@@ -0,0 +1,1 @@
+a
- displaying [PATCH 2 of 2] b ...
+ Displaying [PATCH 2 of 2] b ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 2 of 2] b
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- Message-Id: <97d72e5f12c7e84f8506.122@*> (glob)
- In-Reply-To: <patchbomb.120@*> (glob)
- References: <patchbomb.120@*> (glob)
+ Message-Id: <97d72e5f12c7e84f8506\.122@[^>]*> (re)
+ In-Reply-To: <patchbomb\.120@[^>]*> (re)
+ References: <patchbomb\.120@[^>]*> (re)
User-Agent: Mercurial-patchbomb/* (glob)
Date: Thu, 01 Jan 1970 00:02:02 +0000
From: quux
@@ -139,10 +147,12 @@
.hg/last-email.txt
- $ cat > editor.sh << '__EOF__'
+ $ cat > editor << '__EOF__'
+ > #!/bin/sh
> echo "a precious introductory message" > "$1"
> __EOF__
- $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg email -n -t foo -s test -r 0:tip > /dev/null
+ $ chmod +x editor
+ $ HGEDITOR="'`pwd`'"/editor hg email -n -t foo -s test -r 0:tip > /dev/null
$ cat .hg/last-email.txt
a precious introductory message
@@ -150,27 +160,27 @@
> --config extensions.progress= --config progress.assume-tty=1 \
> --config progress.delay=0 --config progress.refresh=0 \
> --config progress.width=60 2>&1 | \
- > python "$TESTDIR/filtercr.py"
- this patch series consists of 2 patches.
+ > python $TESTDIR/filtercr.py
+ This patch series consists of 2 patches.
Write the introductory message for the patch series.
- sending [ ] 0/3
- sending [ ] 0/3
+ writing [ ] 0/3
+ writing [ ] 0/3
- sending [==============> ] 1/3
- sending [==============> ] 1/3
+ writing [==============> ] 1/3
+ writing [==============> ] 1/3
- sending [=============================> ] 2/3
- sending [=============================> ] 2/3
+ writing [=============================> ] 2/3
+ writing [=============================> ] 2/3
\r (esc)
- sending [PATCH 0 of 2] test ...
- sending [PATCH 1 of 2] a ...
- sending [PATCH 2 of 2] b ...
+ Writing [PATCH 0 of 2] test ...
+ Writing [PATCH 1 of 2] a ...
+ Writing [PATCH 2 of 2] b ...
$ cd ..
@@ -190,22 +200,22 @@
test bundle and description:
$ hg email --date '1970-1-1 0:3' -n -f quux -t foo \
- > -c bar -s test -r tip -b --desc description
+ > -c bar -s test -r tip -b --desc description | fixheaders
searching for changes
1 changesets found
- displaying test ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ Displaying test ...
+ Content-Type: multipart/mixed; boundary="===
MIME-Version: 1.0
Subject: test
- Message-Id: <patchbomb.180@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <patchbomb.180@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:03:00 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -214,7 +224,7 @@ test bundle and description:
description
- --===* (glob)
+ --===
Content-Type: application/x-mercurial-bundle
MIME-Version: 1.0
Content-Disposition: attachment; filename="bundle.hg"
@@ -227,176 +237,86 @@ test bundle and description:
SlIBpFisgGkyRjX//TMtfcUAEsGu56+YnE1OlTZmzKm8BSu2rvo4rHAYYaadIFFuTy0LYgIkgLVD
sgVa2F19D1tx9+hgbAygLgQwaIqcDdgA4BjQgIiz/AEP72++llgDKhKducqodGE4B0ETqF3JFOFC
Q70eyNw=
- --===*-- (glob)
+ --===
utf-8 patch:
$ python -c 'fp = open("utf", "wb"); fp.write("h\xC3\xB6mma!\n"); fp.close();'
- $ hg commit -A -d '4 0' -m 'utf-8 content'
+ $ hg commit -A -d '4 0' -m 'charset=utf-8; content-transfer-encoding: base64'
adding description
adding utf
no mime encoding for email --test:
- $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n
- this patch series consists of 1 patches.
-
-
- displaying [PATCH] utf-8 content ...
- Content-Type: text/plain; charset="us-ascii"
- MIME-Version: 1.0
- Content-Transfer-Encoding: 8bit
- Subject: [PATCH] utf-8 content
- X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
- Message-Id: <909a00e13e9d78b575ae.240@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
- Date: Thu, 01 Jan 1970 00:04:00 +0000
- From: quux
- To: foo
- Cc: bar
-
- # HG changeset patch
- # User test
- # Date 4 0
- # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
- # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
- utf-8 content
-
- diff -r ff2c9fa2018b -r 909a00e13e9d description
- --- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/description Thu Jan 01 00:00:04 1970 +0000
- @@ -0,0 +1,3 @@
- +a multiline
- +
- +description
- diff -r ff2c9fa2018b -r 909a00e13e9d utf
- --- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/utf Thu Jan 01 00:00:04 1970 +0000
- @@ -0,0 +1,1 @@
- +h\xc3\xb6mma! (esc)
-
+ $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n | fixheaders > mailtest
+
+md5sum of 8-bit output:
+ $ $TESTDIR/md5sum.py mailtest
+ e726c29b3008e77994c7572563e57c34 mailtest
+
+ $ rm mailtest
mime encoded mbox (base64):
- $ hg email --date '1970-1-1 0:4' -f 'Q <quux>' -t foo -c bar -r tip -m mbox
- this patch series consists of 1 patches.
+ $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -m mbox
+ This patch series consists of 1 patches.
- sending [PATCH] utf-8 content ...
+ Writing [PATCH] charset=utf-8; content-transfer-encoding: base64 ...
$ cat mbox
- From quux ... ... .. ..:..:.. .... (re)
+ From quux Thu Jan 01 00:04:01 1970
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
- Subject: [PATCH] utf-8 content
- X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
- Message-Id: <909a00e13e9d78b575ae.240@*> (glob)
+ Subject: [PATCH] charset=utf-8; content-transfer-encoding: base64
+ X-Mercurial-Node: c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
+ Message-Id: <c3c9e37db9f4fe4882cd.240@* (glob)
User-Agent: Mercurial-patchbomb/* (glob)
Date: Thu, 01 Jan 1970 00:04:00 +0000
- From: Q <quux>
+ From: quux
To: foo
Cc: bar
- IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojIE5vZGUgSUQgOTA5
- YTAwZTEzZTlkNzhiNTc1YWVlZTIzZGRkYmFkYTQ2ZDVhMTQzZgojIFBhcmVudCAgZmYyYzlmYTIw
- MThiMTVmYTc0YjMzMzYzYmRhOTUyNzMyM2UyYTk5Zgp1dGYtOCBjb250ZW50CgpkaWZmIC1yIGZm
- MmM5ZmEyMDE4YiAtciA5MDlhMDBlMTNlOWQgZGVzY3JpcHRpb24KLS0tIC9kZXYvbnVsbAlUaHUg
- SmFuIDAxIDAwOjAwOjAwIDE5NzAgKzAwMDAKKysrIGIvZGVzY3JpcHRpb24JVGh1IEphbiAwMSAw
- MDowMDowNCAxOTcwICswMDAwCkBAIC0wLDAgKzEsMyBAQAorYSBtdWx0aWxpbmUKKworZGVzY3Jp
- cHRpb24KZGlmZiAtciBmZjJjOWZhMjAxOGIgLXIgOTA5YTAwZTEzZTlkIHV0ZgotLS0gL2Rldi9u
- dWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3MCArMDAwMAorKysgYi91dGYJVGh1IEphbiAwMSAw
- MDowMDowNCAxOTcwICswMDAwCkBAIC0wLDAgKzEsMSBAQAoraMO2bW1hIQo=
-
-
- $ python -c 'print open("mbox").read().split("\n\n")[1].decode("base64")'
- # HG changeset patch
- # User test
- # Date 4 0
- # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
- # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
- utf-8 content
+ IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojIE5vZGUgSUQgYzNj
+ OWUzN2RiOWY0ZmU0ODgyY2RhMzliYWY0MmZlZDZiYWQ4YjE1YQojIFBhcmVudCAgZmYyYzlmYTIw
+ MThiMTVmYTc0YjMzMzYzYmRhOTUyNzMyM2UyYTk5ZgpjaGFyc2V0PXV0Zi04OyBjb250ZW50LXRy
+ YW5zZmVyLWVuY29kaW5nOiBiYXNlNjQKCmRpZmYgLXIgZmYyYzlmYTIwMThiIC1yIGMzYzllMzdk
+ YjlmNCBkZXNjcmlwdGlvbgotLS0gL2Rldi9udWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3MCAr
+ MDAwMAorKysgYi9kZXNjcmlwdGlvbglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAKQEAg
+ LTAsMCArMSwzIEBACithIG11bHRpbGluZQorCitkZXNjcmlwdGlvbgpkaWZmIC1yIGZmMmM5ZmEy
+ MDE4YiAtciBjM2M5ZTM3ZGI5ZjQgdXRmCi0tLSAvZGV2L251bGwJVGh1IEphbiAwMSAwMDowMDow
+ MCAxOTcwICswMDAwCisrKyBiL3V0ZglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAKQEAg
+ LTAsMCArMSwxIEBACitow7ZtbWEhCg==
- diff -r ff2c9fa2018b -r 909a00e13e9d description
- --- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/description Thu Jan 01 00:00:04 1970 +0000
- @@ -0,0 +1,3 @@
- +a multiline
- +
- +description
- diff -r ff2c9fa2018b -r 909a00e13e9d utf
- --- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/utf Thu Jan 01 00:00:04 1970 +0000
- @@ -0,0 +1,1 @@
- +h\xc3\xb6mma! (esc)
$ rm mbox
mime encoded mbox (quoted-printable):
- $ python -c 'fp = open("long", "wb"); fp.write("%s\nfoo\n\nbar\n" % ("x" * 1024)); fp.close();'
- $ hg commit -A -d '4 0' -m 'long line'
- adding long
+ $ python -c 'fp = open("qp", "wb"); fp.write("%s\nfoo\n\nbar\n" % ("x" * 1024)); fp.close();'
+ $ hg commit -A -d '4 0' -m 'charset=utf-8; content-transfer-encoding: quoted-printable'
+ adding qp
no mime encoding for email --test:
- $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n
- this patch series consists of 1 patches.
-
-
- displaying [PATCH] long line ...
- Content-Type: text/plain; charset="us-ascii"
- MIME-Version: 1.0
- Content-Transfer-Encoding: quoted-printable
- Subject: [PATCH] long line
- X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
- Date: Thu, 01 Jan 1970 00:04:00 +0000
- From: quux
- To: foo
- Cc: bar
-
- # HG changeset patch
- # User test
- # Date 4 0
- # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
- long line
-
- diff -r 909a00e13e9d -r a2ea8fc83dd8 long
- --- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/long Thu Jan 01 00:00:04 1970 +0000
- @@ -0,0 +1,4 @@
- +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- +foo
- +
- +bar
-
+ $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n | \
+ > fixheaders > mailtest
+md5sum of qp output:
+ $ $TESTDIR/md5sum.py mailtest
+ 0402c7d033e04044e423bb04816f9dae mailtest
+ $ rm mailtest
mime encoded mbox (quoted-printable):
$ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -m mbox
- this patch series consists of 1 patches.
+ This patch series consists of 1 patches.
- sending [PATCH] long line ...
- $ cat mbox
- From quux ... ... .. ..:..:.. .... (re)
+ Writing [PATCH] charset=utf-8; content-transfer-encoding: quoted-printable ...
+ $ cat mbox | fixheaders
+ From quux Thu Jan 01 00:04:01 1970
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
- Subject: [PATCH] long line
- X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Subject: [PATCH] charset=utf-8; content-transfer-encoding: quoted-printable
+ X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
+ Message-Id: <c655633f8c87700bb38c.240@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:04:00 +0000
From: quux
To: foo
@@ -405,13 +325,13 @@ mime encoded mbox (quoted-printable):
# HG changeset patch
# User test
# Date 4 0
- # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
- long line
+ # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
+ # Parent c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
+ charset=3Dutf-8; content-transfer-encoding: quoted-printable
- diff -r 909a00e13e9d -r a2ea8fc83dd8 long
+ diff -r c3c9e37db9f4 -r c655633f8c87 qp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/long Thu Jan 01 00:00:04 1970 +0000
+ +++ b/qp Thu Jan 01 00:00:04 1970 +0000
@@ -0,0 +1,4 @@
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
@@ -437,47 +357,25 @@ mime encoded mbox (quoted-printable):
iso-8859-1 patch:
$ python -c 'fp = open("isolatin", "wb"); fp.write("h\xF6mma!\n"); fp.close();'
- $ hg commit -A -d '5 0' -m 'isolatin 8-bit encoding'
+ $ hg commit -A -d '5 0' -m 'charset=us-ascii; content-transfer-encoding: 8bit'
adding isolatin
fake ascii mbox:
$ hg email --date '1970-1-1 0:5' -f quux -t foo -c bar -r tip -m mbox
- this patch series consists of 1 patches.
-
-
- sending [PATCH] isolatin 8-bit encoding ...
- $ cat mbox
- From quux ... ... .. ..:..:.. .... (re)
- Content-Type: text/plain; charset="us-ascii"
- MIME-Version: 1.0
- Content-Transfer-Encoding: 8bit
- Subject: [PATCH] isolatin 8-bit encoding
- X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
- Message-Id: <240fb913fc1b7ff15ddb.300@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
- Date: Thu, 01 Jan 1970 00:05:00 +0000
- From: quux
- To: foo
- Cc: bar
-
- # HG changeset patch
- # User test
- # Date 5 0
- # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
- # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- isolatin 8-bit encoding
-
- diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin
- --- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000
- @@ -0,0 +1,1 @@
- +h\xf6mma! (esc)
+ This patch series consists of 1 patches.
+ Writing [PATCH] charset=us-ascii; content-transfer-encoding: 8bit ...
+ $ fixheaders < mbox > mboxfix
+
+md5sum of 8-bit output:
+ $ $TESTDIR/md5sum.py mboxfix
+ 9ea043d8fc43a71045114508baed144b mboxfix
test diffstat for single patch:
- $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y -r 2
- this patch series consists of 1 patches.
+ $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y -r 2 | \
+ > fixheaders
+ This patch series consists of 1 patches.
Final summary:
@@ -491,14 +389,14 @@ test diffstat for single patch:
are you sure you want to send (yn)? y
- displaying [PATCH] test ...
+ Displaying [PATCH] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH] test
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
- Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <ff2c9fa2018b15fa74b3.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
@@ -524,8 +422,8 @@ test diffstat for single patch:
test diffstat for multiple patches:
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y \
- > -r 0:1
- this patch series consists of 2 patches.
+ > -r 0:1 | fixheaders
+ This patch series consists of 2 patches.
Write the introductory message for the patch series.
@@ -549,13 +447,13 @@ test diffstat for multiple patches:
are you sure you want to send (yn)? y
- displaying [PATCH 0 of 2] test ...
+ Displaying [PATCH 0 of 2] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 0 of 2] test
- Message-Id: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
@@ -566,16 +464,16 @@ test diffstat for multiple patches:
b | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
- displaying [PATCH 1 of 2] a ...
+ Displaying [PATCH 1 of 2] a ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 1 of 2] a
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
- Message-Id: <8580ff50825a50c8f716.61@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <8580ff50825a50c8f716.61@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:01 +0000
From: quux
To: foo
@@ -598,16 +496,16 @@ test diffstat for multiple patches:
@@ -0,0 +1,1 @@
+a
- displaying [PATCH 2 of 2] b ...
+ Displaying [PATCH 2 of 2] b ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 2 of 2] b
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <97d72e5f12c7e84f8506.62@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:02 +0000
From: quux
To: foo
@@ -632,23 +530,24 @@ test diffstat for multiple patches:
test inline for single patch:
- $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2
- this patch series consists of 1 patches.
+ $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2 | \
+ > fixheaders
+ This patch series consists of 1 patches.
- displaying [PATCH] test ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ Displaying [PATCH] test ...
+ Content-Type: multipart/mixed; boundary="===
MIME-Version: 1.0
Subject: [PATCH] test
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
- Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <ff2c9fa2018b15fa74b3.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -667,27 +566,28 @@ test inline for single patch:
@@ -0,0 +1,1 @@
+c
- --===*-- (glob)
+ --===
test inline for single patch (quoted-printable):
- $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 4
- this patch series consists of 1 patches.
+ $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 4 | \
+ > fixheaders
+ This patch series consists of 1 patches.
- displaying [PATCH] test ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ Displaying [PATCH] test ...
+ Content-Type: multipart/mixed; boundary="===
MIME-Version: 1.0
Subject: [PATCH] test
- X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
+ Message-Id: <c655633f8c87700bb38c.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
@@ -696,13 +596,13 @@ test inline for single patch (quoted-printable):
# HG changeset patch
# User test
# Date 4 0
- # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
- long line
+ # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
+ # Parent c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
+ charset=3Dutf-8; content-transfer-encoding: quoted-printable
- diff -r 909a00e13e9d -r a2ea8fc83dd8 long
+ diff -r c3c9e37db9f4 -r c655633f8c87 qp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/long Thu Jan 01 00:00:04 1970 +0000
+ +++ b/qp Thu Jan 01 00:00:04 1970 +0000
@@ -0,0 +1,4 @@
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
@@ -722,45 +622,45 @@ test inline for single patch (quoted-printable):
+
+bar
- --===*-- (glob)
+ --===
test inline for multiple patches:
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \
- > -r 0:1 -r 4
- this patch series consists of 3 patches.
+ > -r 0:1 -r 4 | fixheaders
+ This patch series consists of 3 patches.
Write the introductory message for the patch series.
- displaying [PATCH 0 of 3] test ...
+ Displaying [PATCH 0 of 3] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 0 of 3] test
- Message-Id: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
Cc: bar
- displaying [PATCH 1 of 3] a ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ Displaying [PATCH 1 of 3] a ...
+ Content-Type: multipart/mixed; boundary="===
MIME-Version: 1.0
Subject: [PATCH 1 of 3] a
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
- Message-Id: <8580ff50825a50c8f716.61@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <8580ff50825a50c8f716.61@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:01 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -779,22 +679,22 @@ test inline for multiple patches:
@@ -0,0 +1,1 @@
+a
- --===*-- (glob)
- displaying [PATCH 2 of 3] b ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ --===
+ Displaying [PATCH 2 of 3] b ...
+ Content-Type: multipart/mixed; boundary="===
MIME-Version: 1.0
Subject: [PATCH 2 of 3] b
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <97d72e5f12c7e84f8506.62@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:02 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -813,22 +713,23 @@ test inline for multiple patches:
@@ -0,0 +1,1 @@
+b
- --===*-- (glob)
- displaying [PATCH 3 of 3] long line ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
- MIME-Version: 1.0
- Subject: [PATCH 3 of 3] long line
- X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ --===
+ Displaying [PATCH 3 of 3] charset=utf-8; content-transfer-encoding: quoted-printable ...
+ Content-Type: multipart/mixed; boundary="===
+ MIME-Version: 1.0
+ Subject: [PATCH 3 of 3] charset=utf-8;
+ content-transfer-encoding: quoted-printable
+ X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
+ Message-Id: <c655633f8c87700bb38c.63@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:03 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
@@ -837,13 +738,13 @@ test inline for multiple patches:
# HG changeset patch
# User test
# Date 4 0
- # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
- long line
+ # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
+ # Parent c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
+ charset=3Dutf-8; content-transfer-encoding: quoted-printable
- diff -r 909a00e13e9d -r a2ea8fc83dd8 long
+ diff -r c3c9e37db9f4 -r c655633f8c87 qp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/long Thu Jan 01 00:00:04 1970 +0000
+ +++ b/qp Thu Jan 01 00:00:04 1970 +0000
@@ -0,0 +1,4 @@
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
@@ -863,26 +764,27 @@ test inline for multiple patches:
+
+bar
- --===*-- (glob)
+ --===
test attach for single patch:
- $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 2
- this patch series consists of 1 patches.
+ $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 2 | \
+ > fixheaders
+ This patch series consists of 1 patches.
- displaying [PATCH] test ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ Displaying [PATCH] test ...
+ Content-Type: multipart/mixed; boundary="===
MIME-Version: 1.0
Subject: [PATCH] test
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
- Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <ff2c9fa2018b15fa74b3.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -891,7 +793,7 @@ test attach for single patch:
- --===* (glob)
+ --===
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -910,26 +812,27 @@ test attach for single patch:
@@ -0,0 +1,1 @@
+c
- --===*-- (glob)
+ --===
test attach for single patch (quoted-printable):
- $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 4
- this patch series consists of 1 patches.
+ $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 4 | \
+ > fixheaders
+ This patch series consists of 1 patches.
- displaying [PATCH] test ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ Displaying [PATCH] test ...
+ Content-Type: multipart/mixed; boundary="===
MIME-Version: 1.0
Subject: [PATCH] test
- X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
+ Message-Id: <c655633f8c87700bb38c.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -938,7 +841,7 @@ test attach for single patch (quoted-printable):
- --===* (glob)
+ --===
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
@@ -947,13 +850,13 @@ test attach for single patch (quoted-printable):
# HG changeset patch
# User test
# Date 4 0
- # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
- long line
+ # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
+ # Parent c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
+ charset=3Dutf-8; content-transfer-encoding: quoted-printable
- diff -r 909a00e13e9d -r a2ea8fc83dd8 long
+ diff -r c3c9e37db9f4 -r c655633f8c87 qp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/long Thu Jan 01 00:00:04 1970 +0000
+ +++ b/qp Thu Jan 01 00:00:04 1970 +0000
@@ -0,0 +1,4 @@
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
@@ -973,101 +876,45 @@ test attach for single patch (quoted-printable):
+
+bar
- --===*-- (glob)
-
-test attach and body for single patch:
- $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a --body -r 2
- this patch series consists of 1 patches.
-
-
- displaying [PATCH] test ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
- MIME-Version: 1.0
- Subject: [PATCH] test
- X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
- Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
- Date: Thu, 01 Jan 1970 00:01:00 +0000
- From: quux
- To: foo
- Cc: bar
-
- --===* (glob)
- Content-Type: text/plain; charset="us-ascii"
- MIME-Version: 1.0
- Content-Transfer-Encoding: 7bit
-
- # HG changeset patch
- # User test
- # Date 3 0
- # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
- # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- c
-
- diff -r 97d72e5f12c7 -r ff2c9fa2018b c
- --- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/c Thu Jan 01 00:00:03 1970 +0000
- @@ -0,0 +1,1 @@
- +c
-
- --===* (glob)
- Content-Type: text/x-patch; charset="us-ascii"
- MIME-Version: 1.0
- Content-Transfer-Encoding: 7bit
- Content-Disposition: attachment; filename=t2.patch
-
- # HG changeset patch
- # User test
- # Date 3 0
- # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
- # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- c
-
- diff -r 97d72e5f12c7 -r ff2c9fa2018b c
- --- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/c Thu Jan 01 00:00:03 1970 +0000
- @@ -0,0 +1,1 @@
- +c
-
- --===*-- (glob)
+ --===
test attach for multiple patches:
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a \
- > -r 0:1 -r 4
- this patch series consists of 3 patches.
+ > -r 0:1 -r 4 | fixheaders
+ This patch series consists of 3 patches.
Write the introductory message for the patch series.
- displaying [PATCH 0 of 3] test ...
+ Displaying [PATCH 0 of 3] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 0 of 3] test
- Message-Id: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
Cc: bar
- displaying [PATCH 1 of 3] a ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ Displaying [PATCH 1 of 3] a ...
+ Content-Type: multipart/mixed; boundary="===
MIME-Version: 1.0
Subject: [PATCH 1 of 3] a
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
- Message-Id: <8580ff50825a50c8f716.61@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <8580ff50825a50c8f716.61@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:01 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -1076,7 +923,7 @@ test attach for multiple patches:
- --===* (glob)
+ --===
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -1095,22 +942,22 @@ test attach for multiple patches:
@@ -0,0 +1,1 @@
+a
- --===*-- (glob)
- displaying [PATCH 2 of 3] b ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ --===
+ Displaying [PATCH 2 of 3] b ...
+ Content-Type: multipart/mixed; boundary="===
MIME-Version: 1.0
Subject: [PATCH 2 of 3] b
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <97d72e5f12c7e84f8506.62@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:02 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -1119,7 +966,7 @@ test attach for multiple patches:
- --===* (glob)
+ --===
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -1138,22 +985,23 @@ test attach for multiple patches:
@@ -0,0 +1,1 @@
+b
- --===*-- (glob)
- displaying [PATCH 3 of 3] long line ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
- MIME-Version: 1.0
- Subject: [PATCH 3 of 3] long line
- X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ --===
+ Displaying [PATCH 3 of 3] charset=utf-8; content-transfer-encoding: quoted-printable ...
+ Content-Type: multipart/mixed; boundary="===
+ MIME-Version: 1.0
+ Subject: [PATCH 3 of 3] charset=utf-8;
+ content-transfer-encoding: quoted-printable
+ X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
+ Message-Id: <c655633f8c87700bb38c.63@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:03 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -1162,7 +1010,7 @@ test attach for multiple patches:
- --===* (glob)
+ --===
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
@@ -1171,13 +1019,13 @@ test attach for multiple patches:
# HG changeset patch
# User test
# Date 4 0
- # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
- long line
+ # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
+ # Parent c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
+ charset=3Dutf-8; content-transfer-encoding: quoted-printable
- diff -r 909a00e13e9d -r a2ea8fc83dd8 long
+ diff -r c3c9e37db9f4 -r c655633f8c87 qp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/long Thu Jan 01 00:00:04 1970 +0000
+ +++ b/qp Thu Jan 01 00:00:04 1970 +0000
@@ -0,0 +1,4 @@
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
@@ -1197,40 +1045,40 @@ test attach for multiple patches:
+
+bar
- --===*-- (glob)
+ --===
test intro for single patch:
$ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \
- > -r 2
- this patch series consists of 1 patches.
+ > -r 2 | fixheaders
+ This patch series consists of 1 patches.
Write the introductory message for the patch series.
- displaying [PATCH 0 of 1] test ...
+ Displaying [PATCH 0 of 1] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 0 of 1] test
- Message-Id: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
Cc: bar
- displaying [PATCH 1 of 1] c ...
+ Displaying [PATCH 1 of 1] c ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 1 of 1] c
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
- Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <ff2c9fa2018b15fa74b3.61@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:01 +0000
From: quux
To: foo
@@ -1253,17 +1101,17 @@ test intro for single patch:
test --desc without --intro for a single patch:
$ echo foo > intro.text
$ hg email --date '1970-1-1 0:1' -n --desc intro.text -f quux -t foo -c bar \
- > -s test -r 2
- this patch series consists of 1 patches.
+ > -s test -r 2 | fixheaders
+ This patch series consists of 1 patches.
- displaying [PATCH 0 of 1] test ...
+ Displaying [PATCH 0 of 1] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 0 of 1] test
- Message-Id: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
@@ -1271,16 +1119,16 @@ test --desc without --intro for a single patch:
foo
- displaying [PATCH 1 of 1] c ...
+ Displaying [PATCH 1 of 1] c ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 1 of 1] c
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
- Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <ff2c9fa2018b15fa74b3.61@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:01 +0000
From: quux
To: foo
@@ -1302,36 +1150,36 @@ test --desc without --intro for a single patch:
test intro for multiple patches:
$ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \
- > -r 0:1
- this patch series consists of 2 patches.
+ > -r 0:1 | fixheaders
+ This patch series consists of 2 patches.
Write the introductory message for the patch series.
- displaying [PATCH 0 of 2] test ...
+ Displaying [PATCH 0 of 2] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 0 of 2] test
- Message-Id: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
Cc: bar
- displaying [PATCH 1 of 2] a ...
+ Displaying [PATCH 1 of 2] a ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 1 of 2] a
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
- Message-Id: <8580ff50825a50c8f716.61@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <8580ff50825a50c8f716.61@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:01 +0000
From: quux
To: foo
@@ -1350,16 +1198,16 @@ test intro for multiple patches:
@@ -0,0 +1,1 @@
+a
- displaying [PATCH 2 of 2] b ...
+ Displaying [PATCH 2 of 2] b ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 2 of 2] b
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <97d72e5f12c7e84f8506.62@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:02 +0000
From: quux
To: foo
@@ -1381,18 +1229,18 @@ test intro for multiple patches:
test reply-to via config:
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \
- > --config patchbomb.reply-to='baz@example.com'
- this patch series consists of 1 patches.
+ > --config patchbomb.reply-to='baz@example.com' | fixheaders
+ This patch series consists of 1 patches.
- displaying [PATCH] test ...
+ Displaying [PATCH] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH] test
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
- Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <ff2c9fa2018b15fa74b3.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
@@ -1415,18 +1263,18 @@ test reply-to via config:
test reply-to via command line:
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \
- > --reply-to baz --reply-to fred
- this patch series consists of 1 patches.
+ > --reply-to baz --reply-to fred | fixheaders
+ This patch series consists of 1 patches.
- displaying [PATCH] test ...
+ Displaying [PATCH] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH] test
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
- Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <ff2c9fa2018b15fa74b3.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
@@ -1453,23 +1301,24 @@ tagging csets:
$ hg tag -r2 two two.diff
test inline for single named patch:
- $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2
- this patch series consists of 1 patches.
+ $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2 | \
+ > fixheaders
+ This patch series consists of 1 patches.
- displaying [PATCH] test ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ Displaying [PATCH] test ...
+ Content-Type: multipart/mixed; boundary="===
MIME-Version: 1.0
Subject: [PATCH] test
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
- Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <ff2c9fa2018b15fa74b3.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -1488,44 +1337,45 @@ test inline for single named patch:
@@ -0,0 +1,1 @@
+c
- --===*-- (glob)
+ --===
test inline for multiple named/unnamed patches:
- $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 0:1
- this patch series consists of 2 patches.
+ $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 0:1 | \
+ > fixheaders
+ This patch series consists of 2 patches.
Write the introductory message for the patch series.
- displaying [PATCH 0 of 2] test ...
+ Displaying [PATCH 0 of 2] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 0 of 2] test
- Message-Id: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
Cc: bar
- displaying [PATCH 1 of 2] a ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ Displaying [PATCH 1 of 2] a ...
+ Content-Type: multipart/mixed; boundary="===
MIME-Version: 1.0
Subject: [PATCH 1 of 2] a
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
- Message-Id: <8580ff50825a50c8f716.61@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <8580ff50825a50c8f716.61@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:01 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -1544,22 +1394,22 @@ test inline for multiple named/unnamed patches:
@@ -0,0 +1,1 @@
+a
- --===*-- (glob)
- displaying [PATCH 2 of 2] b ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ --===
+ Displaying [PATCH 2 of 2] b ...
+ Content-Type: multipart/mixed; boundary="===
MIME-Version: 1.0
Subject: [PATCH 2 of 2] b
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <97d72e5f12c7e84f8506.62@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:02 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -1578,25 +1428,25 @@ test inline for multiple named/unnamed patches:
@@ -0,0 +1,1 @@
+b
- --===*-- (glob)
+ --===
test inreplyto:
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
- > -r tip
- this patch series consists of 1 patches.
+ > -r tip | fixheaders
+ This patch series consists of 1 patches.
- displaying [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b ...
+ Displaying [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b
- X-Mercurial-Node: 7aead2484924c445ad8ce2613df91f52f9e502ed
- Message-Id: <7aead2484924c445ad8c.60@*> (glob)
+ X-Mercurial-Node: e317db6a6f288748d1f6cb064f3810fcba66b1b6
+ Message-Id: <e317db6a6f288748d1f6.60@
In-Reply-To: <baz>
References: <baz>
- User-Agent: Mercurial-patchbomb/* (glob)
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
@@ -1605,11 +1455,11 @@ test inreplyto:
# HG changeset patch
# User test
# Date 0 0
- # Node ID 7aead2484924c445ad8ce2613df91f52f9e502ed
- # Parent 045ca29b1ea20e4940411e695e20e521f2f0f98e
+ # Node ID e317db6a6f288748d1f6cb064f3810fcba66b1b6
+ # Parent eae5fcf795eee29d0e45ffc9f519a91cd79fc9ff
Added tag two, two.diff for changeset ff2c9fa2018b
- diff -r 045ca29b1ea2 -r 7aead2484924 .hgtags
+ diff -r eae5fcf795ee -r e317db6a6f28 .hgtags
--- a/.hgtags Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
@@ -2,3 +2,5 @@
@@ -1619,105 +1469,47 @@ test inreplyto:
+ff2c9fa2018b15fa74b33363bda9527323e2a99f two
+ff2c9fa2018b15fa74b33363bda9527323e2a99f two.diff
-no intro message in non-interactive mode
+
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
> -r 0:1
- this patch series consists of 2 patches.
-
- (optional) Subject: [PATCH 0 of 2]
-
- displaying [PATCH 1 of 2] a ...
- Content-Type: text/plain; charset="us-ascii"
- MIME-Version: 1.0
- Content-Transfer-Encoding: 7bit
- Subject: [PATCH 1 of 2] a
- X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
- Message-Id: <8580ff50825a50c8f716.60@*> (glob)
- In-Reply-To: <baz>
- References: <baz>
- User-Agent: Mercurial-patchbomb/* (glob)
- Date: Thu, 01 Jan 1970 00:01:00 +0000
- From: quux
- To: foo
- Cc: bar
-
- # HG changeset patch
- # User test
- # Date 1 0
- # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
- # Parent 0000000000000000000000000000000000000000
- a
-
- diff -r 000000000000 -r 8580ff50825a a
- --- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/a Thu Jan 01 00:00:01 1970 +0000
- @@ -0,0 +1,1 @@
- +a
-
- displaying [PATCH 2 of 2] b ...
- Content-Type: text/plain; charset="us-ascii"
- MIME-Version: 1.0
- Content-Transfer-Encoding: 7bit
- Subject: [PATCH 2 of 2] b
- X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- Message-Id: <97d72e5f12c7e84f8506.61@*> (glob)
- In-Reply-To: <8580ff50825a50c8f716.60@*> (glob)
- References: <8580ff50825a50c8f716.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
- Date: Thu, 01 Jan 1970 00:01:01 +0000
- From: quux
- To: foo
- Cc: bar
-
- # HG changeset patch
- # User test
- # Date 2 0
- # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
- b
+ This patch series consists of 2 patches.
- diff -r 8580ff50825a -r 97d72e5f12c7 b
- --- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/b Thu Jan 01 00:00:02 1970 +0000
- @@ -0,0 +1,1 @@
- +b
-
-
-
+ abort: Subject: [PATCH 0 of 2] Please enter a valid value
+ [255]
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
- > -s test -r 0:1
- this patch series consists of 2 patches.
+ > -s test -r 0:1 | fixheaders
+ This patch series consists of 2 patches.
Write the introductory message for the patch series.
- displaying [PATCH 0 of 2] test ...
+ Displaying [PATCH 0 of 2] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 0 of 2] test
- Message-Id: <patchbomb.60@*> (glob)
+ Message-Id: <patchbomb.60@
In-Reply-To: <baz>
References: <baz>
- User-Agent: Mercurial-patchbomb/* (glob)
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
Cc: bar
- displaying [PATCH 1 of 2] a ...
+ Displaying [PATCH 1 of 2] a ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 1 of 2] a
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
- Message-Id: <8580ff50825a50c8f716.61@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <8580ff50825a50c8f716.61@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:01 +0000
From: quux
To: foo
@@ -1736,16 +1528,16 @@ no intro message in non-interactive mode
@@ -0,0 +1,1 @@
+a
- displaying [PATCH 2 of 2] b ...
+ Displaying [PATCH 2 of 2] b ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 2 of 2] b
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <97d72e5f12c7e84f8506.62@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:02 +0000
From: quux
To: foo
@@ -1767,18 +1559,18 @@ no intro message in non-interactive mode
test single flag for single patch:
$ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
- > -r 2
- this patch series consists of 1 patches.
+ > -r 2 | fixheaders
+ This patch series consists of 1 patches.
- displaying [PATCH fooFlag] test ...
+ Displaying [PATCH fooFlag] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH fooFlag] test
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
- Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <ff2c9fa2018b15fa74b3.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
@@ -1800,36 +1592,36 @@ test single flag for single patch:
test single flag for multiple patches:
$ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
- > -r 0:1
- this patch series consists of 2 patches.
+ > -r 0:1 | fixheaders
+ This patch series consists of 2 patches.
Write the introductory message for the patch series.
- displaying [PATCH 0 of 2 fooFlag] test ...
+ Displaying [PATCH 0 of 2 fooFlag] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 0 of 2 fooFlag] test
- Message-Id: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
Cc: bar
- displaying [PATCH 1 of 2 fooFlag] a ...
+ Displaying [PATCH 1 of 2 fooFlag] a ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 1 of 2 fooFlag] a
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
- Message-Id: <8580ff50825a50c8f716.61@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <8580ff50825a50c8f716.61@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:01 +0000
From: quux
To: foo
@@ -1848,16 +1640,16 @@ test single flag for multiple patches:
@@ -0,0 +1,1 @@
+a
- displaying [PATCH 2 of 2 fooFlag] b ...
+ Displaying [PATCH 2 of 2 fooFlag] b ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 2 of 2 fooFlag] b
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <97d72e5f12c7e84f8506.62@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:02 +0000
From: quux
To: foo
@@ -1879,18 +1671,18 @@ test single flag for multiple patches:
test mutiple flags for single patch:
$ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
- > -c bar -s test -r 2
- this patch series consists of 1 patches.
+ > -c bar -s test -r 2 | fixheaders
+ This patch series consists of 1 patches.
- displaying [PATCH fooFlag barFlag] test ...
+ Displaying [PATCH fooFlag barFlag] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH fooFlag barFlag] test
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
- Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <ff2c9fa2018b15fa74b3.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
@@ -1912,36 +1704,36 @@ test mutiple flags for single patch:
test multiple flags for multiple patches:
$ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
- > -c bar -s test -r 0:1
- this patch series consists of 2 patches.
+ > -c bar -s test -r 0:1 | fixheaders
+ This patch series consists of 2 patches.
Write the introductory message for the patch series.
- displaying [PATCH 0 of 2 fooFlag barFlag] test ...
+ Displaying [PATCH 0 of 2 fooFlag barFlag] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 0 of 2 fooFlag barFlag] test
- Message-Id: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:00 +0000
From: quux
To: foo
Cc: bar
- displaying [PATCH 1 of 2 fooFlag barFlag] a ...
+ Displaying [PATCH 1 of 2 fooFlag barFlag] a ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 1 of 2 fooFlag barFlag] a
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
- Message-Id: <8580ff50825a50c8f716.61@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <8580ff50825a50c8f716.61@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:01 +0000
From: quux
To: foo
@@ -1960,16 +1752,16 @@ test multiple flags for multiple patches:
@@ -0,0 +1,1 @@
+a
- displaying [PATCH 2 of 2 fooFlag barFlag] b ...
+ Displaying [PATCH 2 of 2 fooFlag barFlag] b ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH 2 of 2 fooFlag barFlag] b
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <97d72e5f12c7e84f8506.62@
+ In-Reply-To: <patchbomb.60@
+ References: <patchbomb.60@
+ User-Agent: Mercurial-patchbomb
Date: Thu, 01 Jan 1970 00:01:02 +0000
From: quux
To: foo
@@ -1993,19 +1785,19 @@ test multi-address parsing:
$ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t 'spam<spam><eggs>' \
> -t toast -c 'foo,bar@example.com' -c '"A, B <>" <a@example.com>' -s test -r 0 \
> --config email.bcc='"Quux, A." <quux>'
- this patch series consists of 1 patches.
+ This patch series consists of 1 patches.
- sending [PATCH] test ...
- $ cat < tmp.mbox
- From quux ... ... .. ..:..:.. .... (re)
+ Writing [PATCH] test ...
+ $ fixheaders < tmp.mbox
+ From quux Tue Jan 01 00:01:01 1980
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH] test
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
- Message-Id: <8580ff50825a50c8f716.315532860@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <8580ff50825a50c8f716.315532860@
+ User-Agent: Mercurial-patchbomb
Date: Tue, 01 Jan 1980 00:01:00 +0000
From: quux
To: spam <spam>, eggs, toast
@@ -2032,20 +1824,20 @@ test multi-byte domain parsing:
$ HGENCODING=iso-8859-1
$ export HGENCODING
$ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t "bar@${UUML}nicode.com" -s test -r 0
- this patch series consists of 1 patches.
+ This patch series consists of 1 patches.
Cc:
- sending [PATCH] test ...
+ Writing [PATCH] test ...
$ cat tmp.mbox
- From quux ... ... .. ..:..:.. .... (re)
+ From quux Tue Jan 01 00:01:01 1980
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH] test
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
- Message-Id: <8580ff50825a50c8f716.315532860@*> (glob)
+ Message-Id: <8580ff50825a50c8f716.315532860@* (glob)
User-Agent: Mercurial-patchbomb/* (glob)
Date: Tue, 01 Jan 1980 00:01:00 +0000
From: quux
@@ -2072,68 +1864,42 @@ test outgoing:
$ hg branch test
marked working directory as branch test
- (branches are permanent and global, did you want a bookmark?)
$ echo d > d
$ hg add d
$ hg ci -md -d '4 0'
- $ echo d >> d
- $ hg ci -mdd -d '5 0'
- $ hg --config extensions.graphlog= glog --template "{rev}:{node|short} {desc|firstline}\n"
- @ 10:3b6f1ec9dde9 dd
- |
- o 9:2f9fa9b998c5 d
- |
- | o 8:7aead2484924 Added tag two, two.diff for changeset ff2c9fa2018b
- | |
- | o 7:045ca29b1ea2 Added tag one, one.patch for changeset 97d72e5f12c7
- | |
- | o 6:5d5ef15dfe5e Added tag zero, zero.foo for changeset 8580ff50825a
- | |
- | o 5:240fb913fc1b isolatin 8-bit encoding
- | |
- | o 4:a2ea8fc83dd8 long line
- | |
- | o 3:909a00e13e9d utf-8 content
- | |
- | o 2:ff2c9fa2018b c
- |/
- o 1:97d72e5f12c7 b
- |
- o 0:8580ff50825a a
-
- $ hg phase --force --secret -r 10
- $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t -r 'rev(10) or rev(6)'
+ $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t
comparing with ../t
+ searching for changes
From [test]: test
- this patch series consists of 6 patches.
+ This patch series consists of 8 patches.
Write the introductory message for the patch series.
Cc:
- displaying [PATCH 0 of 6] test ...
+ Displaying [PATCH 0 of 8] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
- Subject: [PATCH 0 of 6] test
- Message-Id: <patchbomb.315532860@*> (glob)
+ Subject: [PATCH 0 of 8] test
+ Message-Id: <patchbomb.315532860@* (glob)
User-Agent: Mercurial-patchbomb/* (glob)
Date: Tue, 01 Jan 1980 00:01:00 +0000
From: test
To: foo
- displaying [PATCH 1 of 6] c ...
+ Displaying [PATCH 1 of 8] c ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
- Subject: [PATCH 1 of 6] c
+ Subject: [PATCH 1 of 8] c
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
- Message-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
- In-Reply-To: <patchbomb.315532860@*> (glob)
- References: <patchbomb.315532860@*> (glob)
+ Message-Id: <ff2c9fa2018b15fa74b3.315532861@* (glob)
+ In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
+ References: <patchbomb\.315532860@[^>]*> (re)
User-Agent: Mercurial-patchbomb/* (glob)
Date: Tue, 01 Jan 1980 00:01:01 +0000
From: test
@@ -2152,15 +1918,15 @@ test outgoing:
@@ -0,0 +1,1 @@
+c
- displaying [PATCH 2 of 6] utf-8 content ...
+ Displaying [PATCH 2 of 8] charset=utf-8; content-transfer-encoding: base64 ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
- Subject: [PATCH 2 of 6] utf-8 content
- X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
- Message-Id: <909a00e13e9d78b575ae.315532862@*> (glob)
- In-Reply-To: <patchbomb.315532860@*> (glob)
- References: <patchbomb.315532860@*> (glob)
+ Subject: [PATCH 2 of 8] charset=utf-8; content-transfer-encoding: base64
+ X-Mercurial-Node: c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
+ Message-Id: <c3c9e37db9f4fe4882cd.315532862@* (glob)
+ In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
+ References: <patchbomb\.315532860@[^>]*> (re)
User-Agent: Mercurial-patchbomb/* (glob)
Date: Tue, 01 Jan 1980 00:01:02 +0000
From: test
@@ -2169,32 +1935,33 @@ test outgoing:
# HG changeset patch
# User test
# Date 4 0
- # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
+ # Node ID c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
# Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
- utf-8 content
+ charset=utf-8; content-transfer-encoding: base64
- diff -r ff2c9fa2018b -r 909a00e13e9d description
+ diff -r ff2c9fa2018b -r c3c9e37db9f4 description
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/description Thu Jan 01 00:00:04 1970 +0000
@@ -0,0 +1,3 @@
+a multiline
+
+description
- diff -r ff2c9fa2018b -r 909a00e13e9d utf
+ diff -r ff2c9fa2018b -r c3c9e37db9f4 utf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/utf Thu Jan 01 00:00:04 1970 +0000
@@ -0,0 +1,1 @@
+h\xc3\xb6mma! (esc)
- displaying [PATCH 3 of 6] long line ...
+ Displaying [PATCH 3 of 8] charset=utf-8; content-transfer-encoding: quoted-printable ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
- Subject: [PATCH 3 of 6] long line
- X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- Message-Id: <a2ea8fc83dd8b93cfd86.315532863@*> (glob)
- In-Reply-To: <patchbomb.315532860@*> (glob)
- References: <patchbomb.315532860@*> (glob)
+ Subject: [PATCH 3 of 8] charset=utf-8;
+ content-transfer-encoding: quoted-printable
+ X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
+ Message-Id: <c655633f8c87700bb38c.315532863@* (glob)
+ In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
+ References: <patchbomb\.315532860@[^>]*> (re)
User-Agent: Mercurial-patchbomb/* (glob)
Date: Tue, 01 Jan 1980 00:01:03 +0000
From: test
@@ -2203,13 +1970,13 @@ test outgoing:
# HG changeset patch
# User test
# Date 4 0
- # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
- long line
+ # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
+ # Parent c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
+ charset=3Dutf-8; content-transfer-encoding: quoted-printable
- diff -r 909a00e13e9d -r a2ea8fc83dd8 long
+ diff -r c3c9e37db9f4 -r c655633f8c87 qp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
- +++ b/long Thu Jan 01 00:00:04 1970 +0000
+ +++ b/qp Thu Jan 01 00:00:04 1970 +0000
@@ -0,0 +1,4 @@
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
@@ -2229,15 +1996,15 @@ test outgoing:
+
+bar
- displaying [PATCH 4 of 6] isolatin 8-bit encoding ...
+ Displaying [PATCH 4 of 8] charset=us-ascii; content-transfer-encoding: 8bit ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
- Subject: [PATCH 4 of 6] isolatin 8-bit encoding
- X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
- Message-Id: <240fb913fc1b7ff15ddb.315532864@*> (glob)
- In-Reply-To: <patchbomb.315532860@*> (glob)
- References: <patchbomb.315532860@*> (glob)
+ Subject: [PATCH 4 of 8] charset=us-ascii; content-transfer-encoding: 8bit
+ X-Mercurial-Node: 22d0f96be12f5945fd67d101af58f7bc8263c835
+ Message-Id: <22d0f96be12f5945fd67.315532864@* (glob)
+ In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
+ References: <patchbomb\.315532860@[^>]*> (re)
User-Agent: Mercurial-patchbomb/* (glob)
Date: Tue, 01 Jan 1980 00:01:04 +0000
From: test
@@ -2246,25 +2013,25 @@ test outgoing:
# HG changeset patch
# User test
# Date 5 0
- # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
- # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- isolatin 8-bit encoding
+ # Node ID 22d0f96be12f5945fd67d101af58f7bc8263c835
+ # Parent c655633f8c87700bb38cc6a59a2753bdc5a6c376
+ charset=us-ascii; content-transfer-encoding: 8bit
- diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin
+ diff -r c655633f8c87 -r 22d0f96be12f isolatin
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/isolatin Thu Jan 01 00:00:05 1970 +0000
@@ -0,0 +1,1 @@
+h\xf6mma! (esc)
- displaying [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a ...
+ Displaying [PATCH 5 of 8] Added tag zero, zero.foo for changeset 8580ff50825a ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
- Subject: [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a
- X-Mercurial-Node: 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433
- Message-Id: <5d5ef15dfe5e7bd3a4ee.315532865@*> (glob)
- In-Reply-To: <patchbomb.315532860@*> (glob)
- References: <patchbomb.315532860@*> (glob)
+ Subject: [PATCH 5 of 8] Added tag zero, zero.foo for changeset 8580ff50825a
+ X-Mercurial-Node: dd9c2b4b8a8a0934d5523c15f2c119b362360903
+ Message-Id: <dd9c2b4b8a8a0934d552.315532865@* (glob)
+ In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
+ References: <patchbomb\.315532860@[^>]*> (re)
User-Agent: Mercurial-patchbomb/* (glob)
Date: Tue, 01 Jan 1980 00:01:05 +0000
From: test
@@ -2273,26 +2040,26 @@ test outgoing:
# HG changeset patch
# User test
# Date 0 0
- # Node ID 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433
- # Parent 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
+ # Node ID dd9c2b4b8a8a0934d5523c15f2c119b362360903
+ # Parent 22d0f96be12f5945fd67d101af58f7bc8263c835
Added tag zero, zero.foo for changeset 8580ff50825a
- diff -r 240fb913fc1b -r 5d5ef15dfe5e .hgtags
+ diff -r 22d0f96be12f -r dd9c2b4b8a8a .hgtags
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
@@ -0,0 +1,2 @@
+8580ff50825a50c8f716709acdf8de0deddcd6ab zero
+8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
- displaying [PATCH 6 of 6] d ...
+ Displaying [PATCH 6 of 8] Added tag one, one.patch for changeset 97d72e5f12c7 ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
- Subject: [PATCH 6 of 6] d
- X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
- Message-Id: <2f9fa9b998c5fe3ac2bd.315532866@*> (glob)
- In-Reply-To: <patchbomb.315532860@*> (glob)
- References: <patchbomb.315532860@*> (glob)
+ Subject: [PATCH 6 of 8] Added tag one, one.patch for changeset 97d72e5f12c7
+ X-Mercurial-Node: eae5fcf795eee29d0e45ffc9f519a91cd79fc9ff
+ Message-Id: <eae5fcf795eee29d0e45.315532866@* (glob)
+ In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
+ References: <patchbomb\.315532860@[^>]*> (re)
User-Agent: Mercurial-patchbomb/* (glob)
Date: Tue, 01 Jan 1980 00:01:06 +0000
From: test
@@ -2300,6 +2067,67 @@ test outgoing:
# HG changeset patch
# User test
+ # Date 0 0
+ # Node ID eae5fcf795eee29d0e45ffc9f519a91cd79fc9ff
+ # Parent dd9c2b4b8a8a0934d5523c15f2c119b362360903
+ Added tag one, one.patch for changeset 97d72e5f12c7
+
+ diff -r dd9c2b4b8a8a -r eae5fcf795ee .hgtags
+ --- a/.hgtags Thu Jan 01 00:00:00 1970 +0000
+ +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
+ @@ -1,2 +1,4 @@
+ 8580ff50825a50c8f716709acdf8de0deddcd6ab zero
+ 8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
+ +97d72e5f12c7e84f85064aa72e5a297142c36ed9 one
+ +97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch
+
+ Displaying [PATCH 7 of 8] Added tag two, two.diff for changeset ff2c9fa2018b ...
+ Content-Type: text/plain; charset="us-ascii"
+ MIME-Version: 1.0
+ Content-Transfer-Encoding: 7bit
+ Subject: [PATCH 7 of 8] Added tag two, two.diff for changeset ff2c9fa2018b
+ X-Mercurial-Node: e317db6a6f288748d1f6cb064f3810fcba66b1b6
+ Message-Id: <e317db6a6f288748d1f6.315532867@* (glob)
+ In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
+ References: <patchbomb\.315532860@[^>]*> (re)
+ User-Agent: Mercurial-patchbomb/* (glob)
+ Date: Tue, 01 Jan 1980 00:01:07 +0000
+ From: test
+ To: foo
+
+ # HG changeset patch
+ # User test
+ # Date 0 0
+ # Node ID e317db6a6f288748d1f6cb064f3810fcba66b1b6
+ # Parent eae5fcf795eee29d0e45ffc9f519a91cd79fc9ff
+ Added tag two, two.diff for changeset ff2c9fa2018b
+
+ diff -r eae5fcf795ee -r e317db6a6f28 .hgtags
+ --- a/.hgtags Thu Jan 01 00:00:00 1970 +0000
+ +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
+ @@ -2,3 +2,5 @@
+ 8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
+ 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one
+ 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch
+ +ff2c9fa2018b15fa74b33363bda9527323e2a99f two
+ +ff2c9fa2018b15fa74b33363bda9527323e2a99f two.diff
+
+ Displaying [PATCH 8 of 8] d ...
+ Content-Type: text/plain; charset="us-ascii"
+ MIME-Version: 1.0
+ Content-Transfer-Encoding: 7bit
+ Subject: [PATCH 8 of 8] d
+ X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
+ Message-Id: <2f9fa9b998c5fe3ac2bd\.315532868[^>]*> (re)
+ In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
+ References: <patchbomb\.315532860@[^>]*> (re)
+ User-Agent: Mercurial-patchbomb/* (glob)
+ Date: Tue, 01 Jan 1980 00:01:08 +0000
+ From: test
+ To: foo
+
+ # HG changeset patch
+ # User test
# Date 4 0
# Branch test
# Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
@@ -2316,18 +2144,19 @@ test outgoing:
dest#branch URIs:
$ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t#test
comparing with ../t
+ searching for changes
From [test]: test
- this patch series consists of 1 patches.
+ This patch series consists of 1 patches.
Cc:
- displaying [PATCH] test ...
+ Displaying [PATCH] test ...
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH] test
X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
- Message-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob)
+ Message-Id: <2f9fa9b998c5fe3ac2bd.315532860@* (glob)
User-Agent: Mercurial-patchbomb/* (glob)
Date: Tue, 01 Jan 1980 00:01:00 +0000
From: test
@@ -2347,5 +2176,3 @@ dest#branch URIs:
@@ -0,0 +1,1 @@
+d
-
- $ cd ..