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