##// END OF EJS Templates
test-patchbomb.t: clean up progress tests
Augie Fackler -
r14101:0c522883 default
parent child Browse files
Show More
@@ -1,2164 +1,2178 b''
1 1 $ fixheaders()
2 2 > {
3 3 > sed -e 's/\(Message-Id:.*@\).*/\1/' \
4 4 > -e 's/\(In-Reply-To:.*@\).*/\1/' \
5 5 > -e 's/\(References:.*@\).*/\1/' \
6 6 > -e 's/\(User-Agent:.*\)\/.*/\1/' \
7 7 > -e 's/===.*/===/'
8 8 > }
9 9 $ echo "[extensions]" >> $HGRCPATH
10 10 $ echo "patchbomb=" >> $HGRCPATH
11 11
12 12 $ hg init t
13 13 $ cd t
14 14 $ echo a > a
15 15 $ hg commit -Ama -d '1 0'
16 16 adding a
17 17
18 18 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip
19 19 This patch series consists of 1 patches.
20 20
21 21
22 22 Displaying [PATCH] a ...
23 23 Content-Type: text/plain; charset="us-ascii"
24 24 MIME-Version: 1.0
25 25 Content-Transfer-Encoding: 7bit
26 26 Subject: [PATCH] a
27 27 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
28 28 Message-Id: <8580ff50825a50c8f716.60@* (glob)
29 29 User-Agent: Mercurial-patchbomb/* (glob)
30 30 Date: Thu, 01 Jan 1970 00:01:00 +0000
31 31 From: quux
32 32 To: foo
33 33 Cc: bar
34 34
35 35 # HG changeset patch
36 36 # User test
37 37 # Date 1 0
38 38 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
39 39 # Parent 0000000000000000000000000000000000000000
40 40 a
41 41
42 42 diff -r 000000000000 -r 8580ff50825a a
43 43 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
44 44 +++ b/a Thu Jan 01 00:00:01 1970 +0000
45 45 @@ -0,0 +1,1 @@
46 46 +a
47 47
48 48
49 49 $ hg --config ui.interactive=1 email --confirm -n -f quux -t foo -c bar -r tip<<EOF
50 50 > n
51 51 > EOF
52 52 This patch series consists of 1 patches.
53 53
54 54
55 55 Final summary:
56 56
57 57 From: quux
58 58 To: foo
59 59 Cc: bar
60 60 Subject: [PATCH] a
61 61 a | 1 +
62 62 1 files changed, 1 insertions(+), 0 deletions(-)
63 63
64 64 are you sure you want to send (yn)? abort: patchbomb canceled
65 65 [255]
66 66
67 67 $ echo b > b
68 68 $ hg commit -Amb -d '2 0'
69 69 adding b
70 70
71 71 $ hg email --date '1970-1-1 0:2' -n -f quux -t foo -c bar -s test -r 0:tip
72 72 This patch series consists of 2 patches.
73 73
74 74
75 75 Write the introductory message for the patch series.
76 76
77 77
78 78 Displaying [PATCH 0 of 2] test ...
79 79 Content-Type: text/plain; charset="us-ascii"
80 80 MIME-Version: 1.0
81 81 Content-Transfer-Encoding: 7bit
82 82 Subject: [PATCH 0 of 2] test
83 83 Message-Id: <patchbomb\.120@[^>]*> (re)
84 84 User-Agent: Mercurial-patchbomb/* (glob)
85 85 Date: Thu, 01 Jan 1970 00:02:00 +0000
86 86 From: quux
87 87 To: foo
88 88 Cc: bar
89 89
90 90
91 91 Displaying [PATCH 1 of 2] a ...
92 92 Content-Type: text/plain; charset="us-ascii"
93 93 MIME-Version: 1.0
94 94 Content-Transfer-Encoding: 7bit
95 95 Subject: [PATCH 1 of 2] a
96 96 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
97 97 Message-Id: <8580ff50825a50c8f716\.121@[^>]*> (re)
98 98 In-Reply-To: <patchbomb\.120@[^>]*> (re)
99 99 References: <patchbomb\.120@[^>]*> (re)
100 100 User-Agent: Mercurial-patchbomb/* (glob)
101 101 Date: Thu, 01 Jan 1970 00:02:01 +0000
102 102 From: quux
103 103 To: foo
104 104 Cc: bar
105 105
106 106 # HG changeset patch
107 107 # User test
108 108 # Date 1 0
109 109 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
110 110 # Parent 0000000000000000000000000000000000000000
111 111 a
112 112
113 113 diff -r 000000000000 -r 8580ff50825a a
114 114 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
115 115 +++ b/a Thu Jan 01 00:00:01 1970 +0000
116 116 @@ -0,0 +1,1 @@
117 117 +a
118 118
119 119 Displaying [PATCH 2 of 2] b ...
120 120 Content-Type: text/plain; charset="us-ascii"
121 121 MIME-Version: 1.0
122 122 Content-Transfer-Encoding: 7bit
123 123 Subject: [PATCH 2 of 2] b
124 124 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
125 125 Message-Id: <97d72e5f12c7e84f8506\.122@[^>]*> (re)
126 126 In-Reply-To: <patchbomb\.120@[^>]*> (re)
127 127 References: <patchbomb\.120@[^>]*> (re)
128 128 User-Agent: Mercurial-patchbomb/* (glob)
129 129 Date: Thu, 01 Jan 1970 00:02:02 +0000
130 130 From: quux
131 131 To: foo
132 132 Cc: bar
133 133
134 134 # HG changeset patch
135 135 # User test
136 136 # Date 2 0
137 137 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
138 138 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
139 139 b
140 140
141 141 diff -r 8580ff50825a -r 97d72e5f12c7 b
142 142 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
143 143 +++ b/b Thu Jan 01 00:00:02 1970 +0000
144 144 @@ -0,0 +1,1 @@
145 145 +b
146 146
147 147
148 148 .hg/last-email.txt
149 149
150 150 $ cat > editor << '__EOF__'
151 151 > #!/bin/sh
152 152 > echo "a precious introductory message" > "$1"
153 153 > __EOF__
154 154 $ chmod +x editor
155 155 $ HGEDITOR="'`pwd`'"/editor hg email -n -t foo -s test -r 0:tip > /dev/null
156 156 $ cat .hg/last-email.txt
157 157 a precious introductory message
158 158
159 159 $ hg email -m test.mbox -f quux -t foo -c bar -s test 0:tip \
160 160 > --config extensions.progress= --config progress.assume-tty=1 \
161 > --config progress.delay=0 --config progress.refresh=0
161 > --config progress.delay=0 --config progress.refresh=0 \
162 > --config progress.width=60 2>&1 | \
163 > python $TESTDIR/filtercr.py
162 164 This patch series consists of 2 patches.
163 165
164 166
165 167 Write the introductory message for the patch series.
166 168
167 \rwriting [ ] 0/3\rwriting [ ] 0/3\r \r\r \r\rwriting [====================> ] 1/3\rwriting [====================> ] 1/3\r \r\r \r\rwriting [==========================================> ] 2/3\rwriting [==========================================> ] 2/3\r \r (esc)
169
170 writing [ ] 0/3
171 writing [ ] 0/3
172
173
174 writing [==============> ] 1/3
175 writing [==============> ] 1/3
176
177
178 writing [=============================> ] 2/3
179 writing [=============================> ] 2/3
180 \r (esc)
168 181 Writing [PATCH 0 of 2] test ...
169 182 Writing [PATCH 1 of 2] a ...
170 183 Writing [PATCH 2 of 2] b ...
184
171 185
172 186 $ cd ..
173 187
174 188 $ hg clone -q t t2
175 189 $ cd t2
176 190 $ echo c > c
177 191 $ hg commit -Amc -d '3 0'
178 192 adding c
179 193
180 194 $ cat > description <<EOF
181 195 > a multiline
182 196 >
183 197 > description
184 198 > EOF
185 199
186 200
187 201 test bundle and description:
188 202 $ hg email --date '1970-1-1 0:3' -n -f quux -t foo \
189 203 > -c bar -s test -r tip -b --desc description | fixheaders
190 204 searching for changes
191 205 1 changesets found
192 206
193 207 Displaying test ...
194 208 Content-Type: multipart/mixed; boundary="===
195 209 MIME-Version: 1.0
196 210 Subject: test
197 211 Message-Id: <patchbomb.180@
198 212 User-Agent: Mercurial-patchbomb
199 213 Date: Thu, 01 Jan 1970 00:03:00 +0000
200 214 From: quux
201 215 To: foo
202 216 Cc: bar
203 217
204 218 --===
205 219 Content-Type: text/plain; charset="us-ascii"
206 220 MIME-Version: 1.0
207 221 Content-Transfer-Encoding: 7bit
208 222
209 223 a multiline
210 224
211 225 description
212 226
213 227 --===
214 228 Content-Type: application/x-mercurial-bundle
215 229 MIME-Version: 1.0
216 230 Content-Disposition: attachment; filename="bundle.hg"
217 231 Content-Transfer-Encoding: base64
218 232
219 233 SEcxMEJaaDkxQVkmU1nvR7I3AAAN////lFYQWj1/4HwRkdC/AywIAk0E4pfoSIIIgQCgGEQOcLAA
220 234 2tA1VPyp4mkeoG0EaaPU0GTT1GjRiNPIg9CZGBqZ6UbU9J+KFU09DNUaGgAAAAAANAGgAAAAA1U8
221 235 oGgAADQGgAANNANAAAAAAZipFLz3XoakCEQB3PVPyHJVi1iYkAAKQAZQGpQGZESInRnCFMqLDla2
222 236 Bx3qfRQeA2N4lnzKkAmP8kR2asievLLXXebVU8Vg4iEBqcJNJAxIapSU6SM4888ZAciRG6MYAIEE
223 237 SlIBpFisgGkyRjX//TMtfcUAEsGu56+YnE1OlTZmzKm8BSu2rvo4rHAYYaadIFFuTy0LYgIkgLVD
224 238 sgVa2F19D1tx9+hgbAygLgQwaIqcDdgA4BjQgIiz/AEP72++llgDKhKducqodGE4B0ETqF3JFOFC
225 239 Q70eyNw=
226 240 --===
227 241
228 242 utf-8 patch:
229 243 $ python -c 'fp = open("utf", "wb"); fp.write("h\xC3\xB6mma!\n"); fp.close();'
230 244 $ hg commit -A -d '4 0' -m 'charset=utf-8; content-transfer-encoding: base64'
231 245 adding description
232 246 adding utf
233 247
234 248 no mime encoding for email --test:
235 249 $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n | fixheaders > mailtest
236 250
237 251 md5sum of 8-bit output:
238 252 $ $TESTDIR/md5sum.py mailtest
239 253 e726c29b3008e77994c7572563e57c34 mailtest
240 254
241 255 $ rm mailtest
242 256
243 257 mime encoded mbox (base64):
244 258 $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -m mbox
245 259 This patch series consists of 1 patches.
246 260
247 261
248 262 Writing [PATCH] charset=utf-8; content-transfer-encoding: base64 ...
249 263
250 264 $ cat mbox
251 265 From quux Thu Jan 01 00:04:01 1970
252 266 Content-Type: text/plain; charset="utf-8"
253 267 MIME-Version: 1.0
254 268 Content-Transfer-Encoding: base64
255 269 Subject: [PATCH] charset=utf-8; content-transfer-encoding: base64
256 270 X-Mercurial-Node: c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
257 271 Message-Id: <c3c9e37db9f4fe4882cd.240@* (glob)
258 272 User-Agent: Mercurial-patchbomb/* (glob)
259 273 Date: Thu, 01 Jan 1970 00:04:00 +0000
260 274 From: quux
261 275 To: foo
262 276 Cc: bar
263 277
264 278 IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojIE5vZGUgSUQgYzNj
265 279 OWUzN2RiOWY0ZmU0ODgyY2RhMzliYWY0MmZlZDZiYWQ4YjE1YQojIFBhcmVudCAgZmYyYzlmYTIw
266 280 MThiMTVmYTc0YjMzMzYzYmRhOTUyNzMyM2UyYTk5ZgpjaGFyc2V0PXV0Zi04OyBjb250ZW50LXRy
267 281 YW5zZmVyLWVuY29kaW5nOiBiYXNlNjQKCmRpZmYgLXIgZmYyYzlmYTIwMThiIC1yIGMzYzllMzdk
268 282 YjlmNCBkZXNjcmlwdGlvbgotLS0gL2Rldi9udWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3MCAr
269 283 MDAwMAorKysgYi9kZXNjcmlwdGlvbglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAKQEAg
270 284 LTAsMCArMSwzIEBACithIG11bHRpbGluZQorCitkZXNjcmlwdGlvbgpkaWZmIC1yIGZmMmM5ZmEy
271 285 MDE4YiAtciBjM2M5ZTM3ZGI5ZjQgdXRmCi0tLSAvZGV2L251bGwJVGh1IEphbiAwMSAwMDowMDow
272 286 MCAxOTcwICswMDAwCisrKyBiL3V0ZglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAKQEAg
273 287 LTAsMCArMSwxIEBACitow7ZtbWEhCg==
274 288
275 289
276 290 $ rm mbox
277 291
278 292 mime encoded mbox (quoted-printable):
279 293 $ python -c 'fp = open("qp", "wb"); fp.write("%s\nfoo\n\nbar\n" % ("x" * 1024)); fp.close();'
280 294 $ hg commit -A -d '4 0' -m 'charset=utf-8; content-transfer-encoding: quoted-printable'
281 295 adding qp
282 296
283 297 no mime encoding for email --test:
284 298 $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n | \
285 299 > fixheaders > mailtest
286 300 md5sum of qp output:
287 301 $ $TESTDIR/md5sum.py mailtest
288 302 0402c7d033e04044e423bb04816f9dae mailtest
289 303 $ rm mailtest
290 304
291 305 mime encoded mbox (quoted-printable):
292 306 $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -m mbox
293 307 This patch series consists of 1 patches.
294 308
295 309
296 310 Writing [PATCH] charset=utf-8; content-transfer-encoding: quoted-printable ...
297 311 $ cat mbox | fixheaders
298 312 From quux Thu Jan 01 00:04:01 1970
299 313 Content-Type: text/plain; charset="us-ascii"
300 314 MIME-Version: 1.0
301 315 Content-Transfer-Encoding: quoted-printable
302 316 Subject: [PATCH] charset=utf-8; content-transfer-encoding: quoted-printable
303 317 X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
304 318 Message-Id: <c655633f8c87700bb38c.240@
305 319 User-Agent: Mercurial-patchbomb
306 320 Date: Thu, 01 Jan 1970 00:04:00 +0000
307 321 From: quux
308 322 To: foo
309 323 Cc: bar
310 324
311 325 # HG changeset patch
312 326 # User test
313 327 # Date 4 0
314 328 # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
315 329 # Parent c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
316 330 charset=3Dutf-8; content-transfer-encoding: quoted-printable
317 331
318 332 diff -r c3c9e37db9f4 -r c655633f8c87 qp
319 333 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
320 334 +++ b/qp Thu Jan 01 00:00:04 1970 +0000
321 335 @@ -0,0 +1,4 @@
322 336 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
323 337 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
324 338 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
325 339 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
326 340 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
327 341 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
328 342 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
329 343 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
330 344 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
331 345 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
332 346 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
333 347 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
334 348 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
335 349 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
336 350 +foo
337 351 +
338 352 +bar
339 353
340 354
341 355
342 356 $ rm mbox
343 357
344 358 iso-8859-1 patch:
345 359 $ python -c 'fp = open("isolatin", "wb"); fp.write("h\xF6mma!\n"); fp.close();'
346 360 $ hg commit -A -d '5 0' -m 'charset=us-ascii; content-transfer-encoding: 8bit'
347 361 adding isolatin
348 362
349 363 fake ascii mbox:
350 364 $ hg email --date '1970-1-1 0:5' -f quux -t foo -c bar -r tip -m mbox
351 365 This patch series consists of 1 patches.
352 366
353 367
354 368 Writing [PATCH] charset=us-ascii; content-transfer-encoding: 8bit ...
355 369 $ fixheaders < mbox > mboxfix
356 370
357 371 md5sum of 8-bit output:
358 372 $ $TESTDIR/md5sum.py mboxfix
359 373 9ea043d8fc43a71045114508baed144b mboxfix
360 374
361 375 test diffstat for single patch:
362 376 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y -r 2 | \
363 377 > fixheaders
364 378 This patch series consists of 1 patches.
365 379
366 380
367 381 Final summary:
368 382
369 383 From: quux
370 384 To: foo
371 385 Cc: bar
372 386 Subject: [PATCH] test
373 387 c | 1 +
374 388 1 files changed, 1 insertions(+), 0 deletions(-)
375 389
376 390 are you sure you want to send (yn)? y
377 391
378 392 Displaying [PATCH] test ...
379 393 Content-Type: text/plain; charset="us-ascii"
380 394 MIME-Version: 1.0
381 395 Content-Transfer-Encoding: 7bit
382 396 Subject: [PATCH] test
383 397 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
384 398 Message-Id: <ff2c9fa2018b15fa74b3.60@
385 399 User-Agent: Mercurial-patchbomb
386 400 Date: Thu, 01 Jan 1970 00:01:00 +0000
387 401 From: quux
388 402 To: foo
389 403 Cc: bar
390 404
391 405 c | 1 +
392 406 1 files changed, 1 insertions(+), 0 deletions(-)
393 407
394 408
395 409 # HG changeset patch
396 410 # User test
397 411 # Date 3 0
398 412 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
399 413 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
400 414 c
401 415
402 416 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
403 417 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
404 418 +++ b/c Thu Jan 01 00:00:03 1970 +0000
405 419 @@ -0,0 +1,1 @@
406 420 +c
407 421
408 422
409 423 test diffstat for multiple patches:
410 424 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y \
411 425 > -r 0:1 | fixheaders
412 426 This patch series consists of 2 patches.
413 427
414 428
415 429 Write the introductory message for the patch series.
416 430
417 431
418 432 Final summary:
419 433
420 434 From: quux
421 435 To: foo
422 436 Cc: bar
423 437 Subject: [PATCH 0 of 2] test
424 438 a | 1 +
425 439 b | 1 +
426 440 2 files changed, 2 insertions(+), 0 deletions(-)
427 441 Subject: [PATCH 1 of 2] a
428 442 a | 1 +
429 443 1 files changed, 1 insertions(+), 0 deletions(-)
430 444 Subject: [PATCH 2 of 2] b
431 445 b | 1 +
432 446 1 files changed, 1 insertions(+), 0 deletions(-)
433 447
434 448 are you sure you want to send (yn)? y
435 449
436 450 Displaying [PATCH 0 of 2] test ...
437 451 Content-Type: text/plain; charset="us-ascii"
438 452 MIME-Version: 1.0
439 453 Content-Transfer-Encoding: 7bit
440 454 Subject: [PATCH 0 of 2] test
441 455 Message-Id: <patchbomb.60@
442 456 User-Agent: Mercurial-patchbomb
443 457 Date: Thu, 01 Jan 1970 00:01:00 +0000
444 458 From: quux
445 459 To: foo
446 460 Cc: bar
447 461
448 462
449 463 a | 1 +
450 464 b | 1 +
451 465 2 files changed, 2 insertions(+), 0 deletions(-)
452 466
453 467 Displaying [PATCH 1 of 2] a ...
454 468 Content-Type: text/plain; charset="us-ascii"
455 469 MIME-Version: 1.0
456 470 Content-Transfer-Encoding: 7bit
457 471 Subject: [PATCH 1 of 2] a
458 472 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
459 473 Message-Id: <8580ff50825a50c8f716.61@
460 474 In-Reply-To: <patchbomb.60@
461 475 References: <patchbomb.60@
462 476 User-Agent: Mercurial-patchbomb
463 477 Date: Thu, 01 Jan 1970 00:01:01 +0000
464 478 From: quux
465 479 To: foo
466 480 Cc: bar
467 481
468 482 a | 1 +
469 483 1 files changed, 1 insertions(+), 0 deletions(-)
470 484
471 485
472 486 # HG changeset patch
473 487 # User test
474 488 # Date 1 0
475 489 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
476 490 # Parent 0000000000000000000000000000000000000000
477 491 a
478 492
479 493 diff -r 000000000000 -r 8580ff50825a a
480 494 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
481 495 +++ b/a Thu Jan 01 00:00:01 1970 +0000
482 496 @@ -0,0 +1,1 @@
483 497 +a
484 498
485 499 Displaying [PATCH 2 of 2] b ...
486 500 Content-Type: text/plain; charset="us-ascii"
487 501 MIME-Version: 1.0
488 502 Content-Transfer-Encoding: 7bit
489 503 Subject: [PATCH 2 of 2] b
490 504 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
491 505 Message-Id: <97d72e5f12c7e84f8506.62@
492 506 In-Reply-To: <patchbomb.60@
493 507 References: <patchbomb.60@
494 508 User-Agent: Mercurial-patchbomb
495 509 Date: Thu, 01 Jan 1970 00:01:02 +0000
496 510 From: quux
497 511 To: foo
498 512 Cc: bar
499 513
500 514 b | 1 +
501 515 1 files changed, 1 insertions(+), 0 deletions(-)
502 516
503 517
504 518 # HG changeset patch
505 519 # User test
506 520 # Date 2 0
507 521 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
508 522 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
509 523 b
510 524
511 525 diff -r 8580ff50825a -r 97d72e5f12c7 b
512 526 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
513 527 +++ b/b Thu Jan 01 00:00:02 1970 +0000
514 528 @@ -0,0 +1,1 @@
515 529 +b
516 530
517 531
518 532 test inline for single patch:
519 533 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2 | \
520 534 > fixheaders
521 535 This patch series consists of 1 patches.
522 536
523 537
524 538 Displaying [PATCH] test ...
525 539 Content-Type: multipart/mixed; boundary="===
526 540 MIME-Version: 1.0
527 541 Subject: [PATCH] test
528 542 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
529 543 Message-Id: <ff2c9fa2018b15fa74b3.60@
530 544 User-Agent: Mercurial-patchbomb
531 545 Date: Thu, 01 Jan 1970 00:01:00 +0000
532 546 From: quux
533 547 To: foo
534 548 Cc: bar
535 549
536 550 --===
537 551 Content-Type: text/x-patch; charset="us-ascii"
538 552 MIME-Version: 1.0
539 553 Content-Transfer-Encoding: 7bit
540 554 Content-Disposition: inline; filename=t2.patch
541 555
542 556 # HG changeset patch
543 557 # User test
544 558 # Date 3 0
545 559 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
546 560 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
547 561 c
548 562
549 563 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
550 564 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
551 565 +++ b/c Thu Jan 01 00:00:03 1970 +0000
552 566 @@ -0,0 +1,1 @@
553 567 +c
554 568
555 569 --===
556 570
557 571
558 572 test inline for single patch (quoted-printable):
559 573 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 4 | \
560 574 > fixheaders
561 575 This patch series consists of 1 patches.
562 576
563 577
564 578 Displaying [PATCH] test ...
565 579 Content-Type: multipart/mixed; boundary="===
566 580 MIME-Version: 1.0
567 581 Subject: [PATCH] test
568 582 X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
569 583 Message-Id: <c655633f8c87700bb38c.60@
570 584 User-Agent: Mercurial-patchbomb
571 585 Date: Thu, 01 Jan 1970 00:01:00 +0000
572 586 From: quux
573 587 To: foo
574 588 Cc: bar
575 589
576 590 --===
577 591 Content-Type: text/x-patch; charset="us-ascii"
578 592 MIME-Version: 1.0
579 593 Content-Transfer-Encoding: quoted-printable
580 594 Content-Disposition: inline; filename=t2.patch
581 595
582 596 # HG changeset patch
583 597 # User test
584 598 # Date 4 0
585 599 # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
586 600 # Parent c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
587 601 charset=3Dutf-8; content-transfer-encoding: quoted-printable
588 602
589 603 diff -r c3c9e37db9f4 -r c655633f8c87 qp
590 604 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
591 605 +++ b/qp Thu Jan 01 00:00:04 1970 +0000
592 606 @@ -0,0 +1,4 @@
593 607 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
594 608 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
595 609 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
596 610 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
597 611 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
598 612 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
599 613 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
600 614 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
601 615 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
602 616 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
603 617 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
604 618 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
605 619 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
606 620 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
607 621 +foo
608 622 +
609 623 +bar
610 624
611 625 --===
612 626
613 627 test inline for multiple patches:
614 628 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \
615 629 > -r 0:1 -r 4 | fixheaders
616 630 This patch series consists of 3 patches.
617 631
618 632
619 633 Write the introductory message for the patch series.
620 634
621 635
622 636 Displaying [PATCH 0 of 3] test ...
623 637 Content-Type: text/plain; charset="us-ascii"
624 638 MIME-Version: 1.0
625 639 Content-Transfer-Encoding: 7bit
626 640 Subject: [PATCH 0 of 3] test
627 641 Message-Id: <patchbomb.60@
628 642 User-Agent: Mercurial-patchbomb
629 643 Date: Thu, 01 Jan 1970 00:01:00 +0000
630 644 From: quux
631 645 To: foo
632 646 Cc: bar
633 647
634 648
635 649 Displaying [PATCH 1 of 3] a ...
636 650 Content-Type: multipart/mixed; boundary="===
637 651 MIME-Version: 1.0
638 652 Subject: [PATCH 1 of 3] a
639 653 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
640 654 Message-Id: <8580ff50825a50c8f716.61@
641 655 In-Reply-To: <patchbomb.60@
642 656 References: <patchbomb.60@
643 657 User-Agent: Mercurial-patchbomb
644 658 Date: Thu, 01 Jan 1970 00:01:01 +0000
645 659 From: quux
646 660 To: foo
647 661 Cc: bar
648 662
649 663 --===
650 664 Content-Type: text/x-patch; charset="us-ascii"
651 665 MIME-Version: 1.0
652 666 Content-Transfer-Encoding: 7bit
653 667 Content-Disposition: inline; filename=t2-1.patch
654 668
655 669 # HG changeset patch
656 670 # User test
657 671 # Date 1 0
658 672 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
659 673 # Parent 0000000000000000000000000000000000000000
660 674 a
661 675
662 676 diff -r 000000000000 -r 8580ff50825a a
663 677 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
664 678 +++ b/a Thu Jan 01 00:00:01 1970 +0000
665 679 @@ -0,0 +1,1 @@
666 680 +a
667 681
668 682 --===
669 683 Displaying [PATCH 2 of 3] b ...
670 684 Content-Type: multipart/mixed; boundary="===
671 685 MIME-Version: 1.0
672 686 Subject: [PATCH 2 of 3] b
673 687 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
674 688 Message-Id: <97d72e5f12c7e84f8506.62@
675 689 In-Reply-To: <patchbomb.60@
676 690 References: <patchbomb.60@
677 691 User-Agent: Mercurial-patchbomb
678 692 Date: Thu, 01 Jan 1970 00:01:02 +0000
679 693 From: quux
680 694 To: foo
681 695 Cc: bar
682 696
683 697 --===
684 698 Content-Type: text/x-patch; charset="us-ascii"
685 699 MIME-Version: 1.0
686 700 Content-Transfer-Encoding: 7bit
687 701 Content-Disposition: inline; filename=t2-2.patch
688 702
689 703 # HG changeset patch
690 704 # User test
691 705 # Date 2 0
692 706 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
693 707 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
694 708 b
695 709
696 710 diff -r 8580ff50825a -r 97d72e5f12c7 b
697 711 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
698 712 +++ b/b Thu Jan 01 00:00:02 1970 +0000
699 713 @@ -0,0 +1,1 @@
700 714 +b
701 715
702 716 --===
703 717 Displaying [PATCH 3 of 3] charset=utf-8; content-transfer-encoding: quoted-printable ...
704 718 Content-Type: multipart/mixed; boundary="===
705 719 MIME-Version: 1.0
706 720 Subject: [PATCH 3 of 3] charset=utf-8;
707 721 content-transfer-encoding: quoted-printable
708 722 X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
709 723 Message-Id: <c655633f8c87700bb38c.63@
710 724 In-Reply-To: <patchbomb.60@
711 725 References: <patchbomb.60@
712 726 User-Agent: Mercurial-patchbomb
713 727 Date: Thu, 01 Jan 1970 00:01:03 +0000
714 728 From: quux
715 729 To: foo
716 730 Cc: bar
717 731
718 732 --===
719 733 Content-Type: text/x-patch; charset="us-ascii"
720 734 MIME-Version: 1.0
721 735 Content-Transfer-Encoding: quoted-printable
722 736 Content-Disposition: inline; filename=t2-3.patch
723 737
724 738 # HG changeset patch
725 739 # User test
726 740 # Date 4 0
727 741 # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
728 742 # Parent c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
729 743 charset=3Dutf-8; content-transfer-encoding: quoted-printable
730 744
731 745 diff -r c3c9e37db9f4 -r c655633f8c87 qp
732 746 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
733 747 +++ b/qp Thu Jan 01 00:00:04 1970 +0000
734 748 @@ -0,0 +1,4 @@
735 749 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
736 750 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
737 751 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
738 752 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
739 753 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
740 754 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
741 755 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
742 756 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
743 757 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
744 758 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
745 759 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
746 760 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
747 761 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
748 762 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
749 763 +foo
750 764 +
751 765 +bar
752 766
753 767 --===
754 768
755 769 test attach for single patch:
756 770 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 2 | \
757 771 > fixheaders
758 772 This patch series consists of 1 patches.
759 773
760 774
761 775 Displaying [PATCH] test ...
762 776 Content-Type: multipart/mixed; boundary="===
763 777 MIME-Version: 1.0
764 778 Subject: [PATCH] test
765 779 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
766 780 Message-Id: <ff2c9fa2018b15fa74b3.60@
767 781 User-Agent: Mercurial-patchbomb
768 782 Date: Thu, 01 Jan 1970 00:01:00 +0000
769 783 From: quux
770 784 To: foo
771 785 Cc: bar
772 786
773 787 --===
774 788 Content-Type: text/plain; charset="us-ascii"
775 789 MIME-Version: 1.0
776 790 Content-Transfer-Encoding: 7bit
777 791
778 792 Patch subject is complete summary.
779 793
780 794
781 795
782 796 --===
783 797 Content-Type: text/x-patch; charset="us-ascii"
784 798 MIME-Version: 1.0
785 799 Content-Transfer-Encoding: 7bit
786 800 Content-Disposition: attachment; filename=t2.patch
787 801
788 802 # HG changeset patch
789 803 # User test
790 804 # Date 3 0
791 805 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
792 806 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
793 807 c
794 808
795 809 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
796 810 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
797 811 +++ b/c Thu Jan 01 00:00:03 1970 +0000
798 812 @@ -0,0 +1,1 @@
799 813 +c
800 814
801 815 --===
802 816
803 817 test attach for single patch (quoted-printable):
804 818 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 4 | \
805 819 > fixheaders
806 820 This patch series consists of 1 patches.
807 821
808 822
809 823 Displaying [PATCH] test ...
810 824 Content-Type: multipart/mixed; boundary="===
811 825 MIME-Version: 1.0
812 826 Subject: [PATCH] test
813 827 X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
814 828 Message-Id: <c655633f8c87700bb38c.60@
815 829 User-Agent: Mercurial-patchbomb
816 830 Date: Thu, 01 Jan 1970 00:01:00 +0000
817 831 From: quux
818 832 To: foo
819 833 Cc: bar
820 834
821 835 --===
822 836 Content-Type: text/plain; charset="us-ascii"
823 837 MIME-Version: 1.0
824 838 Content-Transfer-Encoding: 7bit
825 839
826 840 Patch subject is complete summary.
827 841
828 842
829 843
830 844 --===
831 845 Content-Type: text/x-patch; charset="us-ascii"
832 846 MIME-Version: 1.0
833 847 Content-Transfer-Encoding: quoted-printable
834 848 Content-Disposition: attachment; filename=t2.patch
835 849
836 850 # HG changeset patch
837 851 # User test
838 852 # Date 4 0
839 853 # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
840 854 # Parent c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
841 855 charset=3Dutf-8; content-transfer-encoding: quoted-printable
842 856
843 857 diff -r c3c9e37db9f4 -r c655633f8c87 qp
844 858 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
845 859 +++ b/qp Thu Jan 01 00:00:04 1970 +0000
846 860 @@ -0,0 +1,4 @@
847 861 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
848 862 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
849 863 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
850 864 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
851 865 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
852 866 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
853 867 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
854 868 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
855 869 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
856 870 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
857 871 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
858 872 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
859 873 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
860 874 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
861 875 +foo
862 876 +
863 877 +bar
864 878
865 879 --===
866 880
867 881 test attach for multiple patches:
868 882 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a \
869 883 > -r 0:1 -r 4 | fixheaders
870 884 This patch series consists of 3 patches.
871 885
872 886
873 887 Write the introductory message for the patch series.
874 888
875 889
876 890 Displaying [PATCH 0 of 3] test ...
877 891 Content-Type: text/plain; charset="us-ascii"
878 892 MIME-Version: 1.0
879 893 Content-Transfer-Encoding: 7bit
880 894 Subject: [PATCH 0 of 3] test
881 895 Message-Id: <patchbomb.60@
882 896 User-Agent: Mercurial-patchbomb
883 897 Date: Thu, 01 Jan 1970 00:01:00 +0000
884 898 From: quux
885 899 To: foo
886 900 Cc: bar
887 901
888 902
889 903 Displaying [PATCH 1 of 3] a ...
890 904 Content-Type: multipart/mixed; boundary="===
891 905 MIME-Version: 1.0
892 906 Subject: [PATCH 1 of 3] a
893 907 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
894 908 Message-Id: <8580ff50825a50c8f716.61@
895 909 In-Reply-To: <patchbomb.60@
896 910 References: <patchbomb.60@
897 911 User-Agent: Mercurial-patchbomb
898 912 Date: Thu, 01 Jan 1970 00:01:01 +0000
899 913 From: quux
900 914 To: foo
901 915 Cc: bar
902 916
903 917 --===
904 918 Content-Type: text/plain; charset="us-ascii"
905 919 MIME-Version: 1.0
906 920 Content-Transfer-Encoding: 7bit
907 921
908 922 Patch subject is complete summary.
909 923
910 924
911 925
912 926 --===
913 927 Content-Type: text/x-patch; charset="us-ascii"
914 928 MIME-Version: 1.0
915 929 Content-Transfer-Encoding: 7bit
916 930 Content-Disposition: attachment; filename=t2-1.patch
917 931
918 932 # HG changeset patch
919 933 # User test
920 934 # Date 1 0
921 935 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
922 936 # Parent 0000000000000000000000000000000000000000
923 937 a
924 938
925 939 diff -r 000000000000 -r 8580ff50825a a
926 940 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
927 941 +++ b/a Thu Jan 01 00:00:01 1970 +0000
928 942 @@ -0,0 +1,1 @@
929 943 +a
930 944
931 945 --===
932 946 Displaying [PATCH 2 of 3] b ...
933 947 Content-Type: multipart/mixed; boundary="===
934 948 MIME-Version: 1.0
935 949 Subject: [PATCH 2 of 3] b
936 950 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
937 951 Message-Id: <97d72e5f12c7e84f8506.62@
938 952 In-Reply-To: <patchbomb.60@
939 953 References: <patchbomb.60@
940 954 User-Agent: Mercurial-patchbomb
941 955 Date: Thu, 01 Jan 1970 00:01:02 +0000
942 956 From: quux
943 957 To: foo
944 958 Cc: bar
945 959
946 960 --===
947 961 Content-Type: text/plain; charset="us-ascii"
948 962 MIME-Version: 1.0
949 963 Content-Transfer-Encoding: 7bit
950 964
951 965 Patch subject is complete summary.
952 966
953 967
954 968
955 969 --===
956 970 Content-Type: text/x-patch; charset="us-ascii"
957 971 MIME-Version: 1.0
958 972 Content-Transfer-Encoding: 7bit
959 973 Content-Disposition: attachment; filename=t2-2.patch
960 974
961 975 # HG changeset patch
962 976 # User test
963 977 # Date 2 0
964 978 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
965 979 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
966 980 b
967 981
968 982 diff -r 8580ff50825a -r 97d72e5f12c7 b
969 983 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
970 984 +++ b/b Thu Jan 01 00:00:02 1970 +0000
971 985 @@ -0,0 +1,1 @@
972 986 +b
973 987
974 988 --===
975 989 Displaying [PATCH 3 of 3] charset=utf-8; content-transfer-encoding: quoted-printable ...
976 990 Content-Type: multipart/mixed; boundary="===
977 991 MIME-Version: 1.0
978 992 Subject: [PATCH 3 of 3] charset=utf-8;
979 993 content-transfer-encoding: quoted-printable
980 994 X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
981 995 Message-Id: <c655633f8c87700bb38c.63@
982 996 In-Reply-To: <patchbomb.60@
983 997 References: <patchbomb.60@
984 998 User-Agent: Mercurial-patchbomb
985 999 Date: Thu, 01 Jan 1970 00:01:03 +0000
986 1000 From: quux
987 1001 To: foo
988 1002 Cc: bar
989 1003
990 1004 --===
991 1005 Content-Type: text/plain; charset="us-ascii"
992 1006 MIME-Version: 1.0
993 1007 Content-Transfer-Encoding: 7bit
994 1008
995 1009 Patch subject is complete summary.
996 1010
997 1011
998 1012
999 1013 --===
1000 1014 Content-Type: text/x-patch; charset="us-ascii"
1001 1015 MIME-Version: 1.0
1002 1016 Content-Transfer-Encoding: quoted-printable
1003 1017 Content-Disposition: attachment; filename=t2-3.patch
1004 1018
1005 1019 # HG changeset patch
1006 1020 # User test
1007 1021 # Date 4 0
1008 1022 # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
1009 1023 # Parent c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
1010 1024 charset=3Dutf-8; content-transfer-encoding: quoted-printable
1011 1025
1012 1026 diff -r c3c9e37db9f4 -r c655633f8c87 qp
1013 1027 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1014 1028 +++ b/qp Thu Jan 01 00:00:04 1970 +0000
1015 1029 @@ -0,0 +1,4 @@
1016 1030 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1017 1031 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1018 1032 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1019 1033 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1020 1034 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1021 1035 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1022 1036 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1023 1037 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1024 1038 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1025 1039 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1026 1040 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1027 1041 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1028 1042 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1029 1043 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
1030 1044 +foo
1031 1045 +
1032 1046 +bar
1033 1047
1034 1048 --===
1035 1049
1036 1050 test intro for single patch:
1037 1051 $ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \
1038 1052 > -r 2 | fixheaders
1039 1053 This patch series consists of 1 patches.
1040 1054
1041 1055
1042 1056 Write the introductory message for the patch series.
1043 1057
1044 1058
1045 1059 Displaying [PATCH 0 of 1] test ...
1046 1060 Content-Type: text/plain; charset="us-ascii"
1047 1061 MIME-Version: 1.0
1048 1062 Content-Transfer-Encoding: 7bit
1049 1063 Subject: [PATCH 0 of 1] test
1050 1064 Message-Id: <patchbomb.60@
1051 1065 User-Agent: Mercurial-patchbomb
1052 1066 Date: Thu, 01 Jan 1970 00:01:00 +0000
1053 1067 From: quux
1054 1068 To: foo
1055 1069 Cc: bar
1056 1070
1057 1071
1058 1072 Displaying [PATCH 1 of 1] c ...
1059 1073 Content-Type: text/plain; charset="us-ascii"
1060 1074 MIME-Version: 1.0
1061 1075 Content-Transfer-Encoding: 7bit
1062 1076 Subject: [PATCH 1 of 1] c
1063 1077 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1064 1078 Message-Id: <ff2c9fa2018b15fa74b3.61@
1065 1079 In-Reply-To: <patchbomb.60@
1066 1080 References: <patchbomb.60@
1067 1081 User-Agent: Mercurial-patchbomb
1068 1082 Date: Thu, 01 Jan 1970 00:01:01 +0000
1069 1083 From: quux
1070 1084 To: foo
1071 1085 Cc: bar
1072 1086
1073 1087 # HG changeset patch
1074 1088 # User test
1075 1089 # Date 3 0
1076 1090 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1077 1091 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1078 1092 c
1079 1093
1080 1094 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1081 1095 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1082 1096 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1083 1097 @@ -0,0 +1,1 @@
1084 1098 +c
1085 1099
1086 1100
1087 1101 test --desc without --intro for a single patch:
1088 1102 $ echo foo > intro.text
1089 1103 $ hg email --date '1970-1-1 0:1' -n --desc intro.text -f quux -t foo -c bar \
1090 1104 > -s test -r 2 | fixheaders
1091 1105 This patch series consists of 1 patches.
1092 1106
1093 1107
1094 1108 Displaying [PATCH 0 of 1] test ...
1095 1109 Content-Type: text/plain; charset="us-ascii"
1096 1110 MIME-Version: 1.0
1097 1111 Content-Transfer-Encoding: 7bit
1098 1112 Subject: [PATCH 0 of 1] test
1099 1113 Message-Id: <patchbomb.60@
1100 1114 User-Agent: Mercurial-patchbomb
1101 1115 Date: Thu, 01 Jan 1970 00:01:00 +0000
1102 1116 From: quux
1103 1117 To: foo
1104 1118 Cc: bar
1105 1119
1106 1120 foo
1107 1121
1108 1122 Displaying [PATCH 1 of 1] c ...
1109 1123 Content-Type: text/plain; charset="us-ascii"
1110 1124 MIME-Version: 1.0
1111 1125 Content-Transfer-Encoding: 7bit
1112 1126 Subject: [PATCH 1 of 1] c
1113 1127 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1114 1128 Message-Id: <ff2c9fa2018b15fa74b3.61@
1115 1129 In-Reply-To: <patchbomb.60@
1116 1130 References: <patchbomb.60@
1117 1131 User-Agent: Mercurial-patchbomb
1118 1132 Date: Thu, 01 Jan 1970 00:01:01 +0000
1119 1133 From: quux
1120 1134 To: foo
1121 1135 Cc: bar
1122 1136
1123 1137 # HG changeset patch
1124 1138 # User test
1125 1139 # Date 3 0
1126 1140 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1127 1141 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1128 1142 c
1129 1143
1130 1144 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1131 1145 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1132 1146 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1133 1147 @@ -0,0 +1,1 @@
1134 1148 +c
1135 1149
1136 1150
1137 1151 test intro for multiple patches:
1138 1152 $ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \
1139 1153 > -r 0:1 | fixheaders
1140 1154 This patch series consists of 2 patches.
1141 1155
1142 1156
1143 1157 Write the introductory message for the patch series.
1144 1158
1145 1159
1146 1160 Displaying [PATCH 0 of 2] test ...
1147 1161 Content-Type: text/plain; charset="us-ascii"
1148 1162 MIME-Version: 1.0
1149 1163 Content-Transfer-Encoding: 7bit
1150 1164 Subject: [PATCH 0 of 2] test
1151 1165 Message-Id: <patchbomb.60@
1152 1166 User-Agent: Mercurial-patchbomb
1153 1167 Date: Thu, 01 Jan 1970 00:01:00 +0000
1154 1168 From: quux
1155 1169 To: foo
1156 1170 Cc: bar
1157 1171
1158 1172
1159 1173 Displaying [PATCH 1 of 2] a ...
1160 1174 Content-Type: text/plain; charset="us-ascii"
1161 1175 MIME-Version: 1.0
1162 1176 Content-Transfer-Encoding: 7bit
1163 1177 Subject: [PATCH 1 of 2] a
1164 1178 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1165 1179 Message-Id: <8580ff50825a50c8f716.61@
1166 1180 In-Reply-To: <patchbomb.60@
1167 1181 References: <patchbomb.60@
1168 1182 User-Agent: Mercurial-patchbomb
1169 1183 Date: Thu, 01 Jan 1970 00:01:01 +0000
1170 1184 From: quux
1171 1185 To: foo
1172 1186 Cc: bar
1173 1187
1174 1188 # HG changeset patch
1175 1189 # User test
1176 1190 # Date 1 0
1177 1191 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1178 1192 # Parent 0000000000000000000000000000000000000000
1179 1193 a
1180 1194
1181 1195 diff -r 000000000000 -r 8580ff50825a a
1182 1196 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1183 1197 +++ b/a Thu Jan 01 00:00:01 1970 +0000
1184 1198 @@ -0,0 +1,1 @@
1185 1199 +a
1186 1200
1187 1201 Displaying [PATCH 2 of 2] b ...
1188 1202 Content-Type: text/plain; charset="us-ascii"
1189 1203 MIME-Version: 1.0
1190 1204 Content-Transfer-Encoding: 7bit
1191 1205 Subject: [PATCH 2 of 2] b
1192 1206 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1193 1207 Message-Id: <97d72e5f12c7e84f8506.62@
1194 1208 In-Reply-To: <patchbomb.60@
1195 1209 References: <patchbomb.60@
1196 1210 User-Agent: Mercurial-patchbomb
1197 1211 Date: Thu, 01 Jan 1970 00:01:02 +0000
1198 1212 From: quux
1199 1213 To: foo
1200 1214 Cc: bar
1201 1215
1202 1216 # HG changeset patch
1203 1217 # User test
1204 1218 # Date 2 0
1205 1219 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1206 1220 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1207 1221 b
1208 1222
1209 1223 diff -r 8580ff50825a -r 97d72e5f12c7 b
1210 1224 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1211 1225 +++ b/b Thu Jan 01 00:00:02 1970 +0000
1212 1226 @@ -0,0 +1,1 @@
1213 1227 +b
1214 1228
1215 1229
1216 1230 test reply-to via config:
1217 1231 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \
1218 1232 > --config patchbomb.reply-to='baz@example.com' | fixheaders
1219 1233 This patch series consists of 1 patches.
1220 1234
1221 1235
1222 1236 Displaying [PATCH] test ...
1223 1237 Content-Type: text/plain; charset="us-ascii"
1224 1238 MIME-Version: 1.0
1225 1239 Content-Transfer-Encoding: 7bit
1226 1240 Subject: [PATCH] test
1227 1241 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1228 1242 Message-Id: <ff2c9fa2018b15fa74b3.60@
1229 1243 User-Agent: Mercurial-patchbomb
1230 1244 Date: Thu, 01 Jan 1970 00:01:00 +0000
1231 1245 From: quux
1232 1246 To: foo
1233 1247 Cc: bar
1234 1248 Reply-To: baz@example.com
1235 1249
1236 1250 # HG changeset patch
1237 1251 # User test
1238 1252 # Date 3 0
1239 1253 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1240 1254 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1241 1255 c
1242 1256
1243 1257 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1244 1258 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1245 1259 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1246 1260 @@ -0,0 +1,1 @@
1247 1261 +c
1248 1262
1249 1263
1250 1264 test reply-to via command line:
1251 1265 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \
1252 1266 > --reply-to baz --reply-to fred | fixheaders
1253 1267 This patch series consists of 1 patches.
1254 1268
1255 1269
1256 1270 Displaying [PATCH] test ...
1257 1271 Content-Type: text/plain; charset="us-ascii"
1258 1272 MIME-Version: 1.0
1259 1273 Content-Transfer-Encoding: 7bit
1260 1274 Subject: [PATCH] test
1261 1275 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1262 1276 Message-Id: <ff2c9fa2018b15fa74b3.60@
1263 1277 User-Agent: Mercurial-patchbomb
1264 1278 Date: Thu, 01 Jan 1970 00:01:00 +0000
1265 1279 From: quux
1266 1280 To: foo
1267 1281 Cc: bar
1268 1282 Reply-To: baz, fred
1269 1283
1270 1284 # HG changeset patch
1271 1285 # User test
1272 1286 # Date 3 0
1273 1287 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1274 1288 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1275 1289 c
1276 1290
1277 1291 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1278 1292 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1279 1293 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1280 1294 @@ -0,0 +1,1 @@
1281 1295 +c
1282 1296
1283 1297
1284 1298 tagging csets:
1285 1299 $ hg tag -r0 zero zero.foo
1286 1300 $ hg tag -r1 one one.patch
1287 1301 $ hg tag -r2 two two.diff
1288 1302
1289 1303 test inline for single named patch:
1290 1304 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2 | \
1291 1305 > fixheaders
1292 1306 This patch series consists of 1 patches.
1293 1307
1294 1308
1295 1309 Displaying [PATCH] test ...
1296 1310 Content-Type: multipart/mixed; boundary="===
1297 1311 MIME-Version: 1.0
1298 1312 Subject: [PATCH] test
1299 1313 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1300 1314 Message-Id: <ff2c9fa2018b15fa74b3.60@
1301 1315 User-Agent: Mercurial-patchbomb
1302 1316 Date: Thu, 01 Jan 1970 00:01:00 +0000
1303 1317 From: quux
1304 1318 To: foo
1305 1319 Cc: bar
1306 1320
1307 1321 --===
1308 1322 Content-Type: text/x-patch; charset="us-ascii"
1309 1323 MIME-Version: 1.0
1310 1324 Content-Transfer-Encoding: 7bit
1311 1325 Content-Disposition: inline; filename=two.diff
1312 1326
1313 1327 # HG changeset patch
1314 1328 # User test
1315 1329 # Date 3 0
1316 1330 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1317 1331 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1318 1332 c
1319 1333
1320 1334 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1321 1335 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1322 1336 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1323 1337 @@ -0,0 +1,1 @@
1324 1338 +c
1325 1339
1326 1340 --===
1327 1341
1328 1342 test inline for multiple named/unnamed patches:
1329 1343 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 0:1 | \
1330 1344 > fixheaders
1331 1345 This patch series consists of 2 patches.
1332 1346
1333 1347
1334 1348 Write the introductory message for the patch series.
1335 1349
1336 1350
1337 1351 Displaying [PATCH 0 of 2] test ...
1338 1352 Content-Type: text/plain; charset="us-ascii"
1339 1353 MIME-Version: 1.0
1340 1354 Content-Transfer-Encoding: 7bit
1341 1355 Subject: [PATCH 0 of 2] test
1342 1356 Message-Id: <patchbomb.60@
1343 1357 User-Agent: Mercurial-patchbomb
1344 1358 Date: Thu, 01 Jan 1970 00:01:00 +0000
1345 1359 From: quux
1346 1360 To: foo
1347 1361 Cc: bar
1348 1362
1349 1363
1350 1364 Displaying [PATCH 1 of 2] a ...
1351 1365 Content-Type: multipart/mixed; boundary="===
1352 1366 MIME-Version: 1.0
1353 1367 Subject: [PATCH 1 of 2] a
1354 1368 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1355 1369 Message-Id: <8580ff50825a50c8f716.61@
1356 1370 In-Reply-To: <patchbomb.60@
1357 1371 References: <patchbomb.60@
1358 1372 User-Agent: Mercurial-patchbomb
1359 1373 Date: Thu, 01 Jan 1970 00:01:01 +0000
1360 1374 From: quux
1361 1375 To: foo
1362 1376 Cc: bar
1363 1377
1364 1378 --===
1365 1379 Content-Type: text/x-patch; charset="us-ascii"
1366 1380 MIME-Version: 1.0
1367 1381 Content-Transfer-Encoding: 7bit
1368 1382 Content-Disposition: inline; filename=t2-1.patch
1369 1383
1370 1384 # HG changeset patch
1371 1385 # User test
1372 1386 # Date 1 0
1373 1387 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1374 1388 # Parent 0000000000000000000000000000000000000000
1375 1389 a
1376 1390
1377 1391 diff -r 000000000000 -r 8580ff50825a a
1378 1392 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1379 1393 +++ b/a Thu Jan 01 00:00:01 1970 +0000
1380 1394 @@ -0,0 +1,1 @@
1381 1395 +a
1382 1396
1383 1397 --===
1384 1398 Displaying [PATCH 2 of 2] b ...
1385 1399 Content-Type: multipart/mixed; boundary="===
1386 1400 MIME-Version: 1.0
1387 1401 Subject: [PATCH 2 of 2] b
1388 1402 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1389 1403 Message-Id: <97d72e5f12c7e84f8506.62@
1390 1404 In-Reply-To: <patchbomb.60@
1391 1405 References: <patchbomb.60@
1392 1406 User-Agent: Mercurial-patchbomb
1393 1407 Date: Thu, 01 Jan 1970 00:01:02 +0000
1394 1408 From: quux
1395 1409 To: foo
1396 1410 Cc: bar
1397 1411
1398 1412 --===
1399 1413 Content-Type: text/x-patch; charset="us-ascii"
1400 1414 MIME-Version: 1.0
1401 1415 Content-Transfer-Encoding: 7bit
1402 1416 Content-Disposition: inline; filename=one.patch
1403 1417
1404 1418 # HG changeset patch
1405 1419 # User test
1406 1420 # Date 2 0
1407 1421 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1408 1422 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1409 1423 b
1410 1424
1411 1425 diff -r 8580ff50825a -r 97d72e5f12c7 b
1412 1426 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1413 1427 +++ b/b Thu Jan 01 00:00:02 1970 +0000
1414 1428 @@ -0,0 +1,1 @@
1415 1429 +b
1416 1430
1417 1431 --===
1418 1432
1419 1433
1420 1434 test inreplyto:
1421 1435 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
1422 1436 > -r tip | fixheaders
1423 1437 This patch series consists of 1 patches.
1424 1438
1425 1439
1426 1440 Displaying [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b ...
1427 1441 Content-Type: text/plain; charset="us-ascii"
1428 1442 MIME-Version: 1.0
1429 1443 Content-Transfer-Encoding: 7bit
1430 1444 Subject: [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b
1431 1445 X-Mercurial-Node: e317db6a6f288748d1f6cb064f3810fcba66b1b6
1432 1446 Message-Id: <e317db6a6f288748d1f6.60@
1433 1447 In-Reply-To: <baz>
1434 1448 References: <baz>
1435 1449 User-Agent: Mercurial-patchbomb
1436 1450 Date: Thu, 01 Jan 1970 00:01:00 +0000
1437 1451 From: quux
1438 1452 To: foo
1439 1453 Cc: bar
1440 1454
1441 1455 # HG changeset patch
1442 1456 # User test
1443 1457 # Date 0 0
1444 1458 # Node ID e317db6a6f288748d1f6cb064f3810fcba66b1b6
1445 1459 # Parent eae5fcf795eee29d0e45ffc9f519a91cd79fc9ff
1446 1460 Added tag two, two.diff for changeset ff2c9fa2018b
1447 1461
1448 1462 diff -r eae5fcf795ee -r e317db6a6f28 .hgtags
1449 1463 --- a/.hgtags Thu Jan 01 00:00:00 1970 +0000
1450 1464 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
1451 1465 @@ -2,3 +2,5 @@
1452 1466 8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
1453 1467 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one
1454 1468 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch
1455 1469 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two
1456 1470 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two.diff
1457 1471
1458 1472
1459 1473 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
1460 1474 > -r 0:1
1461 1475 This patch series consists of 2 patches.
1462 1476
1463 1477 abort: Subject: [PATCH 0 of 2] Please enter a valid value
1464 1478 [255]
1465 1479
1466 1480 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
1467 1481 > -s test -r 0:1 | fixheaders
1468 1482 This patch series consists of 2 patches.
1469 1483
1470 1484
1471 1485 Write the introductory message for the patch series.
1472 1486
1473 1487
1474 1488 Displaying [PATCH 0 of 2] test ...
1475 1489 Content-Type: text/plain; charset="us-ascii"
1476 1490 MIME-Version: 1.0
1477 1491 Content-Transfer-Encoding: 7bit
1478 1492 Subject: [PATCH 0 of 2] test
1479 1493 Message-Id: <patchbomb.60@
1480 1494 In-Reply-To: <baz>
1481 1495 References: <baz>
1482 1496 User-Agent: Mercurial-patchbomb
1483 1497 Date: Thu, 01 Jan 1970 00:01:00 +0000
1484 1498 From: quux
1485 1499 To: foo
1486 1500 Cc: bar
1487 1501
1488 1502
1489 1503 Displaying [PATCH 1 of 2] a ...
1490 1504 Content-Type: text/plain; charset="us-ascii"
1491 1505 MIME-Version: 1.0
1492 1506 Content-Transfer-Encoding: 7bit
1493 1507 Subject: [PATCH 1 of 2] a
1494 1508 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1495 1509 Message-Id: <8580ff50825a50c8f716.61@
1496 1510 In-Reply-To: <patchbomb.60@
1497 1511 References: <patchbomb.60@
1498 1512 User-Agent: Mercurial-patchbomb
1499 1513 Date: Thu, 01 Jan 1970 00:01:01 +0000
1500 1514 From: quux
1501 1515 To: foo
1502 1516 Cc: bar
1503 1517
1504 1518 # HG changeset patch
1505 1519 # User test
1506 1520 # Date 1 0
1507 1521 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1508 1522 # Parent 0000000000000000000000000000000000000000
1509 1523 a
1510 1524
1511 1525 diff -r 000000000000 -r 8580ff50825a a
1512 1526 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1513 1527 +++ b/a Thu Jan 01 00:00:01 1970 +0000
1514 1528 @@ -0,0 +1,1 @@
1515 1529 +a
1516 1530
1517 1531 Displaying [PATCH 2 of 2] b ...
1518 1532 Content-Type: text/plain; charset="us-ascii"
1519 1533 MIME-Version: 1.0
1520 1534 Content-Transfer-Encoding: 7bit
1521 1535 Subject: [PATCH 2 of 2] b
1522 1536 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1523 1537 Message-Id: <97d72e5f12c7e84f8506.62@
1524 1538 In-Reply-To: <patchbomb.60@
1525 1539 References: <patchbomb.60@
1526 1540 User-Agent: Mercurial-patchbomb
1527 1541 Date: Thu, 01 Jan 1970 00:01:02 +0000
1528 1542 From: quux
1529 1543 To: foo
1530 1544 Cc: bar
1531 1545
1532 1546 # HG changeset patch
1533 1547 # User test
1534 1548 # Date 2 0
1535 1549 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1536 1550 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1537 1551 b
1538 1552
1539 1553 diff -r 8580ff50825a -r 97d72e5f12c7 b
1540 1554 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1541 1555 +++ b/b Thu Jan 01 00:00:02 1970 +0000
1542 1556 @@ -0,0 +1,1 @@
1543 1557 +b
1544 1558
1545 1559
1546 1560 test single flag for single patch:
1547 1561 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
1548 1562 > -r 2 | fixheaders
1549 1563 This patch series consists of 1 patches.
1550 1564
1551 1565
1552 1566 Displaying [PATCH fooFlag] test ...
1553 1567 Content-Type: text/plain; charset="us-ascii"
1554 1568 MIME-Version: 1.0
1555 1569 Content-Transfer-Encoding: 7bit
1556 1570 Subject: [PATCH fooFlag] test
1557 1571 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1558 1572 Message-Id: <ff2c9fa2018b15fa74b3.60@
1559 1573 User-Agent: Mercurial-patchbomb
1560 1574 Date: Thu, 01 Jan 1970 00:01:00 +0000
1561 1575 From: quux
1562 1576 To: foo
1563 1577 Cc: bar
1564 1578
1565 1579 # HG changeset patch
1566 1580 # User test
1567 1581 # Date 3 0
1568 1582 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1569 1583 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1570 1584 c
1571 1585
1572 1586 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1573 1587 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1574 1588 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1575 1589 @@ -0,0 +1,1 @@
1576 1590 +c
1577 1591
1578 1592
1579 1593 test single flag for multiple patches:
1580 1594 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
1581 1595 > -r 0:1 | fixheaders
1582 1596 This patch series consists of 2 patches.
1583 1597
1584 1598
1585 1599 Write the introductory message for the patch series.
1586 1600
1587 1601
1588 1602 Displaying [PATCH 0 of 2 fooFlag] test ...
1589 1603 Content-Type: text/plain; charset="us-ascii"
1590 1604 MIME-Version: 1.0
1591 1605 Content-Transfer-Encoding: 7bit
1592 1606 Subject: [PATCH 0 of 2 fooFlag] test
1593 1607 Message-Id: <patchbomb.60@
1594 1608 User-Agent: Mercurial-patchbomb
1595 1609 Date: Thu, 01 Jan 1970 00:01:00 +0000
1596 1610 From: quux
1597 1611 To: foo
1598 1612 Cc: bar
1599 1613
1600 1614
1601 1615 Displaying [PATCH 1 of 2 fooFlag] a ...
1602 1616 Content-Type: text/plain; charset="us-ascii"
1603 1617 MIME-Version: 1.0
1604 1618 Content-Transfer-Encoding: 7bit
1605 1619 Subject: [PATCH 1 of 2 fooFlag] a
1606 1620 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1607 1621 Message-Id: <8580ff50825a50c8f716.61@
1608 1622 In-Reply-To: <patchbomb.60@
1609 1623 References: <patchbomb.60@
1610 1624 User-Agent: Mercurial-patchbomb
1611 1625 Date: Thu, 01 Jan 1970 00:01:01 +0000
1612 1626 From: quux
1613 1627 To: foo
1614 1628 Cc: bar
1615 1629
1616 1630 # HG changeset patch
1617 1631 # User test
1618 1632 # Date 1 0
1619 1633 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1620 1634 # Parent 0000000000000000000000000000000000000000
1621 1635 a
1622 1636
1623 1637 diff -r 000000000000 -r 8580ff50825a a
1624 1638 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1625 1639 +++ b/a Thu Jan 01 00:00:01 1970 +0000
1626 1640 @@ -0,0 +1,1 @@
1627 1641 +a
1628 1642
1629 1643 Displaying [PATCH 2 of 2 fooFlag] b ...
1630 1644 Content-Type: text/plain; charset="us-ascii"
1631 1645 MIME-Version: 1.0
1632 1646 Content-Transfer-Encoding: 7bit
1633 1647 Subject: [PATCH 2 of 2 fooFlag] b
1634 1648 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1635 1649 Message-Id: <97d72e5f12c7e84f8506.62@
1636 1650 In-Reply-To: <patchbomb.60@
1637 1651 References: <patchbomb.60@
1638 1652 User-Agent: Mercurial-patchbomb
1639 1653 Date: Thu, 01 Jan 1970 00:01:02 +0000
1640 1654 From: quux
1641 1655 To: foo
1642 1656 Cc: bar
1643 1657
1644 1658 # HG changeset patch
1645 1659 # User test
1646 1660 # Date 2 0
1647 1661 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1648 1662 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1649 1663 b
1650 1664
1651 1665 diff -r 8580ff50825a -r 97d72e5f12c7 b
1652 1666 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1653 1667 +++ b/b Thu Jan 01 00:00:02 1970 +0000
1654 1668 @@ -0,0 +1,1 @@
1655 1669 +b
1656 1670
1657 1671
1658 1672 test mutiple flags for single patch:
1659 1673 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
1660 1674 > -c bar -s test -r 2 | fixheaders
1661 1675 This patch series consists of 1 patches.
1662 1676
1663 1677
1664 1678 Displaying [PATCH fooFlag barFlag] test ...
1665 1679 Content-Type: text/plain; charset="us-ascii"
1666 1680 MIME-Version: 1.0
1667 1681 Content-Transfer-Encoding: 7bit
1668 1682 Subject: [PATCH fooFlag barFlag] test
1669 1683 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1670 1684 Message-Id: <ff2c9fa2018b15fa74b3.60@
1671 1685 User-Agent: Mercurial-patchbomb
1672 1686 Date: Thu, 01 Jan 1970 00:01:00 +0000
1673 1687 From: quux
1674 1688 To: foo
1675 1689 Cc: bar
1676 1690
1677 1691 # HG changeset patch
1678 1692 # User test
1679 1693 # Date 3 0
1680 1694 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1681 1695 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1682 1696 c
1683 1697
1684 1698 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1685 1699 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1686 1700 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1687 1701 @@ -0,0 +1,1 @@
1688 1702 +c
1689 1703
1690 1704
1691 1705 test multiple flags for multiple patches:
1692 1706 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
1693 1707 > -c bar -s test -r 0:1 | fixheaders
1694 1708 This patch series consists of 2 patches.
1695 1709
1696 1710
1697 1711 Write the introductory message for the patch series.
1698 1712
1699 1713
1700 1714 Displaying [PATCH 0 of 2 fooFlag barFlag] test ...
1701 1715 Content-Type: text/plain; charset="us-ascii"
1702 1716 MIME-Version: 1.0
1703 1717 Content-Transfer-Encoding: 7bit
1704 1718 Subject: [PATCH 0 of 2 fooFlag barFlag] test
1705 1719 Message-Id: <patchbomb.60@
1706 1720 User-Agent: Mercurial-patchbomb
1707 1721 Date: Thu, 01 Jan 1970 00:01:00 +0000
1708 1722 From: quux
1709 1723 To: foo
1710 1724 Cc: bar
1711 1725
1712 1726
1713 1727 Displaying [PATCH 1 of 2 fooFlag barFlag] a ...
1714 1728 Content-Type: text/plain; charset="us-ascii"
1715 1729 MIME-Version: 1.0
1716 1730 Content-Transfer-Encoding: 7bit
1717 1731 Subject: [PATCH 1 of 2 fooFlag barFlag] a
1718 1732 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1719 1733 Message-Id: <8580ff50825a50c8f716.61@
1720 1734 In-Reply-To: <patchbomb.60@
1721 1735 References: <patchbomb.60@
1722 1736 User-Agent: Mercurial-patchbomb
1723 1737 Date: Thu, 01 Jan 1970 00:01:01 +0000
1724 1738 From: quux
1725 1739 To: foo
1726 1740 Cc: bar
1727 1741
1728 1742 # HG changeset patch
1729 1743 # User test
1730 1744 # Date 1 0
1731 1745 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1732 1746 # Parent 0000000000000000000000000000000000000000
1733 1747 a
1734 1748
1735 1749 diff -r 000000000000 -r 8580ff50825a a
1736 1750 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1737 1751 +++ b/a Thu Jan 01 00:00:01 1970 +0000
1738 1752 @@ -0,0 +1,1 @@
1739 1753 +a
1740 1754
1741 1755 Displaying [PATCH 2 of 2 fooFlag barFlag] b ...
1742 1756 Content-Type: text/plain; charset="us-ascii"
1743 1757 MIME-Version: 1.0
1744 1758 Content-Transfer-Encoding: 7bit
1745 1759 Subject: [PATCH 2 of 2 fooFlag barFlag] b
1746 1760 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1747 1761 Message-Id: <97d72e5f12c7e84f8506.62@
1748 1762 In-Reply-To: <patchbomb.60@
1749 1763 References: <patchbomb.60@
1750 1764 User-Agent: Mercurial-patchbomb
1751 1765 Date: Thu, 01 Jan 1970 00:01:02 +0000
1752 1766 From: quux
1753 1767 To: foo
1754 1768 Cc: bar
1755 1769
1756 1770 # HG changeset patch
1757 1771 # User test
1758 1772 # Date 2 0
1759 1773 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1760 1774 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1761 1775 b
1762 1776
1763 1777 diff -r 8580ff50825a -r 97d72e5f12c7 b
1764 1778 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1765 1779 +++ b/b Thu Jan 01 00:00:02 1970 +0000
1766 1780 @@ -0,0 +1,1 @@
1767 1781 +b
1768 1782
1769 1783
1770 1784 test multi-address parsing:
1771 1785 $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t 'spam<spam><eggs>' \
1772 1786 > -t toast -c 'foo,bar@example.com' -c '"A, B <>" <a@example.com>' -s test -r 0 \
1773 1787 > --config email.bcc='"Quux, A." <quux>'
1774 1788 This patch series consists of 1 patches.
1775 1789
1776 1790
1777 1791 Writing [PATCH] test ...
1778 1792 $ fixheaders < tmp.mbox
1779 1793 From quux Tue Jan 01 00:01:01 1980
1780 1794 Content-Type: text/plain; charset="us-ascii"
1781 1795 MIME-Version: 1.0
1782 1796 Content-Transfer-Encoding: 7bit
1783 1797 Subject: [PATCH] test
1784 1798 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1785 1799 Message-Id: <8580ff50825a50c8f716.315532860@
1786 1800 User-Agent: Mercurial-patchbomb
1787 1801 Date: Tue, 01 Jan 1980 00:01:00 +0000
1788 1802 From: quux
1789 1803 To: spam <spam>, eggs, toast
1790 1804 Cc: foo, bar@example.com, "A, B <>" <a@example.com>
1791 1805 Bcc: "Quux, A." <quux>
1792 1806
1793 1807 # HG changeset patch
1794 1808 # User test
1795 1809 # Date 1 0
1796 1810 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1797 1811 # Parent 0000000000000000000000000000000000000000
1798 1812 a
1799 1813
1800 1814 diff -r 000000000000 -r 8580ff50825a a
1801 1815 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1802 1816 +++ b/a Thu Jan 01 00:00:01 1970 +0000
1803 1817 @@ -0,0 +1,1 @@
1804 1818 +a
1805 1819
1806 1820
1807 1821
1808 1822 test multi-byte domain parsing:
1809 1823 $ UUML=`python -c 'import sys; sys.stdout.write("\374")'`
1810 1824 $ HGENCODING=iso-8859-1
1811 1825 $ export HGENCODING
1812 1826 $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t "bar@${UUML}nicode.com" -s test -r 0
1813 1827 This patch series consists of 1 patches.
1814 1828
1815 1829 Cc:
1816 1830
1817 1831 Writing [PATCH] test ...
1818 1832
1819 1833 $ cat tmp.mbox
1820 1834 From quux Tue Jan 01 00:01:01 1980
1821 1835 Content-Type: text/plain; charset="us-ascii"
1822 1836 MIME-Version: 1.0
1823 1837 Content-Transfer-Encoding: 7bit
1824 1838 Subject: [PATCH] test
1825 1839 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1826 1840 Message-Id: <8580ff50825a50c8f716.315532860@* (glob)
1827 1841 User-Agent: Mercurial-patchbomb/* (glob)
1828 1842 Date: Tue, 01 Jan 1980 00:01:00 +0000
1829 1843 From: quux
1830 1844 To: bar@xn--nicode-2ya.com
1831 1845
1832 1846 # HG changeset patch
1833 1847 # User test
1834 1848 # Date 1 0
1835 1849 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1836 1850 # Parent 0000000000000000000000000000000000000000
1837 1851 a
1838 1852
1839 1853 diff -r 000000000000 -r 8580ff50825a a
1840 1854 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1841 1855 +++ b/a Thu Jan 01 00:00:01 1970 +0000
1842 1856 @@ -0,0 +1,1 @@
1843 1857 +a
1844 1858
1845 1859
1846 1860
1847 1861 test outgoing:
1848 1862 $ hg up 1
1849 1863 0 files updated, 0 files merged, 6 files removed, 0 files unresolved
1850 1864
1851 1865 $ hg branch test
1852 1866 marked working directory as branch test
1853 1867
1854 1868 $ echo d > d
1855 1869 $ hg add d
1856 1870 $ hg ci -md -d '4 0'
1857 1871 $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t
1858 1872 comparing with ../t
1859 1873 searching for changes
1860 1874 From [test]: test
1861 1875 This patch series consists of 8 patches.
1862 1876
1863 1877
1864 1878 Write the introductory message for the patch series.
1865 1879
1866 1880 Cc:
1867 1881
1868 1882 Displaying [PATCH 0 of 8] test ...
1869 1883 Content-Type: text/plain; charset="us-ascii"
1870 1884 MIME-Version: 1.0
1871 1885 Content-Transfer-Encoding: 7bit
1872 1886 Subject: [PATCH 0 of 8] test
1873 1887 Message-Id: <patchbomb.315532860@* (glob)
1874 1888 User-Agent: Mercurial-patchbomb/* (glob)
1875 1889 Date: Tue, 01 Jan 1980 00:01:00 +0000
1876 1890 From: test
1877 1891 To: foo
1878 1892
1879 1893
1880 1894 Displaying [PATCH 1 of 8] c ...
1881 1895 Content-Type: text/plain; charset="us-ascii"
1882 1896 MIME-Version: 1.0
1883 1897 Content-Transfer-Encoding: 7bit
1884 1898 Subject: [PATCH 1 of 8] c
1885 1899 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1886 1900 Message-Id: <ff2c9fa2018b15fa74b3.315532861@* (glob)
1887 1901 In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
1888 1902 References: <patchbomb\.315532860@[^>]*> (re)
1889 1903 User-Agent: Mercurial-patchbomb/* (glob)
1890 1904 Date: Tue, 01 Jan 1980 00:01:01 +0000
1891 1905 From: test
1892 1906 To: foo
1893 1907
1894 1908 # HG changeset patch
1895 1909 # User test
1896 1910 # Date 3 0
1897 1911 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1898 1912 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1899 1913 c
1900 1914
1901 1915 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1902 1916 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1903 1917 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1904 1918 @@ -0,0 +1,1 @@
1905 1919 +c
1906 1920
1907 1921 Displaying [PATCH 2 of 8] charset=utf-8; content-transfer-encoding: base64 ...
1908 1922 Content-Type: text/plain; charset="us-ascii"
1909 1923 MIME-Version: 1.0
1910 1924 Content-Transfer-Encoding: 8bit
1911 1925 Subject: [PATCH 2 of 8] charset=utf-8; content-transfer-encoding: base64
1912 1926 X-Mercurial-Node: c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
1913 1927 Message-Id: <c3c9e37db9f4fe4882cd.315532862@* (glob)
1914 1928 In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
1915 1929 References: <patchbomb\.315532860@[^>]*> (re)
1916 1930 User-Agent: Mercurial-patchbomb/* (glob)
1917 1931 Date: Tue, 01 Jan 1980 00:01:02 +0000
1918 1932 From: test
1919 1933 To: foo
1920 1934
1921 1935 # HG changeset patch
1922 1936 # User test
1923 1937 # Date 4 0
1924 1938 # Node ID c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
1925 1939 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
1926 1940 charset=utf-8; content-transfer-encoding: base64
1927 1941
1928 1942 diff -r ff2c9fa2018b -r c3c9e37db9f4 description
1929 1943 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1930 1944 +++ b/description Thu Jan 01 00:00:04 1970 +0000
1931 1945 @@ -0,0 +1,3 @@
1932 1946 +a multiline
1933 1947 +
1934 1948 +description
1935 1949 diff -r ff2c9fa2018b -r c3c9e37db9f4 utf
1936 1950 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1937 1951 +++ b/utf Thu Jan 01 00:00:04 1970 +0000
1938 1952 @@ -0,0 +1,1 @@
1939 1953 +h\xc3\xb6mma! (esc)
1940 1954
1941 1955 Displaying [PATCH 3 of 8] charset=utf-8; content-transfer-encoding: quoted-printable ...
1942 1956 Content-Type: text/plain; charset="us-ascii"
1943 1957 MIME-Version: 1.0
1944 1958 Content-Transfer-Encoding: quoted-printable
1945 1959 Subject: [PATCH 3 of 8] charset=utf-8;
1946 1960 content-transfer-encoding: quoted-printable
1947 1961 X-Mercurial-Node: c655633f8c87700bb38cc6a59a2753bdc5a6c376
1948 1962 Message-Id: <c655633f8c87700bb38c.315532863@* (glob)
1949 1963 In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
1950 1964 References: <patchbomb\.315532860@[^>]*> (re)
1951 1965 User-Agent: Mercurial-patchbomb/* (glob)
1952 1966 Date: Tue, 01 Jan 1980 00:01:03 +0000
1953 1967 From: test
1954 1968 To: foo
1955 1969
1956 1970 # HG changeset patch
1957 1971 # User test
1958 1972 # Date 4 0
1959 1973 # Node ID c655633f8c87700bb38cc6a59a2753bdc5a6c376
1960 1974 # Parent c3c9e37db9f4fe4882cda39baf42fed6bad8b15a
1961 1975 charset=3Dutf-8; content-transfer-encoding: quoted-printable
1962 1976
1963 1977 diff -r c3c9e37db9f4 -r c655633f8c87 qp
1964 1978 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1965 1979 +++ b/qp Thu Jan 01 00:00:04 1970 +0000
1966 1980 @@ -0,0 +1,4 @@
1967 1981 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1968 1982 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1969 1983 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1970 1984 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1971 1985 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1972 1986 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1973 1987 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1974 1988 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1975 1989 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1976 1990 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1977 1991 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1978 1992 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1979 1993 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1980 1994 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
1981 1995 +foo
1982 1996 +
1983 1997 +bar
1984 1998
1985 1999 Displaying [PATCH 4 of 8] charset=us-ascii; content-transfer-encoding: 8bit ...
1986 2000 Content-Type: text/plain; charset="us-ascii"
1987 2001 MIME-Version: 1.0
1988 2002 Content-Transfer-Encoding: 8bit
1989 2003 Subject: [PATCH 4 of 8] charset=us-ascii; content-transfer-encoding: 8bit
1990 2004 X-Mercurial-Node: 22d0f96be12f5945fd67d101af58f7bc8263c835
1991 2005 Message-Id: <22d0f96be12f5945fd67.315532864@* (glob)
1992 2006 In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
1993 2007 References: <patchbomb\.315532860@[^>]*> (re)
1994 2008 User-Agent: Mercurial-patchbomb/* (glob)
1995 2009 Date: Tue, 01 Jan 1980 00:01:04 +0000
1996 2010 From: test
1997 2011 To: foo
1998 2012
1999 2013 # HG changeset patch
2000 2014 # User test
2001 2015 # Date 5 0
2002 2016 # Node ID 22d0f96be12f5945fd67d101af58f7bc8263c835
2003 2017 # Parent c655633f8c87700bb38cc6a59a2753bdc5a6c376
2004 2018 charset=us-ascii; content-transfer-encoding: 8bit
2005 2019
2006 2020 diff -r c655633f8c87 -r 22d0f96be12f isolatin
2007 2021 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2008 2022 +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000
2009 2023 @@ -0,0 +1,1 @@
2010 2024 +h\xf6mma! (esc)
2011 2025
2012 2026 Displaying [PATCH 5 of 8] Added tag zero, zero.foo for changeset 8580ff50825a ...
2013 2027 Content-Type: text/plain; charset="us-ascii"
2014 2028 MIME-Version: 1.0
2015 2029 Content-Transfer-Encoding: 7bit
2016 2030 Subject: [PATCH 5 of 8] Added tag zero, zero.foo for changeset 8580ff50825a
2017 2031 X-Mercurial-Node: dd9c2b4b8a8a0934d5523c15f2c119b362360903
2018 2032 Message-Id: <dd9c2b4b8a8a0934d552.315532865@* (glob)
2019 2033 In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
2020 2034 References: <patchbomb\.315532860@[^>]*> (re)
2021 2035 User-Agent: Mercurial-patchbomb/* (glob)
2022 2036 Date: Tue, 01 Jan 1980 00:01:05 +0000
2023 2037 From: test
2024 2038 To: foo
2025 2039
2026 2040 # HG changeset patch
2027 2041 # User test
2028 2042 # Date 0 0
2029 2043 # Node ID dd9c2b4b8a8a0934d5523c15f2c119b362360903
2030 2044 # Parent 22d0f96be12f5945fd67d101af58f7bc8263c835
2031 2045 Added tag zero, zero.foo for changeset 8580ff50825a
2032 2046
2033 2047 diff -r 22d0f96be12f -r dd9c2b4b8a8a .hgtags
2034 2048 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2035 2049 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
2036 2050 @@ -0,0 +1,2 @@
2037 2051 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero
2038 2052 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
2039 2053
2040 2054 Displaying [PATCH 6 of 8] Added tag one, one.patch for changeset 97d72e5f12c7 ...
2041 2055 Content-Type: text/plain; charset="us-ascii"
2042 2056 MIME-Version: 1.0
2043 2057 Content-Transfer-Encoding: 7bit
2044 2058 Subject: [PATCH 6 of 8] Added tag one, one.patch for changeset 97d72e5f12c7
2045 2059 X-Mercurial-Node: eae5fcf795eee29d0e45ffc9f519a91cd79fc9ff
2046 2060 Message-Id: <eae5fcf795eee29d0e45.315532866@* (glob)
2047 2061 In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
2048 2062 References: <patchbomb\.315532860@[^>]*> (re)
2049 2063 User-Agent: Mercurial-patchbomb/* (glob)
2050 2064 Date: Tue, 01 Jan 1980 00:01:06 +0000
2051 2065 From: test
2052 2066 To: foo
2053 2067
2054 2068 # HG changeset patch
2055 2069 # User test
2056 2070 # Date 0 0
2057 2071 # Node ID eae5fcf795eee29d0e45ffc9f519a91cd79fc9ff
2058 2072 # Parent dd9c2b4b8a8a0934d5523c15f2c119b362360903
2059 2073 Added tag one, one.patch for changeset 97d72e5f12c7
2060 2074
2061 2075 diff -r dd9c2b4b8a8a -r eae5fcf795ee .hgtags
2062 2076 --- a/.hgtags Thu Jan 01 00:00:00 1970 +0000
2063 2077 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
2064 2078 @@ -1,2 +1,4 @@
2065 2079 8580ff50825a50c8f716709acdf8de0deddcd6ab zero
2066 2080 8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
2067 2081 +97d72e5f12c7e84f85064aa72e5a297142c36ed9 one
2068 2082 +97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch
2069 2083
2070 2084 Displaying [PATCH 7 of 8] Added tag two, two.diff for changeset ff2c9fa2018b ...
2071 2085 Content-Type: text/plain; charset="us-ascii"
2072 2086 MIME-Version: 1.0
2073 2087 Content-Transfer-Encoding: 7bit
2074 2088 Subject: [PATCH 7 of 8] Added tag two, two.diff for changeset ff2c9fa2018b
2075 2089 X-Mercurial-Node: e317db6a6f288748d1f6cb064f3810fcba66b1b6
2076 2090 Message-Id: <e317db6a6f288748d1f6.315532867@* (glob)
2077 2091 In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
2078 2092 References: <patchbomb\.315532860@[^>]*> (re)
2079 2093 User-Agent: Mercurial-patchbomb/* (glob)
2080 2094 Date: Tue, 01 Jan 1980 00:01:07 +0000
2081 2095 From: test
2082 2096 To: foo
2083 2097
2084 2098 # HG changeset patch
2085 2099 # User test
2086 2100 # Date 0 0
2087 2101 # Node ID e317db6a6f288748d1f6cb064f3810fcba66b1b6
2088 2102 # Parent eae5fcf795eee29d0e45ffc9f519a91cd79fc9ff
2089 2103 Added tag two, two.diff for changeset ff2c9fa2018b
2090 2104
2091 2105 diff -r eae5fcf795ee -r e317db6a6f28 .hgtags
2092 2106 --- a/.hgtags Thu Jan 01 00:00:00 1970 +0000
2093 2107 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
2094 2108 @@ -2,3 +2,5 @@
2095 2109 8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
2096 2110 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one
2097 2111 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch
2098 2112 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two
2099 2113 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two.diff
2100 2114
2101 2115 Displaying [PATCH 8 of 8] d ...
2102 2116 Content-Type: text/plain; charset="us-ascii"
2103 2117 MIME-Version: 1.0
2104 2118 Content-Transfer-Encoding: 7bit
2105 2119 Subject: [PATCH 8 of 8] d
2106 2120 X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2107 2121 Message-Id: <2f9fa9b998c5fe3ac2bd\.315532868[^>]*> (re)
2108 2122 In-Reply-To: <patchbomb\.315532860@[^>]*> (re)
2109 2123 References: <patchbomb\.315532860@[^>]*> (re)
2110 2124 User-Agent: Mercurial-patchbomb/* (glob)
2111 2125 Date: Tue, 01 Jan 1980 00:01:08 +0000
2112 2126 From: test
2113 2127 To: foo
2114 2128
2115 2129 # HG changeset patch
2116 2130 # User test
2117 2131 # Date 4 0
2118 2132 # Branch test
2119 2133 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2120 2134 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2121 2135 d
2122 2136
2123 2137 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d
2124 2138 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2125 2139 +++ b/d Thu Jan 01 00:00:04 1970 +0000
2126 2140 @@ -0,0 +1,1 @@
2127 2141 +d
2128 2142
2129 2143
2130 2144 dest#branch URIs:
2131 2145 $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t#test
2132 2146 comparing with ../t
2133 2147 searching for changes
2134 2148 From [test]: test
2135 2149 This patch series consists of 1 patches.
2136 2150
2137 2151 Cc:
2138 2152
2139 2153 Displaying [PATCH] test ...
2140 2154 Content-Type: text/plain; charset="us-ascii"
2141 2155 MIME-Version: 1.0
2142 2156 Content-Transfer-Encoding: 7bit
2143 2157 Subject: [PATCH] test
2144 2158 X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2145 2159 Message-Id: <2f9fa9b998c5fe3ac2bd.315532860@* (glob)
2146 2160 User-Agent: Mercurial-patchbomb/* (glob)
2147 2161 Date: Tue, 01 Jan 1980 00:01:00 +0000
2148 2162 From: test
2149 2163 To: foo
2150 2164
2151 2165 # HG changeset patch
2152 2166 # User test
2153 2167 # Date 4 0
2154 2168 # Branch test
2155 2169 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2156 2170 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2157 2171 d
2158 2172
2159 2173 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d
2160 2174 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2161 2175 +++ b/d Thu Jan 01 00:00:04 1970 +0000
2162 2176 @@ -0,0 +1,1 @@
2163 2177 +d
2164 2178
General Comments 0
You need to be logged in to leave comments. Login now