test-patchbomb.t
3081 lines
| 92.0 KiB
| text/troff
|
Tads3Lexer
/ tests / test-patchbomb.t
Augie Fackler
|
r21725 | Note for future hackers of patchbomb: this file is a bit heavy on | ||
wildcards in test expectations due to how many things like hostnames | ||||
tend to make it into outputs. As a result, you may need to perform the | ||||
following regular expression substitutions: | ||||
Mercurial-patchbomb/.* -> Mercurial-patchbomb/* (glob) | ||||
/mixed; boundary="===+[0-9]+==" -> /mixed; boundary="===*== (glob)" | ||||
--===+[0-9]+=+--$ -> --===*=-- (glob) | ||||
--===+[0-9]+=+$ -> --===*= (glob) | ||||
Augie Fackler
|
r22071 | $ cat > prune-blank-after-boundary.py <<EOF | ||
Augie Fackler
|
r33985 | > from __future__ import absolute_import, print_function | ||
Augie Fackler
|
r22071 | > import sys | ||
> skipblank = False | ||||
> trim = lambda x: x.strip(' \r\n') | ||||
> for l in sys.stdin: | ||||
> if trim(l).endswith('=--') or trim(l).endswith('=='): | ||||
> skipblank = True | ||||
Augie Fackler
|
r33985 | > print(l, end='') | ||
Augie Fackler
|
r22071 | > continue | ||
> if not trim(l) and skipblank: | ||||
> continue | ||||
> skipblank = False | ||||
Augie Fackler
|
r33985 | > print(l, end='') | ||
Augie Fackler
|
r22071 | > EOF | ||
Matt Harbison
|
r41005 | $ filterboundary() { | ||
> "$PYTHON" "$TESTTMP/prune-blank-after-boundary.py" | ||||
> } | ||||
Andreas Freimuth
|
r11910 | $ echo "[extensions]" >> $HGRCPATH | ||
$ echo "patchbomb=" >> $HGRCPATH | ||||
$ hg init t | ||||
$ cd t | ||||
$ echo a > a | ||||
$ hg commit -Ama -d '1 0' | ||||
adding a | ||||
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip | ||||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH] a ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.60@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@test-hostname> | ||||
Brodie Rao
|
r12376 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 1 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:01 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Augie Fackler
|
r34302 | If --to is specified on the command line, it should override any | ||
email.to config setting. Same for --cc: | ||||
$ hg email --date '1970-1-1 0:1' -n -f quux --to foo --cc bar -r tip \ | ||||
> --config email.to=bob@example.com --config email.cc=alice@example.com | ||||
this patch series consists of 1 patches. | ||||
displaying [PATCH] a ... | ||||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Augie Fackler
|
r34302 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
X-Mercurial-Series-Index: 1 | ||||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.60@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@test-hostname> | ||||
Augie Fackler
|
r34302 | 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 | ||||
# Thu Jan 01 00:00:01 1970 +0000 | ||||
# 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 | ||||
Christian Ebert
|
r12201 | $ hg --config ui.interactive=1 email --confirm -n -f quux -t foo -c bar -r tip<<EOF | ||
> n | ||||
> EOF | ||||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Christian Ebert
|
r12201 | |||
Final summary: | ||||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Subject: [PATCH] a | ||||
a | 1 + | ||||
1 files changed, 1 insertions(+), 0 deletions(-) | ||||
Mads Kiilerich
|
r22589 | are you sure you want to send (yn)? n | ||
abort: patchbomb canceled | ||||
Matt Mackall
|
r12316 | [255] | ||
Christian Ebert
|
r12201 | |||
Pierre-Yves David
|
r23488 | $ hg --config ui.interactive=1 --config patchbomb.confirm=true email -n -f quux -t foo -c bar -r tip<<EOF | ||
> n | ||||
> EOF | ||||
this patch series consists of 1 patches. | ||||
Final summary: | ||||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Subject: [PATCH] a | ||||
a | 1 + | ||||
1 files changed, 1 insertions(+), 0 deletions(-) | ||||
are you sure you want to send (yn)? n | ||||
abort: patchbomb canceled | ||||
[255] | ||||
Siddharth Agarwal
|
r23450 | Test diff.git is respected | ||
$ hg --config diff.git=True email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip | ||||
this patch series consists of 1 patches. | ||||
displaying [PATCH] a ... | ||||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Siddharth Agarwal
|
r23450 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
X-Mercurial-Series-Index: 1 | ||||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.60@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@test-hostname> | ||||
Siddharth Agarwal
|
r23450 | 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 | ||||
# Thu Jan 01 00:00:01 1970 +0000 | ||||
# Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
# Parent 0000000000000000000000000000000000000000 | ||||
a | ||||
diff --git a/a b/a | ||||
new file mode 100644 | ||||
--- /dev/null | ||||
+++ b/a | ||||
@@ -0,0 +1,1 @@ | ||||
+a | ||||
Test breaking format changes aren't | ||||
$ hg --config diff.noprefix=True email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip | ||||
this patch series consists of 1 patches. | ||||
displaying [PATCH] a ... | ||||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Siddharth Agarwal
|
r23450 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
X-Mercurial-Series-Index: 1 | ||||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.60@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@test-hostname> | ||||
Siddharth Agarwal
|
r23450 | 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 | ||||
# Thu Jan 01 00:00:01 1970 +0000 | ||||
# 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 | ||||
Andreas Freimuth
|
r11910 | $ echo b > b | ||
$ hg commit -Amb -d '2 0' | ||||
adding b | ||||
$ hg email --date '1970-1-1 0:2' -n -f quux -t foo -c bar -s test -r 0:tip | ||||
Martin Geisler
|
r16931 | this patch series consists of 2 patches. | ||
Andreas Freimuth
|
r11910 | |||
Write the introductory message for the patch series. | ||||
Martin Geisler
|
r16931 | displaying [PATCH 0 of 2] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 0 of 2] test | ||||
Augie Fackler
|
r39156 | Message-Id: <patchbomb.120@test-hostname> | ||
Brodie Rao
|
r12376 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:02:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Martin Geisler
|
r16931 | displaying [PATCH 1 of 2] a ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 1 of 2] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.121@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.121@test-hostname> | ||||
In-Reply-To: <patchbomb.120@test-hostname> | ||||
References: <patchbomb.120@test-hostname> | ||||
Brodie Rao
|
r12376 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:02:01 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 1 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:01 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Martin Geisler
|
r16931 | displaying [PATCH 2 of 2] b ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 2 of 2] b | ||||
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 2 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <97d72e5f12c7e84f8506.122@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.121@test-hostname> | ||||
In-Reply-To: <patchbomb.120@test-hostname> | ||||
References: <patchbomb.120@test-hostname> | ||||
Brodie Rao
|
r12376 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:02:02 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 2 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:02 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
b | ||||
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 | ||||
Nicolas Dumazet
|
r13198 | .hg/last-email.txt | ||
Mads Kiilerich
|
r16901 | $ cat > editor.sh << '__EOF__' | ||
Nicolas Dumazet
|
r13198 | > echo "a precious introductory message" > "$1" | ||
> __EOF__ | ||||
Mads Kiilerich
|
r16901 | $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg email -n -t foo -s test -r 0:tip > /dev/null | ||
Nicolas Dumazet
|
r13198 | $ cat .hg/last-email.txt | ||
a precious introductory message | ||||
Yuya Nishihara
|
r12845 | $ hg email -m test.mbox -f quux -t foo -c bar -s test 0:tip \ | ||
> --config extensions.progress= --config progress.assume-tty=1 \ | ||||
Augie Fackler
|
r14101 | > --config progress.delay=0 --config progress.refresh=0 \ | ||
Jun Wu
|
r34317 | > --config progress.width=60 \ | ||
> --config extensions.mocktime=$TESTDIR/mocktime.py | ||||
Martin Geisler
|
r16931 | this patch series consists of 2 patches. | ||
Andreas Freimuth
|
r11910 | |||
Write the introductory message for the patch series. | ||||
Mads Kiilerich
|
r17743 | \r (no-eol) (esc) | ||
sending [ ] 0/3\r (no-eol) (esc) | ||||
\r (no-eol) (esc) | ||||
\r (no-eol) (esc) | ||||
Jun Wu
|
r34316 | sending [============> ] 1/3 01s\r (no-eol) (esc) | ||
Mads Kiilerich
|
r17743 | \r (no-eol) (esc) | ||
\r (no-eol) (esc) | ||||
Jun Wu
|
r34316 | sending [==========================> ] 2/3 01s\r (no-eol) (esc) | ||
Augie Fackler
|
r14101 | \r (esc) | ||
Martin Geisler
|
r16931 | sending [PATCH 0 of 2] test ... | ||
sending [PATCH 1 of 2] a ... | ||||
sending [PATCH 2 of 2] b ... | ||||
Andreas Freimuth
|
r11910 | |||
$ cd .. | ||||
$ hg clone -q t t2 | ||||
$ cd t2 | ||||
$ echo c > c | ||||
$ hg commit -Amc -d '3 0' | ||||
adding c | ||||
$ cat > description <<EOF | ||||
> a multiline | ||||
> | ||||
> description | ||||
> EOF | ||||
test bundle and description: | ||||
$ hg email --date '1970-1-1 0:3' -n -f quux -t foo \ | ||||
Matt Harbison
|
r41005 | > -c bar -s test -r tip -b --desc description | filterboundary | ||
Andreas Freimuth
|
r11910 | searching for changes | ||
1 changesets found | ||||
Martin Geisler
|
r16931 | displaying test ... | ||
Augie Fackler
|
r21725 | Content-Type: multipart/mixed; boundary="===*==" (glob) | ||
Andreas Freimuth
|
r11910 | MIME-Version: 1.0 | ||
Subject: test | ||||
Augie Fackler
|
r39156 | Message-Id: <patchbomb.180@test-hostname> | ||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:03:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
a multiline | ||||
description | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Andreas Freimuth
|
r11910 | Content-Type: application/x-mercurial-bundle | ||
MIME-Version: 1.0 | ||||
Content-Disposition: attachment; filename="bundle.hg" | ||||
Content-Transfer-Encoding: base64 | ||||
Boris Feld
|
r37920 | SEcyMAAAAA5Db21wcmVzc2lvbj1CWkJaaDkxQVkmU1l91TAVAAAN////vFcSXL9/8H7R09C/578I | ||
Ak0E4pe4SIIIgQSgGEQOcLABGYYNKgJgmhpp6mmjIZMCZNMhpgBBpkaYJpo9QaZMg02iaY2lCImK | ||||
emk02kmEAeoA0D01ANBoHqHqADTaj1NAAyZqA0Gg0KiYnqaepk0eoNDTCGj1A0eoyBoGjRkYBqAB | ||||
poNMmhkBhENSP0knlYZbqyEIYxkFdpDUS6roBDMgAGhkAqd92kEcgyeMo2MM366gpLNHjfKrhJPN | ||||
vdBCHAEDsYzAvzkHKxy5KWBAmh5e1nFttGChpsxrgmutRG0YrsSLWEBH9h95cbZEKFeUKYykRXHa | ||||
Bkt2OSgELsqqnWKeMudBR+YSZCOSHrwPz7B/Gfou7/L6QV6S0IgclBCitBVHMxMFq/vGwp5WHezM | ||||
JwhKTnH0OkMbmVjrAkQKR7VM2aNSXn+GzLOCzOQm0AJ1TLCpdSgnfFPcY7mGxAOyHXS1YEFVi5O9 | ||||
I4EVBBd8VRgN4n1MAm8l6QQ+yB60hkeX/0ZZmKoQRINkEBxEDZU2HjIZMcwWRvZtbRIa5kgkGIb/ | ||||
SkImFwIkDtQxyX+LuSKcKEg+6pgKgA== | ||||
Pierre-Yves David
|
r26924 | --===============*==-- (glob) | ||
Andreas Freimuth
|
r11910 | |||
Pierre-Yves David
|
r26563 | with a specific bundle type | ||
(binary part must be different) | ||||
$ hg email --date '1970-1-1 0:3' -n -f quux -t foo \ | ||||
> -c bar -s test -r tip -b --desc description \ | ||||
Matt Harbison
|
r41005 | > --config patchbomb.bundletype=gzip-v1 | filterboundary | ||
Pierre-Yves David
|
r26563 | searching for changes | ||
1 changesets found | ||||
displaying test ... | ||||
Content-Type: multipart/mixed; boundary="===*==" (glob) | ||||
MIME-Version: 1.0 | ||||
Subject: test | ||||
Augie Fackler
|
r39156 | Message-Id: <patchbomb.180@test-hostname> | ||
Pierre-Yves David
|
r26563 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Date: Thu, 01 Jan 1970 00:03:00 +0000 | ||||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
--===*= (glob) | ||||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Pierre-Yves David
|
r26563 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
a multiline | ||||
description | ||||
--===*= (glob) | ||||
Content-Type: application/x-mercurial-bundle | ||||
MIME-Version: 1.0 | ||||
Content-Disposition: attachment; filename="bundle.hg" | ||||
Content-Transfer-Encoding: base64 | ||||
SEcxMEdaeJxjYGBY8V9n/iLGbtFfJZuNk/euDCpWfrRy/vTrevFCx1/4t7J5LdeL0ix0Opx3kwEL | ||||
wKYXKqUJwqnG5sYWSWmmJsaWlqYWaRaWJpaWiWamZpYWRgZGxolJiabmSQbmZqlcQMV6QGwCxGzG | ||||
CgZcySARUyA2A2LGZKiZ3Y+Lu786z4z4MWXmsrAZCsqrl1az5y21PMcjpbThzWeXGT+/nutbmvvz | ||||
zXYS3BoGxdrJDIYmlimJJiZpRokmqYYmaSYWFknmSSkmhqbmliamiZYWxuYmBhbJBgZcUBNZQe5K | ||||
Epm7xF/LT+RLx/a9juFTomaYO/Rgsx4rwBN+IMCUDLOKAQBrsmti | ||||
Augie Fackler
|
r39075 | (?) | ||
Pierre-Yves David
|
r26563 | --===============*==-- (glob) | ||
Andreas Freimuth
|
r11910 | utf-8 patch: | ||
Matt Harbison
|
r39743 | $ "$PYTHON" -c 'fp = open("utf", "wb"); fp.write(b"h\xC3\xB6mma!\n"); fp.close();' | ||
Mads Kiilerich
|
r15547 | $ hg commit -A -d '4 0' -m 'utf-8 content' | ||
Andreas Freimuth
|
r11910 | adding description | ||
adding utf | ||||
no mime encoding for email --test: | ||||
Mads Kiilerich
|
r15546 | $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH] utf-8 content ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Augie Fackler
|
r39072 | Content-Type: text/plain; charset="iso-8859-1" | ||
Content-Transfer-Encoding: quoted-printable | ||||
Mads Kiilerich
|
r15547 | Subject: [PATCH] utf-8 content | ||
X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <909a00e13e9d78b575ae.240@test-hostname> | ||
X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:04:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 4 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:04 1970 +0000 | ||
Mads Kiilerich
|
r15547 | # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f | ||
Mads Kiilerich
|
r15546 | # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f | ||
Mads Kiilerich
|
r15547 | utf-8 content | ||
Mads Kiilerich
|
r15546 | |||
Mads Kiilerich
|
r15547 | diff -r ff2c9fa2018b -r 909a00e13e9d description | ||
Mads Kiilerich
|
r15546 | --- /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 | ||||
Mads Kiilerich
|
r15547 | diff -r ff2c9fa2018b -r 909a00e13e9d utf | ||
Mads Kiilerich
|
r15546 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | ||
+++ b/utf Thu Jan 01 00:00:04 1970 +0000 | ||||
@@ -0,0 +1,1 @@ | ||||
Augie Fackler
|
r39072 | +h=C3=B6mma! | ||
Mads Kiilerich
|
r15546 | |||
Andreas Freimuth
|
r11910 | |||
mime encoded mbox (base64): | ||||
Mads Kiilerich
|
r15559 | $ hg email --date '1970-1-1 0:4' -f 'Q <quux>' -t foo -c bar -r tip -m mbox | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | sending [PATCH] utf-8 content ... | ||
Andreas Freimuth
|
r11910 | |||
$ cat mbox | ||||
Mads Kiilerich
|
r15559 | From quux ... ... .. ..:..:.. .... (re) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="utf-8" | ||
Content-Transfer-Encoding: base64 | ||||
Mads Kiilerich
|
r15547 | Subject: [PATCH] utf-8 content | ||
X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <909a00e13e9d78b575ae.240@test-hostname> | ||
X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@test-hostname> | ||||
Brodie Rao
|
r12376 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:04:00 +0000 | ||
Mads Kiilerich
|
r15559 | From: Q <quux> | ||
Andreas Freimuth
|
r11910 | To: foo | ||
Cc: bar | ||||
Mads Kiilerich
|
r18648 | IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojICAgICAgVGh1IEph | ||
biAwMSAwMDowMDowNCAxOTcwICswMDAwCiMgTm9kZSBJRCA5MDlhMDBlMTNlOWQ3OGI1NzVhZWVl | ||||
MjNkZGRiYWRhNDZkNWExNDNmCiMgUGFyZW50ICBmZjJjOWZhMjAxOGIxNWZhNzRiMzMzNjNiZGE5 | ||||
NTI3MzIzZTJhOTlmCnV0Zi04IGNvbnRlbnQKCmRpZmYgLXIgZmYyYzlmYTIwMThiIC1yIDkwOWEw | ||||
MGUxM2U5ZCBkZXNjcmlwdGlvbgotLS0gL2Rldi9udWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3 | ||||
MCArMDAwMAorKysgYi9kZXNjcmlwdGlvbglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK | ||||
QEAgLTAsMCArMSwzIEBACithIG11bHRpbGluZQorCitkZXNjcmlwdGlvbgpkaWZmIC1yIGZmMmM5 | ||||
ZmEyMDE4YiAtciA5MDlhMDBlMTNlOWQgdXRmCi0tLSAvZGV2L251bGwJVGh1IEphbiAwMSAwMDow | ||||
MDowMCAxOTcwICswMDAwCisrKyBiL3V0ZglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK | ||||
QEAgLTAsMCArMSwxIEBACitow7ZtbWEhCg== | ||||
Andreas Freimuth
|
r11910 | |||
Augie Fackler
|
r39071 | >>> import base64 | ||
>>> patch = base64.b64decode(open("mbox").read().split("\n\n")[1]) | ||||
>>> if not isinstance(patch, str): | ||||
... import sys | ||||
... sys.stdout.flush() | ||||
... junk = sys.stdout.buffer.write(patch + b"\n") | ||||
... else: | ||||
... print(patch) | ||||
Mads Kiilerich
|
r15546 | # HG changeset patch | ||
# User test | ||||
# Date 4 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:04 1970 +0000 | ||
Mads Kiilerich
|
r15547 | # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f | ||
Mads Kiilerich
|
r15546 | # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f | ||
Mads Kiilerich
|
r15547 | utf-8 content | ||
Mads Kiilerich
|
r15546 | |||
Mads Kiilerich
|
r15547 | diff -r ff2c9fa2018b -r 909a00e13e9d description | ||
Mads Kiilerich
|
r15546 | --- /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 | ||||
Mads Kiilerich
|
r15547 | diff -r ff2c9fa2018b -r 909a00e13e9d utf | ||
Mads Kiilerich
|
r15546 | --- /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) | ||||
Andreas Freimuth
|
r11910 | |||
$ rm mbox | ||||
mime encoded mbox (quoted-printable): | ||||
Matt Harbison
|
r39743 | $ "$PYTHON" -c 'fp = open("long", "wb"); fp.write(b"%s\nfoo\n\nbar\n" % (b"x" * 1024)); fp.close();' | ||
Mads Kiilerich
|
r15547 | $ hg commit -A -d '4 0' -m 'long line' | ||
adding long | ||||
Andreas Freimuth
|
r11910 | |||
no mime encoding for email --test: | ||||
Mads Kiilerich
|
r15546 | $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Mads Kiilerich
|
r15546 | |||
Martin Geisler
|
r16931 | displaying [PATCH] long line ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Mads Kiilerich
|
r15546 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: quoted-printable | ||||
Mads Kiilerich
|
r15547 | Subject: [PATCH] long line | ||
X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <a2ea8fc83dd8b93cfd86.240@test-hostname> | ||
X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@test-hostname> | ||||
Mads Kiilerich
|
r15546 | 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 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:04 1970 +0000 | ||
Mads Kiilerich
|
r15547 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||
# Parent 909a00e13e9d78b575aeee23dddbada46d5a143f | ||||
long line | ||||
Mads Kiilerich
|
r15546 | |||
Mads Kiilerich
|
r15547 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long | ||
Andreas Freimuth
|
r11910 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | ||
Mads Kiilerich
|
r15547 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 | ||
Mads Kiilerich
|
r15546 | @@ -0,0 +1,4 @@ | ||
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||||
+foo | ||||
+ | ||||
+bar | ||||
Andreas Freimuth
|
r11910 | |||
mime encoded mbox (quoted-printable): | ||||
$ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -m mbox | ||||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | sending [PATCH] long line ... | ||
Mads Kiilerich
|
r15546 | $ cat mbox | ||
Mads Kiilerich
|
r15559 | From quux ... ... .. ..:..:.. .... (re) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: quoted-printable | ||||
Mads Kiilerich
|
r15547 | Subject: [PATCH] long line | ||
X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <a2ea8fc83dd8b93cfd86.240@test-hostname> | ||
X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:04:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 4 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:04 1970 +0000 | ||
Mads Kiilerich
|
r15547 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||
# Parent 909a00e13e9d78b575aeee23dddbada46d5a143f | ||||
long line | ||||
Andreas Freimuth
|
r11910 | |||
Mads Kiilerich
|
r15547 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long | ||
Andreas Freimuth
|
r11910 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | ||
Mads Kiilerich
|
r15547 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 | ||
Andreas Freimuth
|
r11910 | @@ -0,0 +1,4 @@ | ||
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||||
+foo | ||||
+ | ||||
+bar | ||||
$ rm mbox | ||||
iso-8859-1 patch: | ||||
Matt Harbison
|
r39743 | $ "$PYTHON" -c 'fp = open("isolatin", "wb"); fp.write(b"h\xF6mma!\n"); fp.close();' | ||
Mads Kiilerich
|
r15547 | $ hg commit -A -d '5 0' -m 'isolatin 8-bit encoding' | ||
Andreas Freimuth
|
r11910 | adding isolatin | ||
Gábor Stefanik
|
r30089 | iso-8859-1 mbox: | ||
Andreas Freimuth
|
r11910 | $ hg email --date '1970-1-1 0:5' -f quux -t foo -c bar -r tip -m mbox | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | sending [PATCH] isolatin 8-bit encoding ... | ||
Mads Kiilerich
|
r15546 | $ cat mbox | ||
Mads Kiilerich
|
r15559 | From quux ... ... .. ..:..:.. .... (re) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Gábor Stefanik
|
r30089 | Content-Type: text/plain; charset="iso-8859-1" | ||
Content-Transfer-Encoding: quoted-printable | ||||
Mads Kiilerich
|
r15547 | Subject: [PATCH] isolatin 8-bit encoding | ||
X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <240fb913fc1b7ff15ddb.300@test-hostname> | ||
X-Mercurial-Series-Id: <240fb913fc1b7ff15ddb.300@test-hostname> | ||||
Mads Kiilerich
|
r15546 | 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 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:05 1970 +0000 | ||
Mads Kiilerich
|
r15547 | # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 | ||
# Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||||
isolatin 8-bit encoding | ||||
Mads Kiilerich
|
r15546 | |||
Mads Kiilerich
|
r15547 | diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin | ||
Mads Kiilerich
|
r15546 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | ||
+++ b/isolatin Thu Jan 01 00:00:05 1970 +0000 | ||||
@@ -0,0 +1,1 @@ | ||||
Gábor Stefanik
|
r30089 | +h=F6mma! | ||
Mads Kiilerich
|
r15546 | |||
Andreas Freimuth
|
r11910 | |||
test diffstat for single patch: | ||||
Mads Kiilerich
|
r15546 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y -r 2 | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Christian Ebert
|
r12200 | |||
Final summary: | ||||
Andreas Freimuth
|
r11910 | |||
Christian Ebert
|
r12200 | From: quux | ||
To: foo | ||||
Cc: bar | ||||
Subject: [PATCH] test | ||||
Andreas Freimuth
|
r11910 | c | 1 + | ||
1 files changed, 1 insertions(+), 0 deletions(-) | ||||
Christian Ebert
|
r12200 | are you sure you want to send (yn)? y | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH] test | ||||
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
c | 1 + | ||||
1 files changed, 1 insertions(+), 0 deletions(-) | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 3 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:03 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
test diffstat for multiple patches: | ||||
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y \ | ||||
Mads Kiilerich
|
r15546 | > -r 0:1 | ||
Martin Geisler
|
r16931 | this patch series consists of 2 patches. | ||
Andreas Freimuth
|
r11910 | |||
Christian Ebert
|
r12200 | |||
Write the introductory message for the patch series. | ||||
Final summary: | ||||
Andreas Freimuth
|
r11910 | |||
Christian Ebert
|
r12200 | From: quux | ||
To: foo | ||||
Cc: bar | ||||
Subject: [PATCH 0 of 2] test | ||||
a | 1 + | ||||
b | 1 + | ||||
2 files changed, 2 insertions(+), 0 deletions(-) | ||||
Subject: [PATCH 1 of 2] a | ||||
Andreas Freimuth
|
r11910 | a | 1 + | ||
1 files changed, 1 insertions(+), 0 deletions(-) | ||||
Christian Ebert
|
r12200 | Subject: [PATCH 2 of 2] b | ||
Andreas Freimuth
|
r11910 | b | 1 + | ||
1 files changed, 1 insertions(+), 0 deletions(-) | ||||
Christian Ebert
|
r12200 | are you sure you want to send (yn)? y | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH 0 of 2] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 0 of 2] test | ||||
Augie Fackler
|
r39156 | Message-Id: <patchbomb.60@test-hostname> | ||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
a | 1 + | ||||
b | 1 + | ||||
2 files changed, 2 insertions(+), 0 deletions(-) | ||||
Martin Geisler
|
r16931 | displaying [PATCH 1 of 2] a ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 1 of 2] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.61@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
a | 1 + | ||||
1 files changed, 1 insertions(+), 0 deletions(-) | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 1 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:01 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Martin Geisler
|
r16931 | displaying [PATCH 2 of 2] b ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 2 of 2] b | ||||
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 2 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <97d72e5f12c7e84f8506.62@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
b | 1 + | ||||
1 files changed, 1 insertions(+), 0 deletions(-) | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 2 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:02 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
b | ||||
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 | ||||
test inline for single patch: | ||||
Matt Harbison
|
r41005 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2 | filterboundary | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH] test ... | ||
Augie Fackler
|
r21725 | Content-Type: multipart/mixed; boundary="===*==" (glob) | ||
Andreas Freimuth
|
r11910 | MIME-Version: 1.0 | ||
Subject: [PATCH] test | ||||
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/x-patch; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Content-Disposition: inline; filename=t2.patch | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 3 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:03 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Augie Fackler
|
r21725 | --===*=-- (glob) | ||
Andreas Freimuth
|
r11910 | |||
test inline for single patch (quoted-printable): | ||||
Matt Harbison
|
r41005 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 4 | filterboundary | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH] test ... | ||
Augie Fackler
|
r21725 | Content-Type: multipart/mixed; boundary="===*==" (glob) | ||
Andreas Freimuth
|
r11910 | MIME-Version: 1.0 | ||
Subject: [PATCH] test | ||||
Mads Kiilerich
|
r15547 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <a2ea8fc83dd8b93cfd86.60@test-hostname> | ||
X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/x-patch; charset="us-ascii" | ||
Content-Transfer-Encoding: quoted-printable | ||||
Content-Disposition: inline; filename=t2.patch | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 4 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:04 1970 +0000 | ||
Mads Kiilerich
|
r15547 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||
# Parent 909a00e13e9d78b575aeee23dddbada46d5a143f | ||||
long line | ||||
Andreas Freimuth
|
r11910 | |||
Mads Kiilerich
|
r15547 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long | ||
Andreas Freimuth
|
r11910 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | ||
Mads Kiilerich
|
r15547 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 | ||
Andreas Freimuth
|
r11910 | @@ -0,0 +1,4 @@ | ||
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||||
+foo | ||||
+ | ||||
+bar | ||||
Augie Fackler
|
r21725 | --===*=-- (glob) | ||
Andreas Freimuth
|
r11910 | |||
test inline for multiple patches: | ||||
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \ | ||||
Matt Harbison
|
r41005 | > -r 0:1 -r 4 | filterboundary | ||
Martin Geisler
|
r16931 | this patch series consists of 3 patches. | ||
Andreas Freimuth
|
r11910 | |||
Write the introductory message for the patch series. | ||||
Martin Geisler
|
r16931 | displaying [PATCH 0 of 3] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 0 of 3] test | ||||
Augie Fackler
|
r39156 | Message-Id: <patchbomb.60@test-hostname> | ||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Martin Geisler
|
r16931 | displaying [PATCH 1 of 3] a ... | ||
Augie Fackler
|
r21725 | Content-Type: multipart/mixed; boundary="===*==" (glob) | ||
Andreas Freimuth
|
r11910 | MIME-Version: 1.0 | ||
Subject: [PATCH 1 of 3] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 3 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.61@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/x-patch; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Content-Disposition: inline; filename=t2-1.patch | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 1 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:01 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Augie Fackler
|
r21725 | --===*=-- (glob) | ||
Martin Geisler
|
r16931 | displaying [PATCH 2 of 3] b ... | ||
Augie Fackler
|
r21725 | Content-Type: multipart/mixed; boundary="===*==" (glob) | ||
Andreas Freimuth
|
r11910 | MIME-Version: 1.0 | ||
Subject: [PATCH 2 of 3] b | ||||
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 2 | ||
X-Mercurial-Series-Total: 3 | ||||
Augie Fackler
|
r39156 | Message-Id: <97d72e5f12c7e84f8506.62@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/x-patch; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Content-Disposition: inline; filename=t2-2.patch | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 2 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:02 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
b | ||||
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 | ||||
Augie Fackler
|
r21725 | --===*=-- (glob) | ||
Martin Geisler
|
r16931 | displaying [PATCH 3 of 3] long line ... | ||
Augie Fackler
|
r21725 | Content-Type: multipart/mixed; boundary="===*==" (glob) | ||
Andreas Freimuth
|
r11910 | MIME-Version: 1.0 | ||
Mads Kiilerich
|
r15547 | Subject: [PATCH 3 of 3] long line | ||
X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 3 | ||
X-Mercurial-Series-Total: 3 | ||||
Augie Fackler
|
r39156 | Message-Id: <a2ea8fc83dd8b93cfd86.63@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:03 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/x-patch; charset="us-ascii" | ||
Content-Transfer-Encoding: quoted-printable | ||||
Content-Disposition: inline; filename=t2-3.patch | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 4 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:04 1970 +0000 | ||
Mads Kiilerich
|
r15547 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||
# Parent 909a00e13e9d78b575aeee23dddbada46d5a143f | ||||
long line | ||||
Andreas Freimuth
|
r11910 | |||
Mads Kiilerich
|
r15547 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long | ||
Andreas Freimuth
|
r11910 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | ||
Mads Kiilerich
|
r15547 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 | ||
Andreas Freimuth
|
r11910 | @@ -0,0 +1,4 @@ | ||
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||||
+foo | ||||
+ | ||||
+bar | ||||
Augie Fackler
|
r21725 | --===*=-- (glob) | ||
Andreas Freimuth
|
r11910 | |||
test attach for single patch: | ||||
Matt Harbison
|
r41005 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 2 | filterboundary | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH] test ... | ||
Augie Fackler
|
r21725 | Content-Type: multipart/mixed; boundary="===*==" (glob) | ||
Andreas Freimuth
|
r11910 | MIME-Version: 1.0 | ||
Subject: [PATCH] test | ||||
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Patch subject is complete summary. | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/x-patch; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Content-Disposition: attachment; filename=t2.patch | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 3 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:03 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Augie Fackler
|
r21725 | --===*=-- (glob) | ||
Andreas Freimuth
|
r11910 | |||
test attach for single patch (quoted-printable): | ||||
Matt Harbison
|
r41005 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 4 | filterboundary | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH] test ... | ||
Augie Fackler
|
r21725 | Content-Type: multipart/mixed; boundary="===*==" (glob) | ||
Andreas Freimuth
|
r11910 | MIME-Version: 1.0 | ||
Subject: [PATCH] test | ||||
Mads Kiilerich
|
r15547 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <a2ea8fc83dd8b93cfd86.60@test-hostname> | ||
X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Patch subject is complete summary. | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/x-patch; charset="us-ascii" | ||
Content-Transfer-Encoding: quoted-printable | ||||
Content-Disposition: attachment; filename=t2.patch | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 4 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:04 1970 +0000 | ||
Mads Kiilerich
|
r15547 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||
# Parent 909a00e13e9d78b575aeee23dddbada46d5a143f | ||||
long line | ||||
Andreas Freimuth
|
r11910 | |||
Mads Kiilerich
|
r15547 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long | ||
Andreas Freimuth
|
r11910 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | ||
Mads Kiilerich
|
r15547 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 | ||
Andreas Freimuth
|
r11910 | @@ -0,0 +1,4 @@ | ||
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||||
+foo | ||||
+ | ||||
+bar | ||||
Augie Fackler
|
r21725 | --===*=-- (glob) | ||
Andreas Freimuth
|
r11910 | |||
Angel Ezquerra
|
r16307 | test attach and body for single patch: | ||
Matt Harbison
|
r41005 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a --body -r 2 | filterboundary | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Angel Ezquerra
|
r16307 | |||
Martin Geisler
|
r16931 | displaying [PATCH] test ... | ||
Augie Fackler
|
r21725 | Content-Type: multipart/mixed; boundary="===*==" (glob) | ||
Angel Ezquerra
|
r16307 | MIME-Version: 1.0 | ||
Subject: [PATCH] test | ||||
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||||
Angel Ezquerra
|
r16307 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Angel Ezquerra
|
r16307 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 3 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:03 1970 +0000 | ||
Angel Ezquerra
|
r16307 | # 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 | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Angel Ezquerra
|
r16307 | Content-Type: text/x-patch; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Content-Disposition: attachment; filename=t2.patch | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 3 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:03 1970 +0000 | ||
Angel Ezquerra
|
r16307 | # 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 | ||||
Augie Fackler
|
r21725 | --===*=-- (glob) | ||
Angel Ezquerra
|
r16307 | |||
Andreas Freimuth
|
r11910 | test attach for multiple patches: | ||
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a \ | ||||
Matt Harbison
|
r41005 | > -r 0:1 -r 4 | filterboundary | ||
Martin Geisler
|
r16931 | this patch series consists of 3 patches. | ||
Andreas Freimuth
|
r11910 | |||
Write the introductory message for the patch series. | ||||
Martin Geisler
|
r16931 | displaying [PATCH 0 of 3] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 0 of 3] test | ||||
Augie Fackler
|
r39156 | Message-Id: <patchbomb.60@test-hostname> | ||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Martin Geisler
|
r16931 | displaying [PATCH 1 of 3] a ... | ||
Augie Fackler
|
r21725 | Content-Type: multipart/mixed; boundary="===*==" (glob) | ||
Andreas Freimuth
|
r11910 | MIME-Version: 1.0 | ||
Subject: [PATCH 1 of 3] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 3 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.61@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Patch subject is complete summary. | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/x-patch; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Content-Disposition: attachment; filename=t2-1.patch | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 1 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:01 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Augie Fackler
|
r21725 | --===*=-- (glob) | ||
Martin Geisler
|
r16931 | displaying [PATCH 2 of 3] b ... | ||
Augie Fackler
|
r21725 | Content-Type: multipart/mixed; boundary="===*==" (glob) | ||
Andreas Freimuth
|
r11910 | MIME-Version: 1.0 | ||
Subject: [PATCH 2 of 3] b | ||||
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 2 | ||
X-Mercurial-Series-Total: 3 | ||||
Augie Fackler
|
r39156 | Message-Id: <97d72e5f12c7e84f8506.62@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Patch subject is complete summary. | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/x-patch; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Content-Disposition: attachment; filename=t2-2.patch | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 2 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:02 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
b | ||||
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 | ||||
Augie Fackler
|
r21725 | --===*=-- (glob) | ||
Martin Geisler
|
r16931 | displaying [PATCH 3 of 3] long line ... | ||
Augie Fackler
|
r21725 | Content-Type: multipart/mixed; boundary="===*==" (glob) | ||
Andreas Freimuth
|
r11910 | MIME-Version: 1.0 | ||
Mads Kiilerich
|
r15547 | Subject: [PATCH 3 of 3] long line | ||
X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 3 | ||
X-Mercurial-Series-Total: 3 | ||||
Augie Fackler
|
r39156 | Message-Id: <a2ea8fc83dd8b93cfd86.63@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:03 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Patch subject is complete summary. | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/x-patch; charset="us-ascii" | ||
Content-Transfer-Encoding: quoted-printable | ||||
Content-Disposition: attachment; filename=t2-3.patch | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 4 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:04 1970 +0000 | ||
Mads Kiilerich
|
r15547 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||
# Parent 909a00e13e9d78b575aeee23dddbada46d5a143f | ||||
long line | ||||
Andreas Freimuth
|
r11910 | |||
Mads Kiilerich
|
r15547 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long | ||
Andreas Freimuth
|
r11910 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | ||
Mads Kiilerich
|
r15547 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 | ||
Andreas Freimuth
|
r11910 | @@ -0,0 +1,4 @@ | ||
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||||
+foo | ||||
+ | ||||
+bar | ||||
Augie Fackler
|
r21725 | --===*=-- (glob) | ||
Andreas Freimuth
|
r11910 | |||
test intro for single patch: | ||||
$ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \ | ||||
Mads Kiilerich
|
r15546 | > -r 2 | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Write the introductory message for the patch series. | ||||
Martin Geisler
|
r16931 | displaying [PATCH 0 of 1] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 0 of 1] test | ||||
Augie Fackler
|
r39156 | Message-Id: <patchbomb.60@test-hostname> | ||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Martin Geisler
|
r16931 | displaying [PATCH 1 of 1] c ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 1 of 1] c | ||||
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <ff2c9fa2018b15fa74b3.61@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 3 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:03 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
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 \ | ||||
Mads Kiilerich
|
r15546 | > -s test -r 2 | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH 0 of 1] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 0 of 1] test | ||||
Augie Fackler
|
r39156 | Message-Id: <patchbomb.60@test-hostname> | ||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
foo | ||||
Martin Geisler
|
r16931 | displaying [PATCH 1 of 1] c ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 1 of 1] c | ||||
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <ff2c9fa2018b15fa74b3.61@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 3 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:03 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
test intro for multiple patches: | ||||
$ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \ | ||||
Mads Kiilerich
|
r15546 | > -r 0:1 | ||
Martin Geisler
|
r16931 | this patch series consists of 2 patches. | ||
Andreas Freimuth
|
r11910 | |||
Write the introductory message for the patch series. | ||||
Martin Geisler
|
r16931 | displaying [PATCH 0 of 2] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 0 of 2] test | ||||
Augie Fackler
|
r39156 | Message-Id: <patchbomb.60@test-hostname> | ||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Martin Geisler
|
r16931 | displaying [PATCH 1 of 2] a ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 1 of 2] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.61@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 1 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:01 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Martin Geisler
|
r16931 | displaying [PATCH 2 of 2] b ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 2 of 2] b | ||||
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 2 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <97d72e5f12c7e84f8506.62@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 2 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:02 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
b | ||||
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 | ||||
test reply-to via config: | ||||
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \ | ||||
Mads Kiilerich
|
r15546 | > --config patchbomb.reply-to='baz@example.com' | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH] test | ||||
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Reply-To: baz@example.com | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 3 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:03 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
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 \ | ||||
Mads Kiilerich
|
r15546 | > --reply-to baz --reply-to fred | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH] test | ||||
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Reply-To: baz, fred | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 3 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:03 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
tagging csets: | ||||
$ hg tag -r0 zero zero.foo | ||||
$ hg tag -r1 one one.patch | ||||
$ hg tag -r2 two two.diff | ||||
test inline for single named patch: | ||||
Augie Fackler
|
r22071 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \ | ||
Matt Harbison
|
r41005 | > -r 2 | filterboundary | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH] test ... | ||
Augie Fackler
|
r21725 | Content-Type: multipart/mixed; boundary="===*==" (glob) | ||
Andreas Freimuth
|
r11910 | MIME-Version: 1.0 | ||
Subject: [PATCH] test | ||||
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/x-patch; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Content-Disposition: inline; filename=two.diff | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 3 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:03 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Augie Fackler
|
r21725 | --===*=-- (glob) | ||
Andreas Freimuth
|
r11910 | |||
test inline for multiple named/unnamed patches: | ||||
Augie Fackler
|
r22071 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \ | ||
Matt Harbison
|
r41005 | > -r 0:1 | filterboundary | ||
Martin Geisler
|
r16931 | this patch series consists of 2 patches. | ||
Andreas Freimuth
|
r11910 | |||
Write the introductory message for the patch series. | ||||
Martin Geisler
|
r16931 | displaying [PATCH 0 of 2] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 0 of 2] test | ||||
Augie Fackler
|
r39156 | Message-Id: <patchbomb.60@test-hostname> | ||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Martin Geisler
|
r16931 | displaying [PATCH 1 of 2] a ... | ||
Augie Fackler
|
r21725 | Content-Type: multipart/mixed; boundary="===*==" (glob) | ||
Andreas Freimuth
|
r11910 | MIME-Version: 1.0 | ||
Subject: [PATCH 1 of 2] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.61@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/x-patch; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Content-Disposition: inline; filename=t2-1.patch | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 1 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:01 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Augie Fackler
|
r21725 | --===*=-- (glob) | ||
Martin Geisler
|
r16931 | displaying [PATCH 2 of 2] b ... | ||
Augie Fackler
|
r21725 | Content-Type: multipart/mixed; boundary="===*==" (glob) | ||
Andreas Freimuth
|
r11910 | MIME-Version: 1.0 | ||
Subject: [PATCH 2 of 2] b | ||||
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 2 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <97d72e5f12c7e84f8506.62@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Augie Fackler
|
r21725 | --===*= (glob) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/x-patch; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Content-Disposition: inline; filename=one.patch | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 2 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:02 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
b | ||||
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 | ||||
Augie Fackler
|
r21725 | --===*=-- (glob) | ||
Andreas Freimuth
|
r11910 | |||
test inreplyto: | ||||
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \ | ||||
Mads Kiilerich
|
r15546 | > -r tip | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b | ||||
Mads Kiilerich
|
r15547 | X-Mercurial-Node: 7aead2484924c445ad8ce2613df91f52f9e502ed | ||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <7aead2484924c445ad8c.60@test-hostname> | ||
X-Mercurial-Series-Id: <7aead2484924c445ad8c.60@test-hostname> | ||||
Andreas Freimuth
|
r11910 | In-Reply-To: <baz> | ||
References: <baz> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 0 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:00 1970 +0000 | ||
Mads Kiilerich
|
r15547 | # Node ID 7aead2484924c445ad8ce2613df91f52f9e502ed | ||
# Parent 045ca29b1ea20e4940411e695e20e521f2f0f98e | ||||
Andreas Freimuth
|
r11910 | Added tag two, two.diff for changeset ff2c9fa2018b | ||
Mads Kiilerich
|
r15547 | diff -r 045ca29b1ea2 -r 7aead2484924 .hgtags | ||
Andreas Freimuth
|
r11910 | --- 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 | ||||
Greg Ward
|
r15164 | no intro message in non-interactive mode | ||
Andreas Freimuth
|
r11910 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \ | ||
Mads Kiilerich
|
r15546 | > -r 0:1 | ||
Martin Geisler
|
r16931 | this patch series consists of 2 patches. | ||
Andreas Freimuth
|
r11910 | |||
Matt Mackall
|
r16233 | (optional) Subject: [PATCH 0 of 2] | ||
Greg Ward
|
r15164 | |||
Martin Geisler
|
r16931 | displaying [PATCH 1 of 2] a ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Greg Ward
|
r15164 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 1 of 2] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.60@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@test-hostname> | ||||
Greg Ward
|
r15164 | In-Reply-To: <baz> | ||
References: <baz> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Greg Ward
|
r15164 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 1 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:01 1970 +0000 | ||
Greg Ward
|
r15164 | # 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 | ||||
Martin Geisler
|
r16931 | displaying [PATCH 2 of 2] b ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Greg Ward
|
r15164 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 2 of 2] b | ||||
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 2 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <97d72e5f12c7e84f8506.61@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@test-hostname> | ||||
Thomas Arendsen Hein
|
r17859 | In-Reply-To: <baz> | ||
References: <baz> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Greg Ward
|
r15164 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 2 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:02 1970 +0000 | ||
Greg Ward
|
r15164 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
b | ||||
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 | ||||
Andreas Freimuth
|
r11910 | |||
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \ | ||||
Mads Kiilerich
|
r15546 | > -s test -r 0:1 | ||
Martin Geisler
|
r16931 | this patch series consists of 2 patches. | ||
Andreas Freimuth
|
r11910 | |||
Write the introductory message for the patch series. | ||||
Martin Geisler
|
r16931 | displaying [PATCH 0 of 2] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 0 of 2] test | ||||
Augie Fackler
|
r39156 | Message-Id: <patchbomb.60@test-hostname> | ||
Andreas Freimuth
|
r11910 | In-Reply-To: <baz> | ||
References: <baz> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Martin Geisler
|
r16931 | displaying [PATCH 1 of 2] a ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 1 of 2] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.61@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 1 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:01 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Martin Geisler
|
r16931 | displaying [PATCH 2 of 2] b ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 2 of 2] b | ||||
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 2 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <97d72e5f12c7e84f8506.62@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 2 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:02 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
b | ||||
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 | ||||
Mads Kiilerich
|
r21055 | test single flag for single patch (and no warning when not mailing dirty rev): | ||
$ hg up -qr1 | ||||
$ echo dirt > a | ||||
Andreas Freimuth
|
r11910 | $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \ | ||
Matt Harbison
|
r41005 | > -r 2 | filterboundary | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH fooFlag] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH fooFlag] test | ||||
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 3 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:03 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Mads Kiilerich
|
r21055 | test single flag for multiple patches (and warning when mailing dirty rev): | ||
Andreas Freimuth
|
r11910 | $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \ | ||
Mads Kiilerich
|
r15546 | > -r 0:1 | ||
Mads Kiilerich
|
r21055 | warning: working directory has uncommitted changes | ||
Martin Geisler
|
r16931 | this patch series consists of 2 patches. | ||
Andreas Freimuth
|
r11910 | |||
Write the introductory message for the patch series. | ||||
Martin Geisler
|
r16931 | displaying [PATCH 0 of 2 fooFlag] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 0 of 2 fooFlag] test | ||||
Augie Fackler
|
r39156 | Message-Id: <patchbomb.60@test-hostname> | ||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Martin Geisler
|
r16931 | displaying [PATCH 1 of 2 fooFlag] a ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 1 of 2 fooFlag] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.61@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 1 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:01 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Martin Geisler
|
r16931 | displaying [PATCH 2 of 2 fooFlag] b ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 2 of 2 fooFlag] b | ||||
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 2 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <97d72e5f12c7e84f8506.62@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 2 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:02 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
b | ||||
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 | ||||
Mads Kiilerich
|
r21055 | $ hg revert --no-b a | ||
$ hg up -q | ||||
Andreas Freimuth
|
r11910 | |||
timeless@mozdev.org
|
r17502 | test multiple flags for single patch: | ||
Andreas Freimuth
|
r11910 | $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \ | ||
Mads Kiilerich
|
r15546 | > -c bar -s test -r 2 | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH fooFlag barFlag] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH fooFlag barFlag] test | ||||
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 3 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:03 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
test multiple flags for multiple patches: | ||||
$ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \ | ||||
Mads Kiilerich
|
r15546 | > -c bar -s test -r 0:1 | ||
Martin Geisler
|
r16931 | this patch series consists of 2 patches. | ||
Andreas Freimuth
|
r11910 | |||
Write the introductory message for the patch series. | ||||
Martin Geisler
|
r16931 | displaying [PATCH 0 of 2 fooFlag barFlag] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 0 of 2 fooFlag barFlag] test | ||||
Augie Fackler
|
r39156 | Message-Id: <patchbomb.60@test-hostname> | ||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
Martin Geisler
|
r16931 | displaying [PATCH 1 of 2 fooFlag barFlag] a ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 1 of 2 fooFlag barFlag] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.61@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 1 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:01 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Martin Geisler
|
r16931 | displaying [PATCH 2 of 2 fooFlag barFlag] b ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 2 of 2 fooFlag barFlag] b | ||||
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 2 | ||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <97d72e5f12c7e84f8506.62@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | ||
From: quux | ||||
To: foo | ||||
Cc: bar | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 2 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:02 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
b | ||||
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 | ||||
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>' | ||||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | sending [PATCH] test ... | ||
Mads Kiilerich
|
r15546 | $ cat < tmp.mbox | ||
Mads Kiilerich
|
r15559 | From quux ... ... .. ..:..:.. .... (re) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH] test | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.315532860@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.315532860@test-hostname> | ||||
Mads Kiilerich
|
r15546 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Tue, 01 Jan 1980 00:01:00 +0000 | ||
From: quux | ||||
To: spam <spam>, eggs, toast | ||||
Cc: foo, bar@example.com, "A, B <>" <a@example.com> | ||||
Bcc: "Quux, A." <quux> | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 1 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:01 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Yuya Nishihara
|
r31187 | test flag template: | ||
$ echo foo > intro.text | ||||
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -r 0:1 \ | ||||
> --desc intro.text --subject test \ | ||||
> --config patchbomb.flagtemplate='R{rev}' | ||||
this patch series consists of 2 patches. | ||||
Cc: | ||||
displaying [PATCH 0 of 2 R1] test ... | ||||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Yuya Nishihara
|
r31187 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 0 of 2 R1] test | ||||
Augie Fackler
|
r39156 | Message-Id: <patchbomb.60@test-hostname> | ||
Yuya Nishihara
|
r31187 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||||
From: quux | ||||
To: foo | ||||
foo | ||||
displaying [PATCH 1 of 2 R0] a ... | ||||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Yuya Nishihara
|
r31187 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 1 of 2 R0] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
X-Mercurial-Series-Index: 1 | ||||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.61@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Yuya Nishihara
|
r31187 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Date: Thu, 01 Jan 1970 00:01:01 +0000 | ||||
From: quux | ||||
To: foo | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 1 0 | ||||
# Thu Jan 01 00:00:01 1970 +0000 | ||||
# 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 R1] b ... | ||||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Yuya Nishihara
|
r31187 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH 2 of 2 R1] b | ||||
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||||
X-Mercurial-Series-Index: 2 | ||||
X-Mercurial-Series-Total: 2 | ||||
Augie Fackler
|
r39156 | Message-Id: <97d72e5f12c7e84f8506.62@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@test-hostname> | ||||
In-Reply-To: <patchbomb.60@test-hostname> | ||||
References: <patchbomb.60@test-hostname> | ||||
Yuya Nishihara
|
r31187 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Date: Thu, 01 Jan 1970 00:01:02 +0000 | ||||
From: quux | ||||
To: foo | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 2 0 | ||||
# Thu Jan 01 00:00:02 1970 +0000 | ||||
# Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||||
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
b | ||||
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 | ||||
test flag template plus --flag: | ||||
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -r 0 --flag 'V2' \ | ||||
> --config patchbomb.flagtemplate='{branch} {flags}' | ||||
this patch series consists of 1 patches. | ||||
Cc: | ||||
displaying [PATCH default V2] a ... | ||||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Yuya Nishihara
|
r31187 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH default V2] a | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
X-Mercurial-Series-Index: 1 | ||||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.60@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@test-hostname> | ||||
Yuya Nishihara
|
r31187 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Date: Thu, 01 Jan 1970 00:01:00 +0000 | ||||
From: quux | ||||
To: foo | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 1 0 | ||||
# Thu Jan 01 00:00:01 1970 +0000 | ||||
# 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 | ||||
Andreas Freimuth
|
r11910 | test multi-byte domain parsing: | ||
Augie Fackler
|
r39071 | >>> with open('toaddress.txt', 'wb') as f: | ||
... f.write(b'bar@\xfcnicode.com') and None | ||||
Andreas Freimuth
|
r11910 | $ HGENCODING=iso-8859-1 | ||
$ export HGENCODING | ||||
Augie Fackler
|
r39071 | $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t "`cat toaddress.txt`" -s test -r 0 | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Matt Mackall
|
r15165 | Cc: | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | sending [PATCH] test ... | ||
Andreas Freimuth
|
r11910 | |||
$ cat tmp.mbox | ||||
Mads Kiilerich
|
r15559 | From quux ... ... .. ..:..:.. .... (re) | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH] test | ||||
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <8580ff50825a50c8f716.315532860@test-hostname> | ||
X-Mercurial-Series-Id: <8580ff50825a50c8f716.315532860@test-hostname> | ||||
Brodie Rao
|
r12376 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Tue, 01 Jan 1980 00:01:00 +0000 | ||
From: quux | ||||
To: bar@xn--nicode-2ya.com | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 1 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:01 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
test outgoing: | ||||
$ hg up 1 | ||||
0 files updated, 0 files merged, 6 files removed, 0 files unresolved | ||||
$ hg branch test | ||||
marked working directory as branch test | ||||
Matt Mackall
|
r15615 | (branches are permanent and global, did you want a bookmark?) | ||
Andreas Freimuth
|
r11910 | |||
$ echo d > d | ||||
$ hg add d | ||||
$ hg ci -md -d '4 0' | ||||
Patrick Mezard
|
r17176 | $ echo d >> d | ||
$ hg ci -mdd -d '5 0' | ||||
Martin Geisler
|
r20117 | $ hg log -G --template "{rev}:{node|short} {desc|firstline}\n" | ||
Patrick Mezard
|
r17176 | @ 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 | ||||
Patrick Mezard
|
r17177 | $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t -r 'rev(10) or rev(6)' | ||
Andreas Freimuth
|
r11910 | comparing with ../t | ||
Matt Mackall
|
r15165 | From [test]: test | ||
Patrick Mezard
|
r17176 | this patch series consists of 6 patches. | ||
Andreas Freimuth
|
r11910 | |||
Write the introductory message for the patch series. | ||||
Matt Mackall
|
r15165 | Cc: | ||
Andreas Freimuth
|
r11910 | |||
Patrick Mezard
|
r17176 | displaying [PATCH 0 of 6] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Patrick Mezard
|
r17176 | Subject: [PATCH 0 of 6] test | ||
Augie Fackler
|
r39156 | Message-Id: <patchbomb.315532860@test-hostname> | ||
Brodie Rao
|
r12376 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Tue, 01 Jan 1980 00:01:00 +0000 | ||
From: test | ||||
To: foo | ||||
Patrick Mezard
|
r17176 | displaying [PATCH 1 of 6] c ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Patrick Mezard
|
r17176 | Subject: [PATCH 1 of 6] c | ||
Andreas Freimuth
|
r11910 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | ||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 6 | ||||
Augie Fackler
|
r39156 | Message-Id: <ff2c9fa2018b15fa74b3.315532861@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@test-hostname> | ||||
In-Reply-To: <patchbomb.315532860@test-hostname> | ||||
References: <patchbomb.315532860@test-hostname> | ||||
Brodie Rao
|
r12376 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Tue, 01 Jan 1980 00:01:01 +0000 | ||
From: test | ||||
To: foo | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 3 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:03 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # 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 | ||||
Patrick Mezard
|
r17176 | displaying [PATCH 2 of 6] utf-8 content ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Augie Fackler
|
r39072 | Content-Type: text/plain; charset="iso-8859-1" | ||
Content-Transfer-Encoding: quoted-printable | ||||
Patrick Mezard
|
r17176 | Subject: [PATCH 2 of 6] utf-8 content | ||
Mads Kiilerich
|
r15547 | X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f | ||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 2 | ||
X-Mercurial-Series-Total: 6 | ||||
Augie Fackler
|
r39156 | Message-Id: <909a00e13e9d78b575ae.315532862@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@test-hostname> | ||||
In-Reply-To: <patchbomb.315532860@test-hostname> | ||||
References: <patchbomb.315532860@test-hostname> | ||||
Brodie Rao
|
r12376 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Tue, 01 Jan 1980 00:01:02 +0000 | ||
From: test | ||||
To: foo | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 4 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:04 1970 +0000 | ||
Mads Kiilerich
|
r15547 | # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f | ||
Andreas Freimuth
|
r11910 | # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f | ||
Mads Kiilerich
|
r15547 | utf-8 content | ||
Andreas Freimuth
|
r11910 | |||
Mads Kiilerich
|
r15547 | diff -r ff2c9fa2018b -r 909a00e13e9d description | ||
Andreas Freimuth
|
r11910 | --- /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 | ||||
Mads Kiilerich
|
r15547 | diff -r ff2c9fa2018b -r 909a00e13e9d utf | ||
Andreas Freimuth
|
r11910 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | ||
+++ b/utf Thu Jan 01 00:00:04 1970 +0000 | ||||
@@ -0,0 +1,1 @@ | ||||
Augie Fackler
|
r39072 | +h=C3=B6mma! | ||
Andreas Freimuth
|
r11910 | |||
Patrick Mezard
|
r17176 | displaying [PATCH 3 of 6] long line ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: quoted-printable | ||||
Patrick Mezard
|
r17176 | Subject: [PATCH 3 of 6] long line | ||
Mads Kiilerich
|
r15547 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 3 | ||
X-Mercurial-Series-Total: 6 | ||||
Augie Fackler
|
r39156 | Message-Id: <a2ea8fc83dd8b93cfd86.315532863@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@test-hostname> | ||||
In-Reply-To: <patchbomb.315532860@test-hostname> | ||||
References: <patchbomb.315532860@test-hostname> | ||||
Brodie Rao
|
r12376 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Tue, 01 Jan 1980 00:01:03 +0000 | ||
From: test | ||||
To: foo | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 4 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:04 1970 +0000 | ||
Mads Kiilerich
|
r15547 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||
# Parent 909a00e13e9d78b575aeee23dddbada46d5a143f | ||||
long line | ||||
Andreas Freimuth
|
r11910 | |||
Mads Kiilerich
|
r15547 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long | ||
Andreas Freimuth
|
r11910 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | ||
Mads Kiilerich
|
r15547 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 | ||
Andreas Freimuth
|
r11910 | @@ -0,0 +1,4 @@ | ||
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | ||||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||||
+foo | ||||
+ | ||||
+bar | ||||
Patrick Mezard
|
r17176 | displaying [PATCH 4 of 6] isolatin 8-bit encoding ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Augie Fackler
|
r39072 | Content-Type: text/plain; charset="iso-8859-1" | ||
Content-Transfer-Encoding: quoted-printable | ||||
Patrick Mezard
|
r17176 | Subject: [PATCH 4 of 6] isolatin 8-bit encoding | ||
Mads Kiilerich
|
r15547 | X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 | ||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 4 | ||
X-Mercurial-Series-Total: 6 | ||||
Augie Fackler
|
r39156 | Message-Id: <240fb913fc1b7ff15ddb.315532864@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@test-hostname> | ||||
In-Reply-To: <patchbomb.315532860@test-hostname> | ||||
References: <patchbomb.315532860@test-hostname> | ||||
Brodie Rao
|
r12376 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Tue, 01 Jan 1980 00:01:04 +0000 | ||
From: test | ||||
To: foo | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 5 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:05 1970 +0000 | ||
Mads Kiilerich
|
r15547 | # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 | ||
# Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | ||||
isolatin 8-bit encoding | ||||
Andreas Freimuth
|
r11910 | |||
Mads Kiilerich
|
r15547 | diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin | ||
Andreas Freimuth
|
r11910 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | ||
+++ b/isolatin Thu Jan 01 00:00:05 1970 +0000 | ||||
@@ -0,0 +1,1 @@ | ||||
Augie Fackler
|
r39072 | +h=F6mma! | ||
Andreas Freimuth
|
r11910 | |||
Patrick Mezard
|
r17176 | displaying [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Patrick Mezard
|
r17176 | Subject: [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a | ||
Mads Kiilerich
|
r15547 | X-Mercurial-Node: 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433 | ||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 5 | ||
X-Mercurial-Series-Total: 6 | ||||
Augie Fackler
|
r39156 | Message-Id: <5d5ef15dfe5e7bd3a4ee.315532865@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@test-hostname> | ||||
In-Reply-To: <patchbomb.315532860@test-hostname> | ||||
References: <patchbomb.315532860@test-hostname> | ||||
Brodie Rao
|
r12376 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Tue, 01 Jan 1980 00:01:05 +0000 | ||
From: test | ||||
To: foo | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 0 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:00 1970 +0000 | ||
Mads Kiilerich
|
r15547 | # Node ID 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433 | ||
# Parent 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 | ||||
Andreas Freimuth
|
r11910 | Added tag zero, zero.foo for changeset 8580ff50825a | ||
Mads Kiilerich
|
r15547 | diff -r 240fb913fc1b -r 5d5ef15dfe5e .hgtags | ||
Andreas Freimuth
|
r11910 | --- /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 | ||||
Patrick Mezard
|
r17176 | displaying [PATCH 6 of 6] d ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Patrick Mezard
|
r17176 | Subject: [PATCH 6 of 6] d | ||
X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 6 | ||
X-Mercurial-Series-Total: 6 | ||||
Augie Fackler
|
r39156 | Message-Id: <2f9fa9b998c5fe3ac2bd.315532866@test-hostname> | ||
X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@test-hostname> | ||||
In-Reply-To: <patchbomb.315532860@test-hostname> | ||||
References: <patchbomb.315532860@test-hostname> | ||||
Brodie Rao
|
r12376 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Tue, 01 Jan 1980 00:01:06 +0000 | ||
From: test | ||||
To: foo | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 4 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:04 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # Branch test | ||
# Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 | ||||
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||||
d | ||||
diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d | ||||
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 | ||||
+++ b/d Thu Jan 01 00:00:04 1970 +0000 | ||||
@@ -0,0 +1,1 @@ | ||||
+d | ||||
Bryan O'Sullivan
|
r27697 | Don't prompt for a CC header. | ||
$ echo "[email]" >> $HGRCPATH | ||||
$ echo "cc=" >> $HGRCPATH | ||||
Andreas Freimuth
|
r11910 | dest#branch URIs: | ||
$ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t#test | ||||
comparing with ../t | ||||
Matt Mackall
|
r15165 | From [test]: test | ||
Martin Geisler
|
r16931 | this patch series consists of 1 patches. | ||
Andreas Freimuth
|
r11910 | |||
Martin Geisler
|
r16931 | displaying [PATCH] test ... | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Andreas Freimuth
|
r11910 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH] test | ||||
X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 | ||||
Pierre-Yves David
|
r21282 | X-Mercurial-Series-Index: 1 | ||
X-Mercurial-Series-Total: 1 | ||||
Augie Fackler
|
r39156 | Message-Id: <2f9fa9b998c5fe3ac2bd.315532860@test-hostname> | ||
X-Mercurial-Series-Id: <2f9fa9b998c5fe3ac2bd.315532860@test-hostname> | ||||
Brodie Rao
|
r12376 | User-Agent: Mercurial-patchbomb/* (glob) | ||
Andreas Freimuth
|
r11910 | Date: Tue, 01 Jan 1980 00:01:00 +0000 | ||
From: test | ||||
To: foo | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 4 0 | ||||
Mads Kiilerich
|
r18648 | # Thu Jan 01 00:00:04 1970 +0000 | ||
Andreas Freimuth
|
r11910 | # Branch test | ||
# Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 | ||||
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | ||||
d | ||||
diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d | ||||
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 | ||||
+++ b/d Thu Jan 01 00:00:04 1970 +0000 | ||||
@@ -0,0 +1,1 @@ | ||||
+d | ||||
Matt Harbison
|
r31860 | #if no-windows | ||
Mads Kiilerich
|
r16913 | |||
Bryan O'Sullivan
|
r27658 | Set up a fake sendmail program | ||
$ cat > pretendmail.sh << 'EOF' | ||||
> #!/bin/sh | ||||
> echo "$@" | ||||
> cat | ||||
> EOF | ||||
$ chmod +x pretendmail.sh | ||||
$ echo '[email]' >> $HGRCPATH | ||||
$ echo "method=`pwd`/pretendmail.sh" >> $HGRCPATH | ||||
Pierre-Yves David
|
r23487 | Test introduction configuration | ||
================================= | ||||
$ echo '[patchbomb]' >> $HGRCPATH | ||||
"auto" setting | ||||
---------------- | ||||
$ echo 'intro=auto' >> $HGRCPATH | ||||
single rev | ||||
Bryan O'Sullivan
|
r27659 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series." | ||
Pierre-Yves David
|
r23487 | [1] | ||
single rev + flag | ||||
Bryan O'Sullivan
|
r27659 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." | ||
Pierre-Yves David
|
r23487 | Write the introductory message for the patch series. | ||
Multi rev | ||||
Bryan O'Sullivan
|
r27659 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series." | ||
Pierre-Yves David
|
r23487 | Write the introductory message for the patch series. | ||
"never" setting | ||||
----------------- | ||||
$ echo 'intro=never' >> $HGRCPATH | ||||
single rev | ||||
Bryan O'Sullivan
|
r27659 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series." | ||
Pierre-Yves David
|
r23487 | [1] | ||
single rev + flag | ||||
Bryan O'Sullivan
|
r27659 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." | ||
Pierre-Yves David
|
r23487 | Write the introductory message for the patch series. | ||
Multi rev | ||||
Bryan O'Sullivan
|
r27659 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series." | ||
Pierre-Yves David
|
r23487 | [1] | ||
Multi rev + flag | ||||
Bryan O'Sullivan
|
r27659 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' --intro | grep "Write the introductory message for the patch series." | ||
Pierre-Yves David
|
r23487 | Write the introductory message for the patch series. | ||
"always" setting | ||||
----------------- | ||||
$ echo 'intro=always' >> $HGRCPATH | ||||
single rev | ||||
Bryan O'Sullivan
|
r27659 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series." | ||
Pierre-Yves David
|
r23487 | Write the introductory message for the patch series. | ||
single rev + flag | ||||
Bryan O'Sullivan
|
r27659 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." | ||
Pierre-Yves David
|
r23487 | Write the introductory message for the patch series. | ||
Multi rev | ||||
Bryan O'Sullivan
|
r27659 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series." | ||
Pierre-Yves David
|
r23487 | Write the introductory message for the patch series. | ||
Multi rev + flag | ||||
Bryan O'Sullivan
|
r27659 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' --intro | grep "Write the introductory message for the patch series." | ||
Pierre-Yves David
|
r23487 | Write the introductory message for the patch series. | ||
bad value setting | ||||
----------------- | ||||
$ echo 'intro=mpmwearaclownnose' >> $HGRCPATH | ||||
single rev | ||||
Bryan O'Sullivan
|
r27658 | $ hg email --date '1980-1-1 0:1' -v -t foo -s test -r '10' | ||
Pierre-Yves David
|
r23487 | From [test]: test | ||
this patch series consists of 1 patches. | ||||
warning: invalid patchbomb.intro value "mpmwearaclownnose" | ||||
(should be one of always, never, auto) | ||||
Bryan O'Sullivan
|
r27658 | -f test foo | ||
Igor Ippolitov
|
r34311 | MIME-Version: 1.0 | ||
Pierre-Yves David
|
r23487 | Content-Type: text/plain; charset="us-ascii" | ||
Content-Transfer-Encoding: 7bit | ||||
Subject: [PATCH] test | ||||
X-Mercurial-Node: 3b6f1ec9dde933a40a115a7990f8b320477231af | ||||
X-Mercurial-Series-Index: 1 | ||||
X-Mercurial-Series-Total: 1 | ||||
Message-Id: <3b6f1ec9dde933a40a11*> (glob) | ||||
X-Mercurial-Series-Id: <3b6f1ec9dde933a40a11.*> (glob) | ||||
User-Agent: Mercurial-patchbomb/* (glob) | ||||
Date: Tue, 01 Jan 1980 00:01:00 +0000 | ||||
From: test | ||||
To: foo | ||||
# HG changeset patch | ||||
# User test | ||||
# Date 5 0 | ||||
# Thu Jan 01 00:00:05 1970 +0000 | ||||
# Branch test | ||||
# Node ID 3b6f1ec9dde933a40a115a7990f8b320477231af | ||||
# Parent 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 | ||||
dd | ||||
diff -r 2f9fa9b998c5 -r 3b6f1ec9dde9 d | ||||
--- a/d Thu Jan 01 00:00:04 1970 +0000 | ||||
+++ b/d Thu Jan 01 00:00:05 1970 +0000 | ||||
@@ -1,1 +1,2 @@ | ||||
d | ||||
+d | ||||
Bryan O'Sullivan
|
r27658 | |||
sending [PATCH] test ... | ||||
sending mail: $TESTTMP/t2/pretendmail.sh -f test foo | ||||
Pierre-Yves David
|
r26546 | Test pull url header | ||
================================= | ||||
Pierre-Yves David
|
r26626 | basic version | ||
Pierre-Yves David
|
r26546 | $ echo 'intro=auto' >> $HGRCPATH | ||
Pierre-Yves David
|
r26626 | $ echo "publicurl=$TESTTMP/t2" >> $HGRCPATH | ||
Bryan O'Sullivan
|
r27659 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep '^#' | ||
Pierre-Yves David
|
r26626 | abort: public url $TESTTMP/t2 is missing 3b6f1ec9dde9 | ||
timeless
|
r28981 | (use 'hg push $TESTTMP/t2 -r 3b6f1ec9dde9') | ||
Pierre-Yves David
|
r26626 | [1] | ||
timeless
|
r28906 | public missing | ||
Pierre-Yves David
|
r26626 | |||
$ echo 'publicurl=$TESTTMP/missing' >> $HGRCPATH | ||||
Bryan O'Sullivan
|
r27659 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | ||
Pierre-Yves David
|
r26626 | unable to access public repo: $TESTTMP/missing | ||
abort: repository $TESTTMP/missing not found! | ||||
[255] | ||||
timeless
|
r28906 | node missing at public | ||
Pierre-Yves David
|
r26626 | |||
$ hg clone -r '9' . ../t3 | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 3 changesets with 3 changes to 3 files | ||||
Denis Laxalde
|
r34662 | new changesets 8580ff50825a:2f9fa9b998c5 | ||
Pierre-Yves David
|
r26626 | updating to branch test | ||
3 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
$ echo 'publicurl=$TESTTMP/t3' >> $HGRCPATH | ||||
Bryan O'Sullivan
|
r27659 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | ||
Pierre-Yves David
|
r26626 | abort: public url $TESTTMP/t3 is missing 3b6f1ec9dde9 | ||
timeless
|
r28981 | (use 'hg push $TESTTMP/t3 -r 3b6f1ec9dde9') | ||
Pierre-Yves David
|
r26626 | [255] | ||
timeless
|
r28907 | |||
multiple heads are missing at public | ||||
$ hg email --date '1980-1-1 0:1' -t foo -s test -r '2+10' | ||||
abort: public "$TESTTMP/t3" is missing ff2c9fa2018b and 1 others | ||||
timeless
|
r28981 | (use 'hg push $TESTTMP/t3 -r ff2c9fa2018b -r 3b6f1ec9dde9') | ||
timeless
|
r28907 | [255] | ||
Matt Harbison
|
r31860 | #endif | ||