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