1
$ echo "[extensions]" >> $HGRCPATH
2
$ echo "patchbomb=" >> $HGRCPATH
7
$ hg commit -Ama -d '1 0'
10
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip
11
this patch series consists of 1 patches.
14
displaying [PATCH] a ...
15
Content-Type: text/plain; charset="us-ascii"
17
Content-Transfer-Encoding: 7bit
19
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
20
Message-Id: <8580ff50825a50c8f716.60@*> (glob)
21
User-Agent: Mercurial-patchbomb/* (glob)
22
Date: Thu, 01 Jan 1970 00:01:00 +0000
30
# Thu Jan 01 00:00:01 1970 +0000
31
# Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
32
# Parent 0000000000000000000000000000000000000000
35
diff -r 000000000000 -r 8580ff50825a a
36
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
37
+++ b/a Thu Jan 01 00:00:01 1970 +0000
42
$ hg --config ui.interactive=1 email --confirm -n -f quux -t foo -c bar -r tip<<EOF
45
this patch series consists of 1 patches.
55
1 files changed, 1 insertions(+), 0 deletions(-)
57
are you sure you want to send (yn)? abort: patchbomb canceled
61
$ hg commit -Amb -d '2 0'
64
$ hg email --date '1970-1-1 0:2' -n -f quux -t foo -c bar -s test -r 0:tip
65
this patch series consists of 2 patches.
68
Write the introductory message for the patch series.
71
displaying [PATCH 0 of 2] test ...
72
Content-Type: text/plain; charset="us-ascii"
74
Content-Transfer-Encoding: 7bit
75
Subject: [PATCH 0 of 2] test
76
Message-Id: <patchbomb.120@*> (glob)
77
User-Agent: Mercurial-patchbomb/* (glob)
78
Date: Thu, 01 Jan 1970 00:02:00 +0000
84
displaying [PATCH 1 of 2] a ...
85
Content-Type: text/plain; charset="us-ascii"
87
Content-Transfer-Encoding: 7bit
88
Subject: [PATCH 1 of 2] a
89
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
90
Message-Id: <8580ff50825a50c8f716.121@*> (glob)
91
In-Reply-To: <patchbomb.120@*> (glob)
92
References: <patchbomb.120@*> (glob)
93
User-Agent: Mercurial-patchbomb/* (glob)
94
Date: Thu, 01 Jan 1970 00:02:01 +0000
102
# Thu Jan 01 00:00:01 1970 +0000
103
# Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
104
# Parent 0000000000000000000000000000000000000000
107
diff -r 000000000000 -r 8580ff50825a a
108
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
109
+++ b/a Thu Jan 01 00:00:01 1970 +0000
113
displaying [PATCH 2 of 2] b ...
114
Content-Type: text/plain; charset="us-ascii"
116
Content-Transfer-Encoding: 7bit
117
Subject: [PATCH 2 of 2] b
118
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
119
Message-Id: <97d72e5f12c7e84f8506.122@*> (glob)
120
In-Reply-To: <patchbomb.120@*> (glob)
121
References: <patchbomb.120@*> (glob)
122
User-Agent: Mercurial-patchbomb/* (glob)
123
Date: Thu, 01 Jan 1970 00:02:02 +0000
131
# Thu Jan 01 00:00:02 1970 +0000
132
# Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
133
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
136
diff -r 8580ff50825a -r 97d72e5f12c7 b
137
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
138
+++ b/b Thu Jan 01 00:00:02 1970 +0000
145
$ cat > editor.sh << '__EOF__'
146
> echo "a precious introductory message" > "$1"
148
$ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg email -n -t foo -s test -r 0:tip > /dev/null
149
$ cat .hg/last-email.txt
150
a precious introductory message
152
$ hg email -m test.mbox -f quux -t foo -c bar -s test 0:tip \
153
> --config extensions.progress= --config progress.assume-tty=1 \
154
> --config progress.delay=0 --config progress.refresh=0 \
155
> --config progress.width=60
156
this patch series consists of 2 patches.
159
Write the introductory message for the patch series.
162
sending [ ] 0/3\r (no-eol) (esc)
163
sending [ ] 0/3\r (no-eol) (esc)
168
sending [==============> ] 1/3\r (no-eol) (esc)
169
sending [==============> ] 1/3\r (no-eol) (esc)
174
sending [=============================> ] 2/3\r (no-eol) (esc)
175
sending [=============================> ] 2/3\r (no-eol) (esc)
177
sending [PATCH 0 of 2] test ...
178
sending [PATCH 1 of 2] a ...
179
sending [PATCH 2 of 2] b ...
186
$ hg commit -Amc -d '3 0'
189
$ cat > description <<EOF
196
test bundle and description:
197
$ hg email --date '1970-1-1 0:3' -n -f quux -t foo \
198
> -c bar -s test -r tip -b --desc description
199
searching for changes
203
Content-Type: multipart/mixed; boundary="===*" (glob)
206
Message-Id: <patchbomb.180@*> (glob)
207
User-Agent: Mercurial-patchbomb/* (glob)
208
Date: Thu, 01 Jan 1970 00:03:00 +0000
214
Content-Type: text/plain; charset="us-ascii"
216
Content-Transfer-Encoding: 7bit
223
Content-Type: application/x-mercurial-bundle
225
Content-Disposition: attachment; filename="bundle.hg"
226
Content-Transfer-Encoding: base64
228
SEcxMEJaaDkxQVkmU1nvR7I3AAAN////lFYQWj1/4HwRkdC/AywIAk0E4pfoSIIIgQCgGEQOcLAA
229
2tA1VPyp4mkeoG0EaaPU0GTT1GjRiNPIg9CZGBqZ6UbU9J+KFU09DNUaGgAAAAAANAGgAAAAA1U8
230
oGgAADQGgAANNANAAAAAAZipFLz3XoakCEQB3PVPyHJVi1iYkAAKQAZQGpQGZESInRnCFMqLDla2
231
Bx3qfRQeA2N4lnzKkAmP8kR2asievLLXXebVU8Vg4iEBqcJNJAxIapSU6SM4888ZAciRG6MYAIEE
232
SlIBpFisgGkyRjX//TMtfcUAEsGu56+YnE1OlTZmzKm8BSu2rvo4rHAYYaadIFFuTy0LYgIkgLVD
233
sgVa2F19D1tx9+hgbAygLgQwaIqcDdgA4BjQgIiz/AEP72++llgDKhKducqodGE4B0ETqF3JFOFC
238
$ python -c 'fp = open("utf", "wb"); fp.write("h\xC3\xB6mma!\n"); fp.close();'
239
$ hg commit -A -d '4 0' -m 'utf-8 content'
243
no mime encoding for email --test:
244
$ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n
245
this patch series consists of 1 patches.
248
displaying [PATCH] utf-8 content ...
249
Content-Type: text/plain; charset="us-ascii"
251
Content-Transfer-Encoding: 8bit
252
Subject: [PATCH] utf-8 content
253
X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
254
Message-Id: <909a00e13e9d78b575ae.240@*> (glob)
255
User-Agent: Mercurial-patchbomb/* (glob)
256
Date: Thu, 01 Jan 1970 00:04:00 +0000
264
# Thu Jan 01 00:00:04 1970 +0000
265
# Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
266
# Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
269
diff -r ff2c9fa2018b -r 909a00e13e9d description
270
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
271
+++ b/description Thu Jan 01 00:00:04 1970 +0000
276
diff -r ff2c9fa2018b -r 909a00e13e9d utf
277
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
278
+++ b/utf Thu Jan 01 00:00:04 1970 +0000
283
mime encoded mbox (base64):
284
$ hg email --date '1970-1-1 0:4' -f 'Q <quux>' -t foo -c bar -r tip -m mbox
285
this patch series consists of 1 patches.
288
sending [PATCH] utf-8 content ...
291
From quux ... ... .. ..:..:.. .... (re)
292
Content-Type: text/plain; charset="utf-8"
294
Content-Transfer-Encoding: base64
295
Subject: [PATCH] utf-8 content
296
X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
297
Message-Id: <909a00e13e9d78b575ae.240@*> (glob)
298
User-Agent: Mercurial-patchbomb/* (glob)
299
Date: Thu, 01 Jan 1970 00:04:00 +0000
304
IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojICAgICAgVGh1IEph
305
biAwMSAwMDowMDowNCAxOTcwICswMDAwCiMgTm9kZSBJRCA5MDlhMDBlMTNlOWQ3OGI1NzVhZWVl
306
MjNkZGRiYWRhNDZkNWExNDNmCiMgUGFyZW50ICBmZjJjOWZhMjAxOGIxNWZhNzRiMzMzNjNiZGE5
307
NTI3MzIzZTJhOTlmCnV0Zi04IGNvbnRlbnQKCmRpZmYgLXIgZmYyYzlmYTIwMThiIC1yIDkwOWEw
308
MGUxM2U5ZCBkZXNjcmlwdGlvbgotLS0gL2Rldi9udWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3
309
MCArMDAwMAorKysgYi9kZXNjcmlwdGlvbglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK
310
QEAgLTAsMCArMSwzIEBACithIG11bHRpbGluZQorCitkZXNjcmlwdGlvbgpkaWZmIC1yIGZmMmM5
311
ZmEyMDE4YiAtciA5MDlhMDBlMTNlOWQgdXRmCi0tLSAvZGV2L251bGwJVGh1IEphbiAwMSAwMDow
312
MDowMCAxOTcwICswMDAwCisrKyBiL3V0ZglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK
313
QEAgLTAsMCArMSwxIEBACitow7ZtbWEhCg==
316
$ python -c 'print open("mbox").read().split("\n\n")[1].decode("base64")'
320
# Thu Jan 01 00:00:04 1970 +0000
321
# Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
322
# Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
325
diff -r ff2c9fa2018b -r 909a00e13e9d description
326
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
327
+++ b/description Thu Jan 01 00:00:04 1970 +0000
332
diff -r ff2c9fa2018b -r 909a00e13e9d utf
333
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
334
+++ b/utf Thu Jan 01 00:00:04 1970 +0000
340
mime encoded mbox (quoted-printable):
341
$ python -c 'fp = open("long", "wb"); fp.write("%s\nfoo\n\nbar\n" % ("x" * 1024)); fp.close();'
342
$ hg commit -A -d '4 0' -m 'long line'
345
no mime encoding for email --test:
346
$ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n
347
this patch series consists of 1 patches.
350
displaying [PATCH] long line ...
351
Content-Type: text/plain; charset="us-ascii"
353
Content-Transfer-Encoding: quoted-printable
354
Subject: [PATCH] long line
355
X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
356
Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob)
357
User-Agent: Mercurial-patchbomb/* (glob)
358
Date: Thu, 01 Jan 1970 00:04:00 +0000
366
# Thu Jan 01 00:00:04 1970 +0000
367
# Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
368
# Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
371
diff -r 909a00e13e9d -r a2ea8fc83dd8 long
372
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
373
+++ b/long Thu Jan 01 00:00:04 1970 +0000
375
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
376
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
377
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
378
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
379
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
380
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
381
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
382
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
383
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
384
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
385
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
386
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
387
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
388
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
394
mime encoded mbox (quoted-printable):
395
$ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -m mbox
396
this patch series consists of 1 patches.
399
sending [PATCH] long line ...
401
From quux ... ... .. ..:..:.. .... (re)
402
Content-Type: text/plain; charset="us-ascii"
404
Content-Transfer-Encoding: quoted-printable
405
Subject: [PATCH] long line
406
X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
407
Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob)
408
User-Agent: Mercurial-patchbomb/* (glob)
409
Date: Thu, 01 Jan 1970 00:04:00 +0000
417
# Thu Jan 01 00:00:04 1970 +0000
418
# Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
419
# Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
422
diff -r 909a00e13e9d -r a2ea8fc83dd8 long
423
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
424
+++ b/long Thu Jan 01 00:00:04 1970 +0000
426
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
427
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
428
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
429
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
430
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
431
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
432
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
433
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
434
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
435
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
436
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
437
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
438
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
439
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
449
$ python -c 'fp = open("isolatin", "wb"); fp.write("h\xF6mma!\n"); fp.close();'
450
$ hg commit -A -d '5 0' -m 'isolatin 8-bit encoding'
454
$ hg email --date '1970-1-1 0:5' -f quux -t foo -c bar -r tip -m mbox
455
this patch series consists of 1 patches.
458
sending [PATCH] isolatin 8-bit encoding ...
460
From quux ... ... .. ..:..:.. .... (re)
461
Content-Type: text/plain; charset="us-ascii"
463
Content-Transfer-Encoding: 8bit
464
Subject: [PATCH] isolatin 8-bit encoding
465
X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
466
Message-Id: <240fb913fc1b7ff15ddb.300@*> (glob)
467
User-Agent: Mercurial-patchbomb/* (glob)
468
Date: Thu, 01 Jan 1970 00:05:00 +0000
476
# Thu Jan 01 00:00:05 1970 +0000
477
# Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
478
# Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
479
isolatin 8-bit encoding
481
diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin
482
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
483
+++ b/isolatin Thu Jan 01 00:00:05 1970 +0000
489
test diffstat for single patch:
490
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y -r 2
491
this patch series consists of 1 patches.
499
Subject: [PATCH] test
501
1 files changed, 1 insertions(+), 0 deletions(-)
503
are you sure you want to send (yn)? y
505
displaying [PATCH] test ...
506
Content-Type: text/plain; charset="us-ascii"
508
Content-Transfer-Encoding: 7bit
509
Subject: [PATCH] test
510
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
511
Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
512
User-Agent: Mercurial-patchbomb/* (glob)
513
Date: Thu, 01 Jan 1970 00:01:00 +0000
519
1 files changed, 1 insertions(+), 0 deletions(-)
525
# Thu Jan 01 00:00:03 1970 +0000
526
# Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
527
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
530
diff -r 97d72e5f12c7 -r ff2c9fa2018b c
531
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
532
+++ b/c Thu Jan 01 00:00:03 1970 +0000
537
test diffstat for multiple patches:
538
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y \
540
this patch series consists of 2 patches.
543
Write the introductory message for the patch series.
551
Subject: [PATCH 0 of 2] test
554
2 files changed, 2 insertions(+), 0 deletions(-)
555
Subject: [PATCH 1 of 2] a
557
1 files changed, 1 insertions(+), 0 deletions(-)
558
Subject: [PATCH 2 of 2] b
560
1 files changed, 1 insertions(+), 0 deletions(-)
562
are you sure you want to send (yn)? y
564
displaying [PATCH 0 of 2] test ...
565
Content-Type: text/plain; charset="us-ascii"
567
Content-Transfer-Encoding: 7bit
568
Subject: [PATCH 0 of 2] test
569
Message-Id: <patchbomb.60@*> (glob)
570
User-Agent: Mercurial-patchbomb/* (glob)
571
Date: Thu, 01 Jan 1970 00:01:00 +0000
579
2 files changed, 2 insertions(+), 0 deletions(-)
581
displaying [PATCH 1 of 2] a ...
582
Content-Type: text/plain; charset="us-ascii"
584
Content-Transfer-Encoding: 7bit
585
Subject: [PATCH 1 of 2] a
586
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
587
Message-Id: <8580ff50825a50c8f716.61@*> (glob)
588
In-Reply-To: <patchbomb.60@*> (glob)
589
References: <patchbomb.60@*> (glob)
590
User-Agent: Mercurial-patchbomb/* (glob)
591
Date: Thu, 01 Jan 1970 00:01:01 +0000
597
1 files changed, 1 insertions(+), 0 deletions(-)
603
# Thu Jan 01 00:00:01 1970 +0000
604
# Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
605
# Parent 0000000000000000000000000000000000000000
608
diff -r 000000000000 -r 8580ff50825a a
609
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
610
+++ b/a Thu Jan 01 00:00:01 1970 +0000
614
displaying [PATCH 2 of 2] b ...
615
Content-Type: text/plain; charset="us-ascii"
617
Content-Transfer-Encoding: 7bit
618
Subject: [PATCH 2 of 2] b
619
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
620
Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
621
In-Reply-To: <patchbomb.60@*> (glob)
622
References: <patchbomb.60@*> (glob)
623
User-Agent: Mercurial-patchbomb/* (glob)
624
Date: Thu, 01 Jan 1970 00:01:02 +0000
630
1 files changed, 1 insertions(+), 0 deletions(-)
636
# Thu Jan 01 00:00:02 1970 +0000
637
# Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
638
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
641
diff -r 8580ff50825a -r 97d72e5f12c7 b
642
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
643
+++ b/b Thu Jan 01 00:00:02 1970 +0000
648
test inline for single patch:
649
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2
650
this patch series consists of 1 patches.
653
displaying [PATCH] test ...
654
Content-Type: multipart/mixed; boundary="===*" (glob)
656
Subject: [PATCH] test
657
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
658
Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
659
User-Agent: Mercurial-patchbomb/* (glob)
660
Date: Thu, 01 Jan 1970 00:01:00 +0000
666
Content-Type: text/x-patch; charset="us-ascii"
668
Content-Transfer-Encoding: 7bit
669
Content-Disposition: inline; filename=t2.patch
674
# Thu Jan 01 00:00:03 1970 +0000
675
# Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
676
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
679
diff -r 97d72e5f12c7 -r ff2c9fa2018b c
680
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
681
+++ b/c Thu Jan 01 00:00:03 1970 +0000
688
test inline for single patch (quoted-printable):
689
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 4
690
this patch series consists of 1 patches.
693
displaying [PATCH] test ...
694
Content-Type: multipart/mixed; boundary="===*" (glob)
696
Subject: [PATCH] test
697
X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
698
Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob)
699
User-Agent: Mercurial-patchbomb/* (glob)
700
Date: Thu, 01 Jan 1970 00:01:00 +0000
706
Content-Type: text/x-patch; charset="us-ascii"
708
Content-Transfer-Encoding: quoted-printable
709
Content-Disposition: inline; filename=t2.patch
714
# Thu Jan 01 00:00:04 1970 +0000
715
# Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
716
# Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
719
diff -r 909a00e13e9d -r a2ea8fc83dd8 long
720
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
721
+++ b/long Thu Jan 01 00:00:04 1970 +0000
723
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
724
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
725
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
726
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
727
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
728
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
729
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
730
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
731
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
732
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
733
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
734
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
735
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
736
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
743
test inline for multiple patches:
744
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \
746
this patch series consists of 3 patches.
749
Write the introductory message for the patch series.
752
displaying [PATCH 0 of 3] test ...
753
Content-Type: text/plain; charset="us-ascii"
755
Content-Transfer-Encoding: 7bit
756
Subject: [PATCH 0 of 3] test
757
Message-Id: <patchbomb.60@*> (glob)
758
User-Agent: Mercurial-patchbomb/* (glob)
759
Date: Thu, 01 Jan 1970 00:01:00 +0000
765
displaying [PATCH 1 of 3] a ...
766
Content-Type: multipart/mixed; boundary="===*" (glob)
768
Subject: [PATCH 1 of 3] a
769
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
770
Message-Id: <8580ff50825a50c8f716.61@*> (glob)
771
In-Reply-To: <patchbomb.60@*> (glob)
772
References: <patchbomb.60@*> (glob)
773
User-Agent: Mercurial-patchbomb/* (glob)
774
Date: Thu, 01 Jan 1970 00:01:01 +0000
780
Content-Type: text/x-patch; charset="us-ascii"
782
Content-Transfer-Encoding: 7bit
783
Content-Disposition: inline; filename=t2-1.patch
788
# Thu Jan 01 00:00:01 1970 +0000
789
# Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
790
# Parent 0000000000000000000000000000000000000000
793
diff -r 000000000000 -r 8580ff50825a a
794
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
795
+++ b/a Thu Jan 01 00:00:01 1970 +0000
800
displaying [PATCH 2 of 3] b ...
801
Content-Type: multipart/mixed; boundary="===*" (glob)
803
Subject: [PATCH 2 of 3] b
804
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
805
Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
806
In-Reply-To: <patchbomb.60@*> (glob)
807
References: <patchbomb.60@*> (glob)
808
User-Agent: Mercurial-patchbomb/* (glob)
809
Date: Thu, 01 Jan 1970 00:01:02 +0000
815
Content-Type: text/x-patch; charset="us-ascii"
817
Content-Transfer-Encoding: 7bit
818
Content-Disposition: inline; filename=t2-2.patch
823
# Thu Jan 01 00:00:02 1970 +0000
824
# Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
825
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
828
diff -r 8580ff50825a -r 97d72e5f12c7 b
829
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
830
+++ b/b Thu Jan 01 00:00:02 1970 +0000
835
displaying [PATCH 3 of 3] long line ...
836
Content-Type: multipart/mixed; boundary="===*" (glob)
838
Subject: [PATCH 3 of 3] long line
839
X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
840
Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob)
841
In-Reply-To: <patchbomb.60@*> (glob)
842
References: <patchbomb.60@*> (glob)
843
User-Agent: Mercurial-patchbomb/* (glob)
844
Date: Thu, 01 Jan 1970 00:01:03 +0000
850
Content-Type: text/x-patch; charset="us-ascii"
852
Content-Transfer-Encoding: quoted-printable
853
Content-Disposition: inline; filename=t2-3.patch
858
# Thu Jan 01 00:00:04 1970 +0000
859
# Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
860
# Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
863
diff -r 909a00e13e9d -r a2ea8fc83dd8 long
864
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
865
+++ b/long Thu Jan 01 00:00:04 1970 +0000
867
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
868
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
869
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
870
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
871
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
872
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
873
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
874
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
875
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
876
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
877
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
878
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
879
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
880
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
887
test attach for single patch:
888
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 2
889
this patch series consists of 1 patches.
892
displaying [PATCH] test ...
893
Content-Type: multipart/mixed; boundary="===*" (glob)
895
Subject: [PATCH] test
896
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
897
Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
898
User-Agent: Mercurial-patchbomb/* (glob)
899
Date: Thu, 01 Jan 1970 00:01:00 +0000
905
Content-Type: text/plain; charset="us-ascii"
907
Content-Transfer-Encoding: 7bit
909
Patch subject is complete summary.
914
Content-Type: text/x-patch; charset="us-ascii"
916
Content-Transfer-Encoding: 7bit
917
Content-Disposition: attachment; filename=t2.patch
922
# Thu Jan 01 00:00:03 1970 +0000
923
# Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
924
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
927
diff -r 97d72e5f12c7 -r ff2c9fa2018b c
928
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
929
+++ b/c Thu Jan 01 00:00:03 1970 +0000
935
test attach for single patch (quoted-printable):
936
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 4
937
this patch series consists of 1 patches.
940
displaying [PATCH] test ...
941
Content-Type: multipart/mixed; boundary="===*" (glob)
943
Subject: [PATCH] test
944
X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
945
Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob)
946
User-Agent: Mercurial-patchbomb/* (glob)
947
Date: Thu, 01 Jan 1970 00:01:00 +0000
953
Content-Type: text/plain; charset="us-ascii"
955
Content-Transfer-Encoding: 7bit
957
Patch subject is complete summary.
962
Content-Type: text/x-patch; charset="us-ascii"
964
Content-Transfer-Encoding: quoted-printable
965
Content-Disposition: attachment; filename=t2.patch
970
# Thu Jan 01 00:00:04 1970 +0000
971
# Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
972
# Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
975
diff -r 909a00e13e9d -r a2ea8fc83dd8 long
976
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
977
+++ b/long Thu Jan 01 00:00:04 1970 +0000
979
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
980
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
981
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
982
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
983
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
984
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
985
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
986
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
987
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
988
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
989
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
990
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
991
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
992
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
999
test attach and body for single patch:
1000
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a --body -r 2
1001
this patch series consists of 1 patches.
1004
displaying [PATCH] test ...
1005
Content-Type: multipart/mixed; boundary="===*" (glob)
1007
Subject: [PATCH] test
1008
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1009
Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1010
User-Agent: Mercurial-patchbomb/* (glob)
1011
Date: Thu, 01 Jan 1970 00:01:00 +0000
1017
Content-Type: text/plain; charset="us-ascii"
1019
Content-Transfer-Encoding: 7bit
1021
# HG changeset patch
1024
# Thu Jan 01 00:00:03 1970 +0000
1025
# Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1026
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1029
diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1030
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1031
+++ b/c Thu Jan 01 00:00:03 1970 +0000
1036
Content-Type: text/x-patch; charset="us-ascii"
1038
Content-Transfer-Encoding: 7bit
1039
Content-Disposition: attachment; filename=t2.patch
1041
# HG changeset patch
1044
# Thu Jan 01 00:00:03 1970 +0000
1045
# Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1046
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1049
diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1050
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1051
+++ b/c Thu Jan 01 00:00:03 1970 +0000
1057
test attach for multiple patches:
1058
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a \
1060
this patch series consists of 3 patches.
1063
Write the introductory message for the patch series.
1066
displaying [PATCH 0 of 3] test ...
1067
Content-Type: text/plain; charset="us-ascii"
1069
Content-Transfer-Encoding: 7bit
1070
Subject: [PATCH 0 of 3] test
1071
Message-Id: <patchbomb.60@*> (glob)
1072
User-Agent: Mercurial-patchbomb/* (glob)
1073
Date: Thu, 01 Jan 1970 00:01:00 +0000
1079
displaying [PATCH 1 of 3] a ...
1080
Content-Type: multipart/mixed; boundary="===*" (glob)
1082
Subject: [PATCH 1 of 3] a
1083
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1084
Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1085
In-Reply-To: <patchbomb.60@*> (glob)
1086
References: <patchbomb.60@*> (glob)
1087
User-Agent: Mercurial-patchbomb/* (glob)
1088
Date: Thu, 01 Jan 1970 00:01:01 +0000
1094
Content-Type: text/plain; charset="us-ascii"
1096
Content-Transfer-Encoding: 7bit
1098
Patch subject is complete summary.
1103
Content-Type: text/x-patch; charset="us-ascii"
1105
Content-Transfer-Encoding: 7bit
1106
Content-Disposition: attachment; filename=t2-1.patch
1108
# HG changeset patch
1111
# Thu Jan 01 00:00:01 1970 +0000
1112
# Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1113
# Parent 0000000000000000000000000000000000000000
1116
diff -r 000000000000 -r 8580ff50825a a
1117
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1118
+++ b/a Thu Jan 01 00:00:01 1970 +0000
1123
displaying [PATCH 2 of 3] b ...
1124
Content-Type: multipart/mixed; boundary="===*" (glob)
1126
Subject: [PATCH 2 of 3] b
1127
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1128
Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1129
In-Reply-To: <patchbomb.60@*> (glob)
1130
References: <patchbomb.60@*> (glob)
1131
User-Agent: Mercurial-patchbomb/* (glob)
1132
Date: Thu, 01 Jan 1970 00:01:02 +0000
1138
Content-Type: text/plain; charset="us-ascii"
1140
Content-Transfer-Encoding: 7bit
1142
Patch subject is complete summary.
1147
Content-Type: text/x-patch; charset="us-ascii"
1149
Content-Transfer-Encoding: 7bit
1150
Content-Disposition: attachment; filename=t2-2.patch
1152
# HG changeset patch
1155
# Thu Jan 01 00:00:02 1970 +0000
1156
# Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1157
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1160
diff -r 8580ff50825a -r 97d72e5f12c7 b
1161
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1162
+++ b/b Thu Jan 01 00:00:02 1970 +0000
1167
displaying [PATCH 3 of 3] long line ...
1168
Content-Type: multipart/mixed; boundary="===*" (glob)
1170
Subject: [PATCH 3 of 3] long line
1171
X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1172
Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob)
1173
In-Reply-To: <patchbomb.60@*> (glob)
1174
References: <patchbomb.60@*> (glob)
1175
User-Agent: Mercurial-patchbomb/* (glob)
1176
Date: Thu, 01 Jan 1970 00:01:03 +0000
1182
Content-Type: text/plain; charset="us-ascii"
1184
Content-Transfer-Encoding: 7bit
1186
Patch subject is complete summary.
1191
Content-Type: text/x-patch; charset="us-ascii"
1193
Content-Transfer-Encoding: quoted-printable
1194
Content-Disposition: attachment; filename=t2-3.patch
1196
# HG changeset patch
1199
# Thu Jan 01 00:00:04 1970 +0000
1200
# Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1201
# Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
1204
diff -r 909a00e13e9d -r a2ea8fc83dd8 long
1205
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1206
+++ b/long Thu Jan 01 00:00:04 1970 +0000
1208
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1209
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1210
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1211
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1212
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1213
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1214
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1215
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1216
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1217
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1218
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1219
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1220
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1221
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
1228
test intro for single patch:
1229
$ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \
1231
this patch series consists of 1 patches.
1234
Write the introductory message for the patch series.
1237
displaying [PATCH 0 of 1] test ...
1238
Content-Type: text/plain; charset="us-ascii"
1240
Content-Transfer-Encoding: 7bit
1241
Subject: [PATCH 0 of 1] test
1242
Message-Id: <patchbomb.60@*> (glob)
1243
User-Agent: Mercurial-patchbomb/* (glob)
1244
Date: Thu, 01 Jan 1970 00:01:00 +0000
1250
displaying [PATCH 1 of 1] c ...
1251
Content-Type: text/plain; charset="us-ascii"
1253
Content-Transfer-Encoding: 7bit
1254
Subject: [PATCH 1 of 1] c
1255
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1256
Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
1257
In-Reply-To: <patchbomb.60@*> (glob)
1258
References: <patchbomb.60@*> (glob)
1259
User-Agent: Mercurial-patchbomb/* (glob)
1260
Date: Thu, 01 Jan 1970 00:01:01 +0000
1265
# HG changeset patch
1268
# Thu Jan 01 00:00:03 1970 +0000
1269
# Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1270
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1273
diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1274
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1275
+++ b/c Thu Jan 01 00:00:03 1970 +0000
1280
test --desc without --intro for a single patch:
1281
$ echo foo > intro.text
1282
$ hg email --date '1970-1-1 0:1' -n --desc intro.text -f quux -t foo -c bar \
1284
this patch series consists of 1 patches.
1287
displaying [PATCH 0 of 1] test ...
1288
Content-Type: text/plain; charset="us-ascii"
1290
Content-Transfer-Encoding: 7bit
1291
Subject: [PATCH 0 of 1] test
1292
Message-Id: <patchbomb.60@*> (glob)
1293
User-Agent: Mercurial-patchbomb/* (glob)
1294
Date: Thu, 01 Jan 1970 00:01:00 +0000
1301
displaying [PATCH 1 of 1] c ...
1302
Content-Type: text/plain; charset="us-ascii"
1304
Content-Transfer-Encoding: 7bit
1305
Subject: [PATCH 1 of 1] c
1306
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1307
Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
1308
In-Reply-To: <patchbomb.60@*> (glob)
1309
References: <patchbomb.60@*> (glob)
1310
User-Agent: Mercurial-patchbomb/* (glob)
1311
Date: Thu, 01 Jan 1970 00:01:01 +0000
1316
# HG changeset patch
1319
# Thu Jan 01 00:00:03 1970 +0000
1320
# Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1321
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1324
diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1325
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1326
+++ b/c Thu Jan 01 00:00:03 1970 +0000
1331
test intro for multiple patches:
1332
$ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \
1334
this patch series consists of 2 patches.
1337
Write the introductory message for the patch series.
1340
displaying [PATCH 0 of 2] test ...
1341
Content-Type: text/plain; charset="us-ascii"
1343
Content-Transfer-Encoding: 7bit
1344
Subject: [PATCH 0 of 2] test
1345
Message-Id: <patchbomb.60@*> (glob)
1346
User-Agent: Mercurial-patchbomb/* (glob)
1347
Date: Thu, 01 Jan 1970 00:01:00 +0000
1353
displaying [PATCH 1 of 2] a ...
1354
Content-Type: text/plain; charset="us-ascii"
1356
Content-Transfer-Encoding: 7bit
1357
Subject: [PATCH 1 of 2] a
1358
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1359
Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1360
In-Reply-To: <patchbomb.60@*> (glob)
1361
References: <patchbomb.60@*> (glob)
1362
User-Agent: Mercurial-patchbomb/* (glob)
1363
Date: Thu, 01 Jan 1970 00:01:01 +0000
1368
# HG changeset patch
1371
# Thu Jan 01 00:00:01 1970 +0000
1372
# Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1373
# Parent 0000000000000000000000000000000000000000
1376
diff -r 000000000000 -r 8580ff50825a a
1377
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1378
+++ b/a Thu Jan 01 00:00:01 1970 +0000
1382
displaying [PATCH 2 of 2] b ...
1383
Content-Type: text/plain; charset="us-ascii"
1385
Content-Transfer-Encoding: 7bit
1386
Subject: [PATCH 2 of 2] b
1387
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1388
Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1389
In-Reply-To: <patchbomb.60@*> (glob)
1390
References: <patchbomb.60@*> (glob)
1391
User-Agent: Mercurial-patchbomb/* (glob)
1392
Date: Thu, 01 Jan 1970 00:01:02 +0000
1397
# HG changeset patch
1400
# Thu Jan 01 00:00:02 1970 +0000
1401
# Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1402
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1405
diff -r 8580ff50825a -r 97d72e5f12c7 b
1406
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1407
+++ b/b Thu Jan 01 00:00:02 1970 +0000
1412
test reply-to via config:
1413
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \
1414
> --config patchbomb.reply-to='baz@example.com'
1415
this patch series consists of 1 patches.
1418
displaying [PATCH] test ...
1419
Content-Type: text/plain; charset="us-ascii"
1421
Content-Transfer-Encoding: 7bit
1422
Subject: [PATCH] test
1423
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1424
Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1425
User-Agent: Mercurial-patchbomb/* (glob)
1426
Date: Thu, 01 Jan 1970 00:01:00 +0000
1430
Reply-To: baz@example.com
1432
# HG changeset patch
1435
# Thu Jan 01 00:00:03 1970 +0000
1436
# Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1437
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1440
diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1441
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1442
+++ b/c Thu Jan 01 00:00:03 1970 +0000
1447
test reply-to via command line:
1448
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \
1449
> --reply-to baz --reply-to fred
1450
this patch series consists of 1 patches.
1453
displaying [PATCH] test ...
1454
Content-Type: text/plain; charset="us-ascii"
1456
Content-Transfer-Encoding: 7bit
1457
Subject: [PATCH] test
1458
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1459
Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1460
User-Agent: Mercurial-patchbomb/* (glob)
1461
Date: Thu, 01 Jan 1970 00:01:00 +0000
1467
# HG changeset patch
1470
# Thu Jan 01 00:00:03 1970 +0000
1471
# Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1472
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1475
diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1476
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1477
+++ b/c Thu Jan 01 00:00:03 1970 +0000
1483
$ hg tag -r0 zero zero.foo
1484
$ hg tag -r1 one one.patch
1485
$ hg tag -r2 two two.diff
1487
test inline for single named patch:
1488
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2
1489
this patch series consists of 1 patches.
1492
displaying [PATCH] test ...
1493
Content-Type: multipart/mixed; boundary="===*" (glob)
1495
Subject: [PATCH] test
1496
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1497
Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1498
User-Agent: Mercurial-patchbomb/* (glob)
1499
Date: Thu, 01 Jan 1970 00:01:00 +0000
1505
Content-Type: text/x-patch; charset="us-ascii"
1507
Content-Transfer-Encoding: 7bit
1508
Content-Disposition: inline; filename=two.diff
1510
# HG changeset patch
1513
# Thu Jan 01 00:00:03 1970 +0000
1514
# Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1515
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1518
diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1519
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1520
+++ b/c Thu Jan 01 00:00:03 1970 +0000
1526
test inline for multiple named/unnamed patches:
1527
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 0:1
1528
this patch series consists of 2 patches.
1531
Write the introductory message for the patch series.
1534
displaying [PATCH 0 of 2] test ...
1535
Content-Type: text/plain; charset="us-ascii"
1537
Content-Transfer-Encoding: 7bit
1538
Subject: [PATCH 0 of 2] test
1539
Message-Id: <patchbomb.60@*> (glob)
1540
User-Agent: Mercurial-patchbomb/* (glob)
1541
Date: Thu, 01 Jan 1970 00:01:00 +0000
1547
displaying [PATCH 1 of 2] a ...
1548
Content-Type: multipart/mixed; boundary="===*" (glob)
1550
Subject: [PATCH 1 of 2] a
1551
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1552
Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1553
In-Reply-To: <patchbomb.60@*> (glob)
1554
References: <patchbomb.60@*> (glob)
1555
User-Agent: Mercurial-patchbomb/* (glob)
1556
Date: Thu, 01 Jan 1970 00:01:01 +0000
1562
Content-Type: text/x-patch; charset="us-ascii"
1564
Content-Transfer-Encoding: 7bit
1565
Content-Disposition: inline; filename=t2-1.patch
1567
# HG changeset patch
1570
# Thu Jan 01 00:00:01 1970 +0000
1571
# Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1572
# Parent 0000000000000000000000000000000000000000
1575
diff -r 000000000000 -r 8580ff50825a a
1576
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1577
+++ b/a Thu Jan 01 00:00:01 1970 +0000
1582
displaying [PATCH 2 of 2] b ...
1583
Content-Type: multipart/mixed; boundary="===*" (glob)
1585
Subject: [PATCH 2 of 2] b
1586
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1587
Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1588
In-Reply-To: <patchbomb.60@*> (glob)
1589
References: <patchbomb.60@*> (glob)
1590
User-Agent: Mercurial-patchbomb/* (glob)
1591
Date: Thu, 01 Jan 1970 00:01:02 +0000
1597
Content-Type: text/x-patch; charset="us-ascii"
1599
Content-Transfer-Encoding: 7bit
1600
Content-Disposition: inline; filename=one.patch
1602
# HG changeset patch
1605
# Thu Jan 01 00:00:02 1970 +0000
1606
# Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1607
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1610
diff -r 8580ff50825a -r 97d72e5f12c7 b
1611
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1612
+++ b/b Thu Jan 01 00:00:02 1970 +0000
1620
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
1622
this patch series consists of 1 patches.
1625
displaying [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b ...
1626
Content-Type: text/plain; charset="us-ascii"
1628
Content-Transfer-Encoding: 7bit
1629
Subject: [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b
1630
X-Mercurial-Node: 7aead2484924c445ad8ce2613df91f52f9e502ed
1631
Message-Id: <7aead2484924c445ad8c.60@*> (glob)
1634
User-Agent: Mercurial-patchbomb/* (glob)
1635
Date: Thu, 01 Jan 1970 00:01:00 +0000
1640
# HG changeset patch
1643
# Thu Jan 01 00:00:00 1970 +0000
1644
# Node ID 7aead2484924c445ad8ce2613df91f52f9e502ed
1645
# Parent 045ca29b1ea20e4940411e695e20e521f2f0f98e
1646
Added tag two, two.diff for changeset ff2c9fa2018b
1648
diff -r 045ca29b1ea2 -r 7aead2484924 .hgtags
1649
--- a/.hgtags Thu Jan 01 00:00:00 1970 +0000
1650
+++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
1652
8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
1653
97d72e5f12c7e84f85064aa72e5a297142c36ed9 one
1654
97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch
1655
+ff2c9fa2018b15fa74b33363bda9527323e2a99f two
1656
+ff2c9fa2018b15fa74b33363bda9527323e2a99f two.diff
1658
no intro message in non-interactive mode
1659
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
1661
this patch series consists of 2 patches.
1663
(optional) Subject: [PATCH 0 of 2]
1665
displaying [PATCH 1 of 2] a ...
1666
Content-Type: text/plain; charset="us-ascii"
1668
Content-Transfer-Encoding: 7bit
1669
Subject: [PATCH 1 of 2] a
1670
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1671
Message-Id: <8580ff50825a50c8f716.60@*> (glob)
1674
User-Agent: Mercurial-patchbomb/* (glob)
1675
Date: Thu, 01 Jan 1970 00:01:00 +0000
1680
# HG changeset patch
1683
# Thu Jan 01 00:00:01 1970 +0000
1684
# Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1685
# Parent 0000000000000000000000000000000000000000
1688
diff -r 000000000000 -r 8580ff50825a a
1689
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1690
+++ b/a Thu Jan 01 00:00:01 1970 +0000
1694
displaying [PATCH 2 of 2] b ...
1695
Content-Type: text/plain; charset="us-ascii"
1697
Content-Transfer-Encoding: 7bit
1698
Subject: [PATCH 2 of 2] b
1699
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1700
Message-Id: <97d72e5f12c7e84f8506.61@*> (glob)
1703
User-Agent: Mercurial-patchbomb/* (glob)
1704
Date: Thu, 01 Jan 1970 00:01:01 +0000
1709
# HG changeset patch
1712
# Thu Jan 01 00:00:02 1970 +0000
1713
# Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1714
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1717
diff -r 8580ff50825a -r 97d72e5f12c7 b
1718
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1719
+++ b/b Thu Jan 01 00:00:02 1970 +0000
1726
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
1728
this patch series consists of 2 patches.
1731
Write the introductory message for the patch series.
1734
displaying [PATCH 0 of 2] test ...
1735
Content-Type: text/plain; charset="us-ascii"
1737
Content-Transfer-Encoding: 7bit
1738
Subject: [PATCH 0 of 2] test
1739
Message-Id: <patchbomb.60@*> (glob)
1742
User-Agent: Mercurial-patchbomb/* (glob)
1743
Date: Thu, 01 Jan 1970 00:01:00 +0000
1749
displaying [PATCH 1 of 2] a ...
1750
Content-Type: text/plain; charset="us-ascii"
1752
Content-Transfer-Encoding: 7bit
1753
Subject: [PATCH 1 of 2] a
1754
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1755
Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1756
In-Reply-To: <patchbomb.60@*> (glob)
1757
References: <patchbomb.60@*> (glob)
1758
User-Agent: Mercurial-patchbomb/* (glob)
1759
Date: Thu, 01 Jan 1970 00:01:01 +0000
1764
# HG changeset patch
1767
# Thu Jan 01 00:00:01 1970 +0000
1768
# Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1769
# Parent 0000000000000000000000000000000000000000
1772
diff -r 000000000000 -r 8580ff50825a a
1773
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1774
+++ b/a Thu Jan 01 00:00:01 1970 +0000
1778
displaying [PATCH 2 of 2] b ...
1779
Content-Type: text/plain; charset="us-ascii"
1781
Content-Transfer-Encoding: 7bit
1782
Subject: [PATCH 2 of 2] b
1783
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1784
Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1785
In-Reply-To: <patchbomb.60@*> (glob)
1786
References: <patchbomb.60@*> (glob)
1787
User-Agent: Mercurial-patchbomb/* (glob)
1788
Date: Thu, 01 Jan 1970 00:01:02 +0000
1793
# HG changeset patch
1796
# Thu Jan 01 00:00:02 1970 +0000
1797
# Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1798
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1801
diff -r 8580ff50825a -r 97d72e5f12c7 b
1802
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1803
+++ b/b Thu Jan 01 00:00:02 1970 +0000
1808
test single flag for single patch:
1809
$ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
1811
this patch series consists of 1 patches.
1814
displaying [PATCH fooFlag] test ...
1815
Content-Type: text/plain; charset="us-ascii"
1817
Content-Transfer-Encoding: 7bit
1818
Subject: [PATCH fooFlag] test
1819
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1820
Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1821
User-Agent: Mercurial-patchbomb/* (glob)
1822
Date: Thu, 01 Jan 1970 00:01:00 +0000
1827
# HG changeset patch
1830
# Thu Jan 01 00:00:03 1970 +0000
1831
# Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1832
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1835
diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1836
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1837
+++ b/c Thu Jan 01 00:00:03 1970 +0000
1842
test single flag for multiple patches:
1843
$ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
1845
this patch series consists of 2 patches.
1848
Write the introductory message for the patch series.
1851
displaying [PATCH 0 of 2 fooFlag] test ...
1852
Content-Type: text/plain; charset="us-ascii"
1854
Content-Transfer-Encoding: 7bit
1855
Subject: [PATCH 0 of 2 fooFlag] test
1856
Message-Id: <patchbomb.60@*> (glob)
1857
User-Agent: Mercurial-patchbomb/* (glob)
1858
Date: Thu, 01 Jan 1970 00:01:00 +0000
1864
displaying [PATCH 1 of 2 fooFlag] a ...
1865
Content-Type: text/plain; charset="us-ascii"
1867
Content-Transfer-Encoding: 7bit
1868
Subject: [PATCH 1 of 2 fooFlag] a
1869
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1870
Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1871
In-Reply-To: <patchbomb.60@*> (glob)
1872
References: <patchbomb.60@*> (glob)
1873
User-Agent: Mercurial-patchbomb/* (glob)
1874
Date: Thu, 01 Jan 1970 00:01:01 +0000
1879
# HG changeset patch
1882
# Thu Jan 01 00:00:01 1970 +0000
1883
# Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1884
# Parent 0000000000000000000000000000000000000000
1887
diff -r 000000000000 -r 8580ff50825a a
1888
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1889
+++ b/a Thu Jan 01 00:00:01 1970 +0000
1893
displaying [PATCH 2 of 2 fooFlag] b ...
1894
Content-Type: text/plain; charset="us-ascii"
1896
Content-Transfer-Encoding: 7bit
1897
Subject: [PATCH 2 of 2 fooFlag] b
1898
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1899
Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1900
In-Reply-To: <patchbomb.60@*> (glob)
1901
References: <patchbomb.60@*> (glob)
1902
User-Agent: Mercurial-patchbomb/* (glob)
1903
Date: Thu, 01 Jan 1970 00:01:02 +0000
1908
# HG changeset patch
1911
# Thu Jan 01 00:00:02 1970 +0000
1912
# Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1913
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1916
diff -r 8580ff50825a -r 97d72e5f12c7 b
1917
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1918
+++ b/b Thu Jan 01 00:00:02 1970 +0000
1923
test multiple flags for single patch:
1924
$ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
1925
> -c bar -s test -r 2
1926
this patch series consists of 1 patches.
1929
displaying [PATCH fooFlag barFlag] test ...
1930
Content-Type: text/plain; charset="us-ascii"
1932
Content-Transfer-Encoding: 7bit
1933
Subject: [PATCH fooFlag barFlag] test
1934
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1935
Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1936
User-Agent: Mercurial-patchbomb/* (glob)
1937
Date: Thu, 01 Jan 1970 00:01:00 +0000
1942
# HG changeset patch
1945
# Thu Jan 01 00:00:03 1970 +0000
1946
# Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1947
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1950
diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1951
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1952
+++ b/c Thu Jan 01 00:00:03 1970 +0000
1957
test multiple flags for multiple patches:
1958
$ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
1959
> -c bar -s test -r 0:1
1960
this patch series consists of 2 patches.
1963
Write the introductory message for the patch series.
1966
displaying [PATCH 0 of 2 fooFlag barFlag] test ...
1967
Content-Type: text/plain; charset="us-ascii"
1969
Content-Transfer-Encoding: 7bit
1970
Subject: [PATCH 0 of 2 fooFlag barFlag] test
1971
Message-Id: <patchbomb.60@*> (glob)
1972
User-Agent: Mercurial-patchbomb/* (glob)
1973
Date: Thu, 01 Jan 1970 00:01:00 +0000
1979
displaying [PATCH 1 of 2 fooFlag barFlag] a ...
1980
Content-Type: text/plain; charset="us-ascii"
1982
Content-Transfer-Encoding: 7bit
1983
Subject: [PATCH 1 of 2 fooFlag barFlag] a
1984
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1985
Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1986
In-Reply-To: <patchbomb.60@*> (glob)
1987
References: <patchbomb.60@*> (glob)
1988
User-Agent: Mercurial-patchbomb/* (glob)
1989
Date: Thu, 01 Jan 1970 00:01:01 +0000
1994
# HG changeset patch
1997
# Thu Jan 01 00:00:01 1970 +0000
1998
# Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1999
# Parent 0000000000000000000000000000000000000000
2002
diff -r 000000000000 -r 8580ff50825a a
2003
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
2004
+++ b/a Thu Jan 01 00:00:01 1970 +0000
2008
displaying [PATCH 2 of 2 fooFlag barFlag] b ...
2009
Content-Type: text/plain; charset="us-ascii"
2011
Content-Transfer-Encoding: 7bit
2012
Subject: [PATCH 2 of 2 fooFlag barFlag] b
2013
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2014
Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
2015
In-Reply-To: <patchbomb.60@*> (glob)
2016
References: <patchbomb.60@*> (glob)
2017
User-Agent: Mercurial-patchbomb/* (glob)
2018
Date: Thu, 01 Jan 1970 00:01:02 +0000
2023
# HG changeset patch
2026
# Thu Jan 01 00:00:02 1970 +0000
2027
# Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2028
# Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2031
diff -r 8580ff50825a -r 97d72e5f12c7 b
2032
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
2033
+++ b/b Thu Jan 01 00:00:02 1970 +0000
2038
test multi-address parsing:
2039
$ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t 'spam<spam><eggs>' \
2040
> -t toast -c 'foo,bar@example.com' -c '"A, B <>" <a@example.com>' -s test -r 0 \
2041
> --config email.bcc='"Quux, A." <quux>'
2042
this patch series consists of 1 patches.
2045
sending [PATCH] test ...
2047
From quux ... ... .. ..:..:.. .... (re)
2048
Content-Type: text/plain; charset="us-ascii"
2050
Content-Transfer-Encoding: 7bit
2051
Subject: [PATCH] test
2052
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2053
Message-Id: <8580ff50825a50c8f716.315532860@*> (glob)
2054
User-Agent: Mercurial-patchbomb/* (glob)
2055
Date: Tue, 01 Jan 1980 00:01:00 +0000
2057
To: spam <spam>, eggs, toast
2058
Cc: foo, bar@example.com, "A, B <>" <a@example.com>
2059
Bcc: "Quux, A." <quux>
2061
# HG changeset patch
2064
# Thu Jan 01 00:00:01 1970 +0000
2065
# Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2066
# Parent 0000000000000000000000000000000000000000
2069
diff -r 000000000000 -r 8580ff50825a a
2070
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
2071
+++ b/a Thu Jan 01 00:00:01 1970 +0000
2077
test multi-byte domain parsing:
2078
$ UUML=`python -c 'import sys; sys.stdout.write("\374")'`
2079
$ HGENCODING=iso-8859-1
2081
$ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t "bar@${UUML}nicode.com" -s test -r 0
2082
this patch series consists of 1 patches.
2086
sending [PATCH] test ...
2089
From quux ... ... .. ..:..:.. .... (re)
2090
Content-Type: text/plain; charset="us-ascii"
2092
Content-Transfer-Encoding: 7bit
2093
Subject: [PATCH] test
2094
X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2095
Message-Id: <8580ff50825a50c8f716.315532860@*> (glob)
2096
User-Agent: Mercurial-patchbomb/* (glob)
2097
Date: Tue, 01 Jan 1980 00:01:00 +0000
2099
To: bar@xn--nicode-2ya.com
2101
# HG changeset patch
2104
# Thu Jan 01 00:00:01 1970 +0000
2105
# Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2106
# Parent 0000000000000000000000000000000000000000
2109
diff -r 000000000000 -r 8580ff50825a a
2110
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
2111
+++ b/a Thu Jan 01 00:00:01 1970 +0000
2119
0 files updated, 0 files merged, 6 files removed, 0 files unresolved
2122
marked working directory as branch test
2123
(branches are permanent and global, did you want a bookmark?)
2127
$ hg ci -md -d '4 0'
2129
$ hg ci -mdd -d '5 0'
2130
$ hg --config extensions.graphlog= glog --template "{rev}:{node|short} {desc|firstline}\n"
2131
@ 10:3b6f1ec9dde9 dd
2135
| o 8:7aead2484924 Added tag two, two.diff for changeset ff2c9fa2018b
2137
| o 7:045ca29b1ea2 Added tag one, one.patch for changeset 97d72e5f12c7
2139
| o 6:5d5ef15dfe5e Added tag zero, zero.foo for changeset 8580ff50825a
2141
| o 5:240fb913fc1b isolatin 8-bit encoding
2143
| o 4:a2ea8fc83dd8 long line
2145
| o 3:909a00e13e9d utf-8 content
2147
| o 2:ff2c9fa2018b c
2153
$ hg phase --force --secret -r 10
2154
$ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t -r 'rev(10) or rev(6)'
2157
this patch series consists of 6 patches.
2160
Write the introductory message for the patch series.
2164
displaying [PATCH 0 of 6] test ...
2165
Content-Type: text/plain; charset="us-ascii"
2167
Content-Transfer-Encoding: 7bit
2168
Subject: [PATCH 0 of 6] test
2169
Message-Id: <patchbomb.315532860@*> (glob)
2170
User-Agent: Mercurial-patchbomb/* (glob)
2171
Date: Tue, 01 Jan 1980 00:01:00 +0000
2176
displaying [PATCH 1 of 6] c ...
2177
Content-Type: text/plain; charset="us-ascii"
2179
Content-Transfer-Encoding: 7bit
2180
Subject: [PATCH 1 of 6] c
2181
X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
2182
Message-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
2183
In-Reply-To: <patchbomb.315532860@*> (glob)
2184
References: <patchbomb.315532860@*> (glob)
2185
User-Agent: Mercurial-patchbomb/* (glob)
2186
Date: Tue, 01 Jan 1980 00:01:01 +0000
2190
# HG changeset patch
2193
# Thu Jan 01 00:00:03 1970 +0000
2194
# Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2195
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2198
diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2199
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
2200
+++ b/c Thu Jan 01 00:00:03 1970 +0000
2204
displaying [PATCH 2 of 6] utf-8 content ...
2205
Content-Type: text/plain; charset="us-ascii"
2207
Content-Transfer-Encoding: 8bit
2208
Subject: [PATCH 2 of 6] utf-8 content
2209
X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
2210
Message-Id: <909a00e13e9d78b575ae.315532862@*> (glob)
2211
In-Reply-To: <patchbomb.315532860@*> (glob)
2212
References: <patchbomb.315532860@*> (glob)
2213
User-Agent: Mercurial-patchbomb/* (glob)
2214
Date: Tue, 01 Jan 1980 00:01:02 +0000
2218
# HG changeset patch
2221
# Thu Jan 01 00:00:04 1970 +0000
2222
# Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
2223
# Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
2226
diff -r ff2c9fa2018b -r 909a00e13e9d description
2227
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
2228
+++ b/description Thu Jan 01 00:00:04 1970 +0000
2233
diff -r ff2c9fa2018b -r 909a00e13e9d utf
2234
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
2235
+++ b/utf Thu Jan 01 00:00:04 1970 +0000
2237
+h\xc3\xb6mma! (esc)
2239
displaying [PATCH 3 of 6] long line ...
2240
Content-Type: text/plain; charset="us-ascii"
2242
Content-Transfer-Encoding: quoted-printable
2243
Subject: [PATCH 3 of 6] long line
2244
X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
2245
Message-Id: <a2ea8fc83dd8b93cfd86.315532863@*> (glob)
2246
In-Reply-To: <patchbomb.315532860@*> (glob)
2247
References: <patchbomb.315532860@*> (glob)
2248
User-Agent: Mercurial-patchbomb/* (glob)
2249
Date: Tue, 01 Jan 1980 00:01:03 +0000
2253
# HG changeset patch
2256
# Thu Jan 01 00:00:04 1970 +0000
2257
# Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
2258
# Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
2261
diff -r 909a00e13e9d -r a2ea8fc83dd8 long
2262
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
2263
+++ b/long Thu Jan 01 00:00:04 1970 +0000
2265
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2266
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2267
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2268
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2269
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2270
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2271
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2272
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2273
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2274
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2275
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2276
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2277
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2278
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2283
displaying [PATCH 4 of 6] isolatin 8-bit encoding ...
2284
Content-Type: text/plain; charset="us-ascii"
2286
Content-Transfer-Encoding: 8bit
2287
Subject: [PATCH 4 of 6] isolatin 8-bit encoding
2288
X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
2289
Message-Id: <240fb913fc1b7ff15ddb.315532864@*> (glob)
2290
In-Reply-To: <patchbomb.315532860@*> (glob)
2291
References: <patchbomb.315532860@*> (glob)
2292
User-Agent: Mercurial-patchbomb/* (glob)
2293
Date: Tue, 01 Jan 1980 00:01:04 +0000
2297
# HG changeset patch
2300
# Thu Jan 01 00:00:05 1970 +0000
2301
# Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
2302
# Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
2303
isolatin 8-bit encoding
2305
diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin
2306
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
2307
+++ b/isolatin Thu Jan 01 00:00:05 1970 +0000
2311
displaying [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a ...
2312
Content-Type: text/plain; charset="us-ascii"
2314
Content-Transfer-Encoding: 7bit
2315
Subject: [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a
2316
X-Mercurial-Node: 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433
2317
Message-Id: <5d5ef15dfe5e7bd3a4ee.315532865@*> (glob)
2318
In-Reply-To: <patchbomb.315532860@*> (glob)
2319
References: <patchbomb.315532860@*> (glob)
2320
User-Agent: Mercurial-patchbomb/* (glob)
2321
Date: Tue, 01 Jan 1980 00:01:05 +0000
2325
# HG changeset patch
2328
# Thu Jan 01 00:00:00 1970 +0000
2329
# Node ID 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433
2330
# Parent 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
2331
Added tag zero, zero.foo for changeset 8580ff50825a
2333
diff -r 240fb913fc1b -r 5d5ef15dfe5e .hgtags
2334
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
2335
+++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
2337
+8580ff50825a50c8f716709acdf8de0deddcd6ab zero
2338
+8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
2340
displaying [PATCH 6 of 6] d ...
2341
Content-Type: text/plain; charset="us-ascii"
2343
Content-Transfer-Encoding: 7bit
2344
Subject: [PATCH 6 of 6] d
2345
X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2346
Message-Id: <2f9fa9b998c5fe3ac2bd.315532866@*> (glob)
2347
In-Reply-To: <patchbomb.315532860@*> (glob)
2348
References: <patchbomb.315532860@*> (glob)
2349
User-Agent: Mercurial-patchbomb/* (glob)
2350
Date: Tue, 01 Jan 1980 00:01:06 +0000
2354
# HG changeset patch
2357
# Thu Jan 01 00:00:04 1970 +0000
2359
# Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2360
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2363
diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d
2364
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
2365
+++ b/d Thu Jan 01 00:00:04 1970 +0000
2371
$ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t#test
2374
this patch series consists of 1 patches.
2378
displaying [PATCH] test ...
2379
Content-Type: text/plain; charset="us-ascii"
2381
Content-Transfer-Encoding: 7bit
2382
Subject: [PATCH] test
2383
X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2384
Message-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob)
2385
User-Agent: Mercurial-patchbomb/* (glob)
2386
Date: Tue, 01 Jan 1980 00:01:00 +0000
2390
# HG changeset patch
2393
# Thu Jan 01 00:00:04 1970 +0000
2395
# Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2396
# Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2399
diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d
2400
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
2401
+++ b/d Thu Jan 01 00:00:04 1970 +0000