##// END OF EJS Templates
tests: update test-patchbomb to pass our import checker
Augie Fackler -
r33985:99e3227c default
parent child Browse files
Show More
@@ -1,3030 +1,3031
1 Note for future hackers of patchbomb: this file is a bit heavy on
1 Note for future hackers of patchbomb: this file is a bit heavy on
2 wildcards in test expectations due to how many things like hostnames
2 wildcards in test expectations due to how many things like hostnames
3 tend to make it into outputs. As a result, you may need to perform the
3 tend to make it into outputs. As a result, you may need to perform the
4 following regular expression substitutions:
4 following regular expression substitutions:
5 @$HOSTNAME> -> @*> (glob)
5 @$HOSTNAME> -> @*> (glob)
6 Mercurial-patchbomb/.* -> Mercurial-patchbomb/* (glob)
6 Mercurial-patchbomb/.* -> Mercurial-patchbomb/* (glob)
7 /mixed; boundary="===+[0-9]+==" -> /mixed; boundary="===*== (glob)"
7 /mixed; boundary="===+[0-9]+==" -> /mixed; boundary="===*== (glob)"
8 --===+[0-9]+=+--$ -> --===*=-- (glob)
8 --===+[0-9]+=+--$ -> --===*=-- (glob)
9 --===+[0-9]+=+$ -> --===*= (glob)
9 --===+[0-9]+=+$ -> --===*= (glob)
10
10
11 $ cat > prune-blank-after-boundary.py <<EOF
11 $ cat > prune-blank-after-boundary.py <<EOF
12 > from __future__ import absolute_import, print_function
12 > import sys
13 > import sys
13 > skipblank = False
14 > skipblank = False
14 > trim = lambda x: x.strip(' \r\n')
15 > trim = lambda x: x.strip(' \r\n')
15 > for l in sys.stdin:
16 > for l in sys.stdin:
16 > if trim(l).endswith('=--') or trim(l).endswith('=='):
17 > if trim(l).endswith('=--') or trim(l).endswith('=='):
17 > skipblank = True
18 > skipblank = True
18 > print l,
19 > print(l, end='')
19 > continue
20 > continue
20 > if not trim(l) and skipblank:
21 > if not trim(l) and skipblank:
21 > continue
22 > continue
22 > skipblank = False
23 > skipblank = False
23 > print l,
24 > print(l, end='')
24 > EOF
25 > EOF
25 $ FILTERBOUNDARY="$PYTHON `pwd`/prune-blank-after-boundary.py"
26 $ FILTERBOUNDARY="$PYTHON `pwd`/prune-blank-after-boundary.py"
26 $ echo "[format]" >> $HGRCPATH
27 $ echo "[format]" >> $HGRCPATH
27 $ echo "usegeneraldelta=yes" >> $HGRCPATH
28 $ echo "usegeneraldelta=yes" >> $HGRCPATH
28 $ echo "[extensions]" >> $HGRCPATH
29 $ echo "[extensions]" >> $HGRCPATH
29 $ echo "patchbomb=" >> $HGRCPATH
30 $ echo "patchbomb=" >> $HGRCPATH
30
31
31 $ hg init t
32 $ hg init t
32 $ cd t
33 $ cd t
33 $ echo a > a
34 $ echo a > a
34 $ hg commit -Ama -d '1 0'
35 $ hg commit -Ama -d '1 0'
35 adding a
36 adding a
36
37
37 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip
38 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip
38 this patch series consists of 1 patches.
39 this patch series consists of 1 patches.
39
40
40
41
41 displaying [PATCH] a ...
42 displaying [PATCH] a ...
42 Content-Type: text/plain; charset="us-ascii"
43 Content-Type: text/plain; charset="us-ascii"
43 MIME-Version: 1.0
44 MIME-Version: 1.0
44 Content-Transfer-Encoding: 7bit
45 Content-Transfer-Encoding: 7bit
45 Subject: [PATCH] a
46 Subject: [PATCH] a
46 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
47 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
47 X-Mercurial-Series-Index: 1
48 X-Mercurial-Series-Index: 1
48 X-Mercurial-Series-Total: 1
49 X-Mercurial-Series-Total: 1
49 Message-Id: <8580ff50825a50c8f716.60@*> (glob)
50 Message-Id: <8580ff50825a50c8f716.60@*> (glob)
50 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob)
51 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob)
51 User-Agent: Mercurial-patchbomb/* (glob)
52 User-Agent: Mercurial-patchbomb/* (glob)
52 Date: Thu, 01 Jan 1970 00:01:00 +0000
53 Date: Thu, 01 Jan 1970 00:01:00 +0000
53 From: quux
54 From: quux
54 To: foo
55 To: foo
55 Cc: bar
56 Cc: bar
56
57
57 # HG changeset patch
58 # HG changeset patch
58 # User test
59 # User test
59 # Date 1 0
60 # Date 1 0
60 # Thu Jan 01 00:00:01 1970 +0000
61 # Thu Jan 01 00:00:01 1970 +0000
61 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
62 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
62 # Parent 0000000000000000000000000000000000000000
63 # Parent 0000000000000000000000000000000000000000
63 a
64 a
64
65
65 diff -r 000000000000 -r 8580ff50825a a
66 diff -r 000000000000 -r 8580ff50825a a
66 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
67 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
67 +++ b/a Thu Jan 01 00:00:01 1970 +0000
68 +++ b/a Thu Jan 01 00:00:01 1970 +0000
68 @@ -0,0 +1,1 @@
69 @@ -0,0 +1,1 @@
69 +a
70 +a
70
71
71
72
72 $ hg --config ui.interactive=1 email --confirm -n -f quux -t foo -c bar -r tip<<EOF
73 $ hg --config ui.interactive=1 email --confirm -n -f quux -t foo -c bar -r tip<<EOF
73 > n
74 > n
74 > EOF
75 > EOF
75 this patch series consists of 1 patches.
76 this patch series consists of 1 patches.
76
77
77
78
78 Final summary:
79 Final summary:
79
80
80 From: quux
81 From: quux
81 To: foo
82 To: foo
82 Cc: bar
83 Cc: bar
83 Subject: [PATCH] a
84 Subject: [PATCH] a
84 a | 1 +
85 a | 1 +
85 1 files changed, 1 insertions(+), 0 deletions(-)
86 1 files changed, 1 insertions(+), 0 deletions(-)
86
87
87 are you sure you want to send (yn)? n
88 are you sure you want to send (yn)? n
88 abort: patchbomb canceled
89 abort: patchbomb canceled
89 [255]
90 [255]
90
91
91 $ hg --config ui.interactive=1 --config patchbomb.confirm=true email -n -f quux -t foo -c bar -r tip<<EOF
92 $ hg --config ui.interactive=1 --config patchbomb.confirm=true email -n -f quux -t foo -c bar -r tip<<EOF
92 > n
93 > n
93 > EOF
94 > EOF
94 this patch series consists of 1 patches.
95 this patch series consists of 1 patches.
95
96
96
97
97 Final summary:
98 Final summary:
98
99
99 From: quux
100 From: quux
100 To: foo
101 To: foo
101 Cc: bar
102 Cc: bar
102 Subject: [PATCH] a
103 Subject: [PATCH] a
103 a | 1 +
104 a | 1 +
104 1 files changed, 1 insertions(+), 0 deletions(-)
105 1 files changed, 1 insertions(+), 0 deletions(-)
105
106
106 are you sure you want to send (yn)? n
107 are you sure you want to send (yn)? n
107 abort: patchbomb canceled
108 abort: patchbomb canceled
108 [255]
109 [255]
109
110
110
111
111 Test diff.git is respected
112 Test diff.git is respected
112 $ hg --config diff.git=True email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip
113 $ hg --config diff.git=True email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip
113 this patch series consists of 1 patches.
114 this patch series consists of 1 patches.
114
115
115
116
116 displaying [PATCH] a ...
117 displaying [PATCH] a ...
117 Content-Type: text/plain; charset="us-ascii"
118 Content-Type: text/plain; charset="us-ascii"
118 MIME-Version: 1.0
119 MIME-Version: 1.0
119 Content-Transfer-Encoding: 7bit
120 Content-Transfer-Encoding: 7bit
120 Subject: [PATCH] a
121 Subject: [PATCH] a
121 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
122 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
122 X-Mercurial-Series-Index: 1
123 X-Mercurial-Series-Index: 1
123 X-Mercurial-Series-Total: 1
124 X-Mercurial-Series-Total: 1
124 Message-Id: <8580ff50825a50c8f716.60@*> (glob)
125 Message-Id: <8580ff50825a50c8f716.60@*> (glob)
125 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob)
126 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob)
126 User-Agent: Mercurial-patchbomb/* (glob)
127 User-Agent: Mercurial-patchbomb/* (glob)
127 Date: Thu, 01 Jan 1970 00:01:00 +0000
128 Date: Thu, 01 Jan 1970 00:01:00 +0000
128 From: quux
129 From: quux
129 To: foo
130 To: foo
130 Cc: bar
131 Cc: bar
131
132
132 # HG changeset patch
133 # HG changeset patch
133 # User test
134 # User test
134 # Date 1 0
135 # Date 1 0
135 # Thu Jan 01 00:00:01 1970 +0000
136 # Thu Jan 01 00:00:01 1970 +0000
136 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
137 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
137 # Parent 0000000000000000000000000000000000000000
138 # Parent 0000000000000000000000000000000000000000
138 a
139 a
139
140
140 diff --git a/a b/a
141 diff --git a/a b/a
141 new file mode 100644
142 new file mode 100644
142 --- /dev/null
143 --- /dev/null
143 +++ b/a
144 +++ b/a
144 @@ -0,0 +1,1 @@
145 @@ -0,0 +1,1 @@
145 +a
146 +a
146
147
147
148
148
149
149 Test breaking format changes aren't
150 Test breaking format changes aren't
150 $ hg --config diff.noprefix=True email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip
151 $ hg --config diff.noprefix=True email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip
151 this patch series consists of 1 patches.
152 this patch series consists of 1 patches.
152
153
153
154
154 displaying [PATCH] a ...
155 displaying [PATCH] a ...
155 Content-Type: text/plain; charset="us-ascii"
156 Content-Type: text/plain; charset="us-ascii"
156 MIME-Version: 1.0
157 MIME-Version: 1.0
157 Content-Transfer-Encoding: 7bit
158 Content-Transfer-Encoding: 7bit
158 Subject: [PATCH] a
159 Subject: [PATCH] a
159 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
160 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
160 X-Mercurial-Series-Index: 1
161 X-Mercurial-Series-Index: 1
161 X-Mercurial-Series-Total: 1
162 X-Mercurial-Series-Total: 1
162 Message-Id: <8580ff50825a50c8f716.60@*> (glob)
163 Message-Id: <8580ff50825a50c8f716.60@*> (glob)
163 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob)
164 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob)
164 User-Agent: Mercurial-patchbomb/* (glob)
165 User-Agent: Mercurial-patchbomb/* (glob)
165 Date: Thu, 01 Jan 1970 00:01:00 +0000
166 Date: Thu, 01 Jan 1970 00:01:00 +0000
166 From: quux
167 From: quux
167 To: foo
168 To: foo
168 Cc: bar
169 Cc: bar
169
170
170 # HG changeset patch
171 # HG changeset patch
171 # User test
172 # User test
172 # Date 1 0
173 # Date 1 0
173 # Thu Jan 01 00:00:01 1970 +0000
174 # Thu Jan 01 00:00:01 1970 +0000
174 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
175 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
175 # Parent 0000000000000000000000000000000000000000
176 # Parent 0000000000000000000000000000000000000000
176 a
177 a
177
178
178 diff -r 000000000000 -r 8580ff50825a a
179 diff -r 000000000000 -r 8580ff50825a a
179 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
180 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
180 +++ b/a Thu Jan 01 00:00:01 1970 +0000
181 +++ b/a Thu Jan 01 00:00:01 1970 +0000
181 @@ -0,0 +1,1 @@
182 @@ -0,0 +1,1 @@
182 +a
183 +a
183
184
184
185
185 $ echo b > b
186 $ echo b > b
186 $ hg commit -Amb -d '2 0'
187 $ hg commit -Amb -d '2 0'
187 adding b
188 adding b
188
189
189 $ hg email --date '1970-1-1 0:2' -n -f quux -t foo -c bar -s test -r 0:tip
190 $ hg email --date '1970-1-1 0:2' -n -f quux -t foo -c bar -s test -r 0:tip
190 this patch series consists of 2 patches.
191 this patch series consists of 2 patches.
191
192
192
193
193 Write the introductory message for the patch series.
194 Write the introductory message for the patch series.
194
195
195
196
196 displaying [PATCH 0 of 2] test ...
197 displaying [PATCH 0 of 2] test ...
197 Content-Type: text/plain; charset="us-ascii"
198 Content-Type: text/plain; charset="us-ascii"
198 MIME-Version: 1.0
199 MIME-Version: 1.0
199 Content-Transfer-Encoding: 7bit
200 Content-Transfer-Encoding: 7bit
200 Subject: [PATCH 0 of 2] test
201 Subject: [PATCH 0 of 2] test
201 Message-Id: <patchbomb.120@*> (glob)
202 Message-Id: <patchbomb.120@*> (glob)
202 User-Agent: Mercurial-patchbomb/* (glob)
203 User-Agent: Mercurial-patchbomb/* (glob)
203 Date: Thu, 01 Jan 1970 00:02:00 +0000
204 Date: Thu, 01 Jan 1970 00:02:00 +0000
204 From: quux
205 From: quux
205 To: foo
206 To: foo
206 Cc: bar
207 Cc: bar
207
208
208
209
209 displaying [PATCH 1 of 2] a ...
210 displaying [PATCH 1 of 2] a ...
210 Content-Type: text/plain; charset="us-ascii"
211 Content-Type: text/plain; charset="us-ascii"
211 MIME-Version: 1.0
212 MIME-Version: 1.0
212 Content-Transfer-Encoding: 7bit
213 Content-Transfer-Encoding: 7bit
213 Subject: [PATCH 1 of 2] a
214 Subject: [PATCH 1 of 2] a
214 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
215 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
215 X-Mercurial-Series-Index: 1
216 X-Mercurial-Series-Index: 1
216 X-Mercurial-Series-Total: 2
217 X-Mercurial-Series-Total: 2
217 Message-Id: <8580ff50825a50c8f716.121@*> (glob)
218 Message-Id: <8580ff50825a50c8f716.121@*> (glob)
218 X-Mercurial-Series-Id: <8580ff50825a50c8f716.121@*> (glob)
219 X-Mercurial-Series-Id: <8580ff50825a50c8f716.121@*> (glob)
219 In-Reply-To: <patchbomb.120@*> (glob)
220 In-Reply-To: <patchbomb.120@*> (glob)
220 References: <patchbomb.120@*> (glob)
221 References: <patchbomb.120@*> (glob)
221 User-Agent: Mercurial-patchbomb/* (glob)
222 User-Agent: Mercurial-patchbomb/* (glob)
222 Date: Thu, 01 Jan 1970 00:02:01 +0000
223 Date: Thu, 01 Jan 1970 00:02:01 +0000
223 From: quux
224 From: quux
224 To: foo
225 To: foo
225 Cc: bar
226 Cc: bar
226
227
227 # HG changeset patch
228 # HG changeset patch
228 # User test
229 # User test
229 # Date 1 0
230 # Date 1 0
230 # Thu Jan 01 00:00:01 1970 +0000
231 # Thu Jan 01 00:00:01 1970 +0000
231 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
232 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
232 # Parent 0000000000000000000000000000000000000000
233 # Parent 0000000000000000000000000000000000000000
233 a
234 a
234
235
235 diff -r 000000000000 -r 8580ff50825a a
236 diff -r 000000000000 -r 8580ff50825a a
236 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
237 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
237 +++ b/a Thu Jan 01 00:00:01 1970 +0000
238 +++ b/a Thu Jan 01 00:00:01 1970 +0000
238 @@ -0,0 +1,1 @@
239 @@ -0,0 +1,1 @@
239 +a
240 +a
240
241
241 displaying [PATCH 2 of 2] b ...
242 displaying [PATCH 2 of 2] b ...
242 Content-Type: text/plain; charset="us-ascii"
243 Content-Type: text/plain; charset="us-ascii"
243 MIME-Version: 1.0
244 MIME-Version: 1.0
244 Content-Transfer-Encoding: 7bit
245 Content-Transfer-Encoding: 7bit
245 Subject: [PATCH 2 of 2] b
246 Subject: [PATCH 2 of 2] b
246 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
247 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
247 X-Mercurial-Series-Index: 2
248 X-Mercurial-Series-Index: 2
248 X-Mercurial-Series-Total: 2
249 X-Mercurial-Series-Total: 2
249 Message-Id: <97d72e5f12c7e84f8506.122@*> (glob)
250 Message-Id: <97d72e5f12c7e84f8506.122@*> (glob)
250 X-Mercurial-Series-Id: <8580ff50825a50c8f716.121@*> (glob)
251 X-Mercurial-Series-Id: <8580ff50825a50c8f716.121@*> (glob)
251 In-Reply-To: <patchbomb.120@*> (glob)
252 In-Reply-To: <patchbomb.120@*> (glob)
252 References: <patchbomb.120@*> (glob)
253 References: <patchbomb.120@*> (glob)
253 User-Agent: Mercurial-patchbomb/* (glob)
254 User-Agent: Mercurial-patchbomb/* (glob)
254 Date: Thu, 01 Jan 1970 00:02:02 +0000
255 Date: Thu, 01 Jan 1970 00:02:02 +0000
255 From: quux
256 From: quux
256 To: foo
257 To: foo
257 Cc: bar
258 Cc: bar
258
259
259 # HG changeset patch
260 # HG changeset patch
260 # User test
261 # User test
261 # Date 2 0
262 # Date 2 0
262 # Thu Jan 01 00:00:02 1970 +0000
263 # Thu Jan 01 00:00:02 1970 +0000
263 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
264 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
264 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
265 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
265 b
266 b
266
267
267 diff -r 8580ff50825a -r 97d72e5f12c7 b
268 diff -r 8580ff50825a -r 97d72e5f12c7 b
268 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
269 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
269 +++ b/b Thu Jan 01 00:00:02 1970 +0000
270 +++ b/b Thu Jan 01 00:00:02 1970 +0000
270 @@ -0,0 +1,1 @@
271 @@ -0,0 +1,1 @@
271 +b
272 +b
272
273
273
274
274 .hg/last-email.txt
275 .hg/last-email.txt
275
276
276 $ cat > editor.sh << '__EOF__'
277 $ cat > editor.sh << '__EOF__'
277 > echo "a precious introductory message" > "$1"
278 > echo "a precious introductory message" > "$1"
278 > __EOF__
279 > __EOF__
279 $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg email -n -t foo -s test -r 0:tip > /dev/null
280 $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg email -n -t foo -s test -r 0:tip > /dev/null
280 $ cat .hg/last-email.txt
281 $ cat .hg/last-email.txt
281 a precious introductory message
282 a precious introductory message
282
283
283 $ hg email -m test.mbox -f quux -t foo -c bar -s test 0:tip \
284 $ hg email -m test.mbox -f quux -t foo -c bar -s test 0:tip \
284 > --config extensions.progress= --config progress.assume-tty=1 \
285 > --config extensions.progress= --config progress.assume-tty=1 \
285 > --config progress.delay=0 --config progress.refresh=0 \
286 > --config progress.delay=0 --config progress.refresh=0 \
286 > --config progress.width=60
287 > --config progress.width=60
287 this patch series consists of 2 patches.
288 this patch series consists of 2 patches.
288
289
289
290
290 Write the introductory message for the patch series.
291 Write the introductory message for the patch series.
291
292
292 \r (no-eol) (esc)
293 \r (no-eol) (esc)
293 sending [ ] 0/3\r (no-eol) (esc)
294 sending [ ] 0/3\r (no-eol) (esc)
294 \r (no-eol) (esc)
295 \r (no-eol) (esc)
295 \r (no-eol) (esc)
296 \r (no-eol) (esc)
296 sending [==============> ] 1/3\r (no-eol) (esc)
297 sending [==============> ] 1/3\r (no-eol) (esc)
297 \r (no-eol) (esc)
298 \r (no-eol) (esc)
298 \r (no-eol) (esc)
299 \r (no-eol) (esc)
299 sending [=============================> ] 2/3\r (no-eol) (esc)
300 sending [=============================> ] 2/3\r (no-eol) (esc)
300 \r (esc)
301 \r (esc)
301 sending [PATCH 0 of 2] test ...
302 sending [PATCH 0 of 2] test ...
302 sending [PATCH 1 of 2] a ...
303 sending [PATCH 1 of 2] a ...
303 sending [PATCH 2 of 2] b ...
304 sending [PATCH 2 of 2] b ...
304
305
305 $ cd ..
306 $ cd ..
306
307
307 $ hg clone -q t t2
308 $ hg clone -q t t2
308 $ cd t2
309 $ cd t2
309 $ echo c > c
310 $ echo c > c
310 $ hg commit -Amc -d '3 0'
311 $ hg commit -Amc -d '3 0'
311 adding c
312 adding c
312
313
313 $ cat > description <<EOF
314 $ cat > description <<EOF
314 > a multiline
315 > a multiline
315 >
316 >
316 > description
317 > description
317 > EOF
318 > EOF
318
319
319
320
320 test bundle and description:
321 test bundle and description:
321 $ hg email --date '1970-1-1 0:3' -n -f quux -t foo \
322 $ hg email --date '1970-1-1 0:3' -n -f quux -t foo \
322 > -c bar -s test -r tip -b --desc description | $FILTERBOUNDARY
323 > -c bar -s test -r tip -b --desc description | $FILTERBOUNDARY
323 searching for changes
324 searching for changes
324 1 changesets found
325 1 changesets found
325
326
326 displaying test ...
327 displaying test ...
327 Content-Type: multipart/mixed; boundary="===*==" (glob)
328 Content-Type: multipart/mixed; boundary="===*==" (glob)
328 MIME-Version: 1.0
329 MIME-Version: 1.0
329 Subject: test
330 Subject: test
330 Message-Id: <patchbomb.180@*> (glob)
331 Message-Id: <patchbomb.180@*> (glob)
331 User-Agent: Mercurial-patchbomb/* (glob)
332 User-Agent: Mercurial-patchbomb/* (glob)
332 Date: Thu, 01 Jan 1970 00:03:00 +0000
333 Date: Thu, 01 Jan 1970 00:03:00 +0000
333 From: quux
334 From: quux
334 To: foo
335 To: foo
335 Cc: bar
336 Cc: bar
336
337
337 --===*= (glob)
338 --===*= (glob)
338 Content-Type: text/plain; charset="us-ascii"
339 Content-Type: text/plain; charset="us-ascii"
339 MIME-Version: 1.0
340 MIME-Version: 1.0
340 Content-Transfer-Encoding: 7bit
341 Content-Transfer-Encoding: 7bit
341
342
342 a multiline
343 a multiline
343
344
344 description
345 description
345
346
346 --===*= (glob)
347 --===*= (glob)
347 Content-Type: application/x-mercurial-bundle
348 Content-Type: application/x-mercurial-bundle
348 MIME-Version: 1.0
349 MIME-Version: 1.0
349 Content-Disposition: attachment; filename="bundle.hg"
350 Content-Disposition: attachment; filename="bundle.hg"
350 Content-Transfer-Encoding: base64
351 Content-Transfer-Encoding: base64
351
352
352 SEcyMAAAAA5Db21wcmVzc2lvbj1CWkJaaDkxQVkmU1nYvy2xAAAJf//7vFYQXD1/4H7R09C/470I
353 SEcyMAAAAA5Db21wcmVzc2lvbj1CWkJaaDkxQVkmU1nYvy2xAAAJf//7vFYQXD1/4H7R09C/470I
353 Ak0E4pe4SIIIgQSgGEQOcLAA5VBKqeppMxTI0YjQNBgQMQDI0GgMhtR6I0GI2p6I0yeSEVT9MiYn
354 Ak0E4pe4SIIIgQSgGEQOcLAA5VBKqeppMxTI0YjQNBgQMQDI0GgMhtR6I0GI2p6I0yeSEVT9MiYn
354 qjCYQwCBtARptARgBNDEwAGiDCMA40NGjQaNA0AAAAADIAAAA0BkABktCk6qObVxZ2A/33KHibLr
355 qjCYQwCBtARptARgBNDEwAGiDCMA40NGjQaNA0AAAAADIAAAA0BkABktCk6qObVxZ2A/33KHibLr
355 UQ4BwkgcPcmuCUAQZCztIWgR1SpBS6IqbIij4UFwhnnMkElcFTqoucIWbsBPK3l+6c+xYaVBWsJo
356 UQ4BwkgcPcmuCUAQZCztIWgR1SpBS6IqbIij4UFwhnnMkElcFTqoucIWbsBPK3l+6c+xYaVBWsJo
356 aT0OV/YAOvLrziifDQMJOMIaaYce9agtI2EwQBAq089UiRU+evFHSLRBT7Wa/D/YBaUtU5ezvtr3
357 aT0OV/YAOvLrziifDQMJOMIaaYce9agtI2EwQBAq089UiRU+evFHSLRBT7Wa/D/YBaUtU5ezvtr3
357 6yrIS4Iyp9VWESdWPEi6VjRjdcEY4HvbmDIVEAEVJIUrHNIBx/MmnBBRkw8tSlCQ8ABZxf5ejgBI
358 6yrIS4Iyp9VWESdWPEi6VjRjdcEY4HvbmDIVEAEVJIUrHNIBx/MmnBBRkw8tSlCQ8ABZxf5ejgBI
358 pP5TSQPLVMYbq1qbBPmWN0LYVlAvRbP4X512kDQZ9y4TQbvoZmhe+54sRsEJ8GW3hMJjERh0NNlg
359 pP5TSQPLVMYbq1qbBPmWN0LYVlAvRbP4X512kDQZ9y4TQbvoZmhe+54sRsEJ8GW3hMJjERh0NNlg
359 aB+3Cw/4u5IpwoSGxfltiA==
360 aB+3Cw/4u5IpwoSGxfltiA==
360 --===============*==-- (glob)
361 --===============*==-- (glob)
361
362
362 with a specific bundle type
363 with a specific bundle type
363 (binary part must be different)
364 (binary part must be different)
364
365
365 $ hg email --date '1970-1-1 0:3' -n -f quux -t foo \
366 $ hg email --date '1970-1-1 0:3' -n -f quux -t foo \
366 > -c bar -s test -r tip -b --desc description \
367 > -c bar -s test -r tip -b --desc description \
367 > --config patchbomb.bundletype=gzip-v1 | $FILTERBOUNDARY
368 > --config patchbomb.bundletype=gzip-v1 | $FILTERBOUNDARY
368 searching for changes
369 searching for changes
369 1 changesets found
370 1 changesets found
370
371
371 displaying test ...
372 displaying test ...
372 Content-Type: multipart/mixed; boundary="===*==" (glob)
373 Content-Type: multipart/mixed; boundary="===*==" (glob)
373 MIME-Version: 1.0
374 MIME-Version: 1.0
374 Subject: test
375 Subject: test
375 Message-Id: <patchbomb.180@*> (glob)
376 Message-Id: <patchbomb.180@*> (glob)
376 User-Agent: Mercurial-patchbomb/* (glob)
377 User-Agent: Mercurial-patchbomb/* (glob)
377 Date: Thu, 01 Jan 1970 00:03:00 +0000
378 Date: Thu, 01 Jan 1970 00:03:00 +0000
378 From: quux
379 From: quux
379 To: foo
380 To: foo
380 Cc: bar
381 Cc: bar
381
382
382 --===*= (glob)
383 --===*= (glob)
383 Content-Type: text/plain; charset="us-ascii"
384 Content-Type: text/plain; charset="us-ascii"
384 MIME-Version: 1.0
385 MIME-Version: 1.0
385 Content-Transfer-Encoding: 7bit
386 Content-Transfer-Encoding: 7bit
386
387
387 a multiline
388 a multiline
388
389
389 description
390 description
390
391
391 --===*= (glob)
392 --===*= (glob)
392 Content-Type: application/x-mercurial-bundle
393 Content-Type: application/x-mercurial-bundle
393 MIME-Version: 1.0
394 MIME-Version: 1.0
394 Content-Disposition: attachment; filename="bundle.hg"
395 Content-Disposition: attachment; filename="bundle.hg"
395 Content-Transfer-Encoding: base64
396 Content-Transfer-Encoding: base64
396
397
397 SEcxMEdaeJxjYGBY8V9n/iLGbtFfJZuNk/euDCpWfrRy/vTrevFCx1/4t7J5LdeL0ix0Opx3kwEL
398 SEcxMEdaeJxjYGBY8V9n/iLGbtFfJZuNk/euDCpWfrRy/vTrevFCx1/4t7J5LdeL0ix0Opx3kwEL
398 wKYXKqUJwqnG5sYWSWmmJsaWlqYWaRaWJpaWiWamZpYWRgZGxolJiabmSQbmZqlcQMV6QGwCxGzG
399 wKYXKqUJwqnG5sYWSWmmJsaWlqYWaRaWJpaWiWamZpYWRgZGxolJiabmSQbmZqlcQMV6QGwCxGzG
399 CgZcySARUyA2A2LGZKiZ3Y+Lu786z4z4MWXmsrAZCsqrl1az5y21PMcjpbThzWeXGT+/nutbmvvz
400 CgZcySARUyA2A2LGZKiZ3Y+Lu786z4z4MWXmsrAZCsqrl1az5y21PMcjpbThzWeXGT+/nutbmvvz
400 zXYS3BoGxdrJDIYmlimJJiZpRokmqYYmaSYWFknmSSkmhqbmliamiZYWxuYmBhbJBgZcUBNZQe5K
401 zXYS3BoGxdrJDIYmlimJJiZpRokmqYYmaSYWFknmSSkmhqbmliamiZYWxuYmBhbJBgZcUBNZQe5K
401 Epm7xF/LT+RLx/a9juFTomaYO/Rgsx4rwBN+IMCUDLOKAQBrsmti
402 Epm7xF/LT+RLx/a9juFTomaYO/Rgsx4rwBN+IMCUDLOKAQBrsmti
402 --===============*==-- (glob)
403 --===============*==-- (glob)
403
404
404 utf-8 patch:
405 utf-8 patch:
405 $ $PYTHON -c 'fp = open("utf", "wb"); fp.write("h\xC3\xB6mma!\n"); fp.close();'
406 $ $PYTHON -c 'fp = open("utf", "wb"); fp.write("h\xC3\xB6mma!\n"); fp.close();'
406 $ hg commit -A -d '4 0' -m 'utf-8 content'
407 $ hg commit -A -d '4 0' -m 'utf-8 content'
407 adding description
408 adding description
408 adding utf
409 adding utf
409
410
410 no mime encoding for email --test:
411 no mime encoding for email --test:
411 $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n
412 $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n
412 this patch series consists of 1 patches.
413 this patch series consists of 1 patches.
413
414
414
415
415 displaying [PATCH] utf-8 content ...
416 displaying [PATCH] utf-8 content ...
416 Content-Type: text/plain; charset="us-ascii"
417 Content-Type: text/plain; charset="us-ascii"
417 MIME-Version: 1.0
418 MIME-Version: 1.0
418 Content-Transfer-Encoding: 8bit
419 Content-Transfer-Encoding: 8bit
419 Subject: [PATCH] utf-8 content
420 Subject: [PATCH] utf-8 content
420 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
421 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
421 X-Mercurial-Series-Index: 1
422 X-Mercurial-Series-Index: 1
422 X-Mercurial-Series-Total: 1
423 X-Mercurial-Series-Total: 1
423 Message-Id: <909a00e13e9d78b575ae.240@*> (glob)
424 Message-Id: <909a00e13e9d78b575ae.240@*> (glob)
424 X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@*> (glob)
425 X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@*> (glob)
425 User-Agent: Mercurial-patchbomb/* (glob)
426 User-Agent: Mercurial-patchbomb/* (glob)
426 Date: Thu, 01 Jan 1970 00:04:00 +0000
427 Date: Thu, 01 Jan 1970 00:04:00 +0000
427 From: quux
428 From: quux
428 To: foo
429 To: foo
429 Cc: bar
430 Cc: bar
430
431
431 # HG changeset patch
432 # HG changeset patch
432 # User test
433 # User test
433 # Date 4 0
434 # Date 4 0
434 # Thu Jan 01 00:00:04 1970 +0000
435 # Thu Jan 01 00:00:04 1970 +0000
435 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
436 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
436 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
437 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
437 utf-8 content
438 utf-8 content
438
439
439 diff -r ff2c9fa2018b -r 909a00e13e9d description
440 diff -r ff2c9fa2018b -r 909a00e13e9d description
440 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
441 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
441 +++ b/description Thu Jan 01 00:00:04 1970 +0000
442 +++ b/description Thu Jan 01 00:00:04 1970 +0000
442 @@ -0,0 +1,3 @@
443 @@ -0,0 +1,3 @@
443 +a multiline
444 +a multiline
444 +
445 +
445 +description
446 +description
446 diff -r ff2c9fa2018b -r 909a00e13e9d utf
447 diff -r ff2c9fa2018b -r 909a00e13e9d utf
447 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
448 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
448 +++ b/utf Thu Jan 01 00:00:04 1970 +0000
449 +++ b/utf Thu Jan 01 00:00:04 1970 +0000
449 @@ -0,0 +1,1 @@
450 @@ -0,0 +1,1 @@
450 +h\xc3\xb6mma! (esc)
451 +h\xc3\xb6mma! (esc)
451
452
452
453
453 mime encoded mbox (base64):
454 mime encoded mbox (base64):
454 $ hg email --date '1970-1-1 0:4' -f 'Q <quux>' -t foo -c bar -r tip -m mbox
455 $ hg email --date '1970-1-1 0:4' -f 'Q <quux>' -t foo -c bar -r tip -m mbox
455 this patch series consists of 1 patches.
456 this patch series consists of 1 patches.
456
457
457
458
458 sending [PATCH] utf-8 content ...
459 sending [PATCH] utf-8 content ...
459
460
460 $ cat mbox
461 $ cat mbox
461 From quux ... ... .. ..:..:.. .... (re)
462 From quux ... ... .. ..:..:.. .... (re)
462 Content-Type: text/plain; charset="utf-8"
463 Content-Type: text/plain; charset="utf-8"
463 MIME-Version: 1.0
464 MIME-Version: 1.0
464 Content-Transfer-Encoding: base64
465 Content-Transfer-Encoding: base64
465 Subject: [PATCH] utf-8 content
466 Subject: [PATCH] utf-8 content
466 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
467 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
467 X-Mercurial-Series-Index: 1
468 X-Mercurial-Series-Index: 1
468 X-Mercurial-Series-Total: 1
469 X-Mercurial-Series-Total: 1
469 Message-Id: <909a00e13e9d78b575ae.240@*> (glob)
470 Message-Id: <909a00e13e9d78b575ae.240@*> (glob)
470 X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@*> (glob)
471 X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@*> (glob)
471 User-Agent: Mercurial-patchbomb/* (glob)
472 User-Agent: Mercurial-patchbomb/* (glob)
472 Date: Thu, 01 Jan 1970 00:04:00 +0000
473 Date: Thu, 01 Jan 1970 00:04:00 +0000
473 From: Q <quux>
474 From: Q <quux>
474 To: foo
475 To: foo
475 Cc: bar
476 Cc: bar
476
477
477 IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojICAgICAgVGh1IEph
478 IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojICAgICAgVGh1IEph
478 biAwMSAwMDowMDowNCAxOTcwICswMDAwCiMgTm9kZSBJRCA5MDlhMDBlMTNlOWQ3OGI1NzVhZWVl
479 biAwMSAwMDowMDowNCAxOTcwICswMDAwCiMgTm9kZSBJRCA5MDlhMDBlMTNlOWQ3OGI1NzVhZWVl
479 MjNkZGRiYWRhNDZkNWExNDNmCiMgUGFyZW50ICBmZjJjOWZhMjAxOGIxNWZhNzRiMzMzNjNiZGE5
480 MjNkZGRiYWRhNDZkNWExNDNmCiMgUGFyZW50ICBmZjJjOWZhMjAxOGIxNWZhNzRiMzMzNjNiZGE5
480 NTI3MzIzZTJhOTlmCnV0Zi04IGNvbnRlbnQKCmRpZmYgLXIgZmYyYzlmYTIwMThiIC1yIDkwOWEw
481 NTI3MzIzZTJhOTlmCnV0Zi04IGNvbnRlbnQKCmRpZmYgLXIgZmYyYzlmYTIwMThiIC1yIDkwOWEw
481 MGUxM2U5ZCBkZXNjcmlwdGlvbgotLS0gL2Rldi9udWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3
482 MGUxM2U5ZCBkZXNjcmlwdGlvbgotLS0gL2Rldi9udWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3
482 MCArMDAwMAorKysgYi9kZXNjcmlwdGlvbglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK
483 MCArMDAwMAorKysgYi9kZXNjcmlwdGlvbglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK
483 QEAgLTAsMCArMSwzIEBACithIG11bHRpbGluZQorCitkZXNjcmlwdGlvbgpkaWZmIC1yIGZmMmM5
484 QEAgLTAsMCArMSwzIEBACithIG11bHRpbGluZQorCitkZXNjcmlwdGlvbgpkaWZmIC1yIGZmMmM5
484 ZmEyMDE4YiAtciA5MDlhMDBlMTNlOWQgdXRmCi0tLSAvZGV2L251bGwJVGh1IEphbiAwMSAwMDow
485 ZmEyMDE4YiAtciA5MDlhMDBlMTNlOWQgdXRmCi0tLSAvZGV2L251bGwJVGh1IEphbiAwMSAwMDow
485 MDowMCAxOTcwICswMDAwCisrKyBiL3V0ZglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK
486 MDowMCAxOTcwICswMDAwCisrKyBiL3V0ZglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK
486 QEAgLTAsMCArMSwxIEBACitow7ZtbWEhCg==
487 QEAgLTAsMCArMSwxIEBACitow7ZtbWEhCg==
487
488
488
489
489 $ $PYTHON -c 'print open("mbox").read().split("\n\n")[1].decode("base64")'
490 $ $PYTHON -c 'print open("mbox").read().split("\n\n")[1].decode("base64")'
490 # HG changeset patch
491 # HG changeset patch
491 # User test
492 # User test
492 # Date 4 0
493 # Date 4 0
493 # Thu Jan 01 00:00:04 1970 +0000
494 # Thu Jan 01 00:00:04 1970 +0000
494 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
495 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
495 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
496 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
496 utf-8 content
497 utf-8 content
497
498
498 diff -r ff2c9fa2018b -r 909a00e13e9d description
499 diff -r ff2c9fa2018b -r 909a00e13e9d description
499 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
500 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
500 +++ b/description Thu Jan 01 00:00:04 1970 +0000
501 +++ b/description Thu Jan 01 00:00:04 1970 +0000
501 @@ -0,0 +1,3 @@
502 @@ -0,0 +1,3 @@
502 +a multiline
503 +a multiline
503 +
504 +
504 +description
505 +description
505 diff -r ff2c9fa2018b -r 909a00e13e9d utf
506 diff -r ff2c9fa2018b -r 909a00e13e9d utf
506 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
507 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
507 +++ b/utf Thu Jan 01 00:00:04 1970 +0000
508 +++ b/utf Thu Jan 01 00:00:04 1970 +0000
508 @@ -0,0 +1,1 @@
509 @@ -0,0 +1,1 @@
509 +h\xc3\xb6mma! (esc)
510 +h\xc3\xb6mma! (esc)
510
511
511 $ rm mbox
512 $ rm mbox
512
513
513 mime encoded mbox (quoted-printable):
514 mime encoded mbox (quoted-printable):
514 $ $PYTHON -c 'fp = open("long", "wb"); fp.write("%s\nfoo\n\nbar\n" % ("x" * 1024)); fp.close();'
515 $ $PYTHON -c 'fp = open("long", "wb"); fp.write("%s\nfoo\n\nbar\n" % ("x" * 1024)); fp.close();'
515 $ hg commit -A -d '4 0' -m 'long line'
516 $ hg commit -A -d '4 0' -m 'long line'
516 adding long
517 adding long
517
518
518 no mime encoding for email --test:
519 no mime encoding for email --test:
519 $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n
520 $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n
520 this patch series consists of 1 patches.
521 this patch series consists of 1 patches.
521
522
522
523
523 displaying [PATCH] long line ...
524 displaying [PATCH] long line ...
524 Content-Type: text/plain; charset="us-ascii"
525 Content-Type: text/plain; charset="us-ascii"
525 MIME-Version: 1.0
526 MIME-Version: 1.0
526 Content-Transfer-Encoding: quoted-printable
527 Content-Transfer-Encoding: quoted-printable
527 Subject: [PATCH] long line
528 Subject: [PATCH] long line
528 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
529 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
529 X-Mercurial-Series-Index: 1
530 X-Mercurial-Series-Index: 1
530 X-Mercurial-Series-Total: 1
531 X-Mercurial-Series-Total: 1
531 Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob)
532 Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob)
532 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob)
533 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob)
533 User-Agent: Mercurial-patchbomb/* (glob)
534 User-Agent: Mercurial-patchbomb/* (glob)
534 Date: Thu, 01 Jan 1970 00:04:00 +0000
535 Date: Thu, 01 Jan 1970 00:04:00 +0000
535 From: quux
536 From: quux
536 To: foo
537 To: foo
537 Cc: bar
538 Cc: bar
538
539
539 # HG changeset patch
540 # HG changeset patch
540 # User test
541 # User test
541 # Date 4 0
542 # Date 4 0
542 # Thu Jan 01 00:00:04 1970 +0000
543 # Thu Jan 01 00:00:04 1970 +0000
543 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
544 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
544 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
545 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
545 long line
546 long line
546
547
547 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
548 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
548 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
549 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
549 +++ b/long Thu Jan 01 00:00:04 1970 +0000
550 +++ b/long Thu Jan 01 00:00:04 1970 +0000
550 @@ -0,0 +1,4 @@
551 @@ -0,0 +1,4 @@
551 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
552 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
552 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
553 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
553 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
554 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
554 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
555 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
555 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
556 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
556 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
557 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
557 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
558 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
558 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
559 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
559 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
560 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
560 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
561 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
561 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
562 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
562 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
563 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
563 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
564 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
564 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
565 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
565 +foo
566 +foo
566 +
567 +
567 +bar
568 +bar
568
569
569
570
570 mime encoded mbox (quoted-printable):
571 mime encoded mbox (quoted-printable):
571 $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -m mbox
572 $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -m mbox
572 this patch series consists of 1 patches.
573 this patch series consists of 1 patches.
573
574
574
575
575 sending [PATCH] long line ...
576 sending [PATCH] long line ...
576 $ cat mbox
577 $ cat mbox
577 From quux ... ... .. ..:..:.. .... (re)
578 From quux ... ... .. ..:..:.. .... (re)
578 Content-Type: text/plain; charset="us-ascii"
579 Content-Type: text/plain; charset="us-ascii"
579 MIME-Version: 1.0
580 MIME-Version: 1.0
580 Content-Transfer-Encoding: quoted-printable
581 Content-Transfer-Encoding: quoted-printable
581 Subject: [PATCH] long line
582 Subject: [PATCH] long line
582 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
583 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
583 X-Mercurial-Series-Index: 1
584 X-Mercurial-Series-Index: 1
584 X-Mercurial-Series-Total: 1
585 X-Mercurial-Series-Total: 1
585 Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob)
586 Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob)
586 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob)
587 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob)
587 User-Agent: Mercurial-patchbomb/* (glob)
588 User-Agent: Mercurial-patchbomb/* (glob)
588 Date: Thu, 01 Jan 1970 00:04:00 +0000
589 Date: Thu, 01 Jan 1970 00:04:00 +0000
589 From: quux
590 From: quux
590 To: foo
591 To: foo
591 Cc: bar
592 Cc: bar
592
593
593 # HG changeset patch
594 # HG changeset patch
594 # User test
595 # User test
595 # Date 4 0
596 # Date 4 0
596 # Thu Jan 01 00:00:04 1970 +0000
597 # Thu Jan 01 00:00:04 1970 +0000
597 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
598 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
598 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
599 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
599 long line
600 long line
600
601
601 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
602 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
602 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
603 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
603 +++ b/long Thu Jan 01 00:00:04 1970 +0000
604 +++ b/long Thu Jan 01 00:00:04 1970 +0000
604 @@ -0,0 +1,4 @@
605 @@ -0,0 +1,4 @@
605 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
606 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
606 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
607 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
607 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
608 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
608 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
609 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
609 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
610 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
610 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
611 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
611 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
612 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
612 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
613 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
613 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
614 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
614 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
615 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
615 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
616 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
616 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
617 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
617 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
618 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
618 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
619 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
619 +foo
620 +foo
620 +
621 +
621 +bar
622 +bar
622
623
623
624
624
625
625 $ rm mbox
626 $ rm mbox
626
627
627 iso-8859-1 patch:
628 iso-8859-1 patch:
628 $ $PYTHON -c 'fp = open("isolatin", "wb"); fp.write("h\xF6mma!\n"); fp.close();'
629 $ $PYTHON -c 'fp = open("isolatin", "wb"); fp.write("h\xF6mma!\n"); fp.close();'
629 $ hg commit -A -d '5 0' -m 'isolatin 8-bit encoding'
630 $ hg commit -A -d '5 0' -m 'isolatin 8-bit encoding'
630 adding isolatin
631 adding isolatin
631
632
632 iso-8859-1 mbox:
633 iso-8859-1 mbox:
633 $ hg email --date '1970-1-1 0:5' -f quux -t foo -c bar -r tip -m mbox
634 $ hg email --date '1970-1-1 0:5' -f quux -t foo -c bar -r tip -m mbox
634 this patch series consists of 1 patches.
635 this patch series consists of 1 patches.
635
636
636
637
637 sending [PATCH] isolatin 8-bit encoding ...
638 sending [PATCH] isolatin 8-bit encoding ...
638 $ cat mbox
639 $ cat mbox
639 From quux ... ... .. ..:..:.. .... (re)
640 From quux ... ... .. ..:..:.. .... (re)
640 Content-Type: text/plain; charset="iso-8859-1"
641 Content-Type: text/plain; charset="iso-8859-1"
641 MIME-Version: 1.0
642 MIME-Version: 1.0
642 Content-Transfer-Encoding: quoted-printable
643 Content-Transfer-Encoding: quoted-printable
643 Subject: [PATCH] isolatin 8-bit encoding
644 Subject: [PATCH] isolatin 8-bit encoding
644 X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
645 X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
645 X-Mercurial-Series-Index: 1
646 X-Mercurial-Series-Index: 1
646 X-Mercurial-Series-Total: 1
647 X-Mercurial-Series-Total: 1
647 Message-Id: <240fb913fc1b7ff15ddb.300@*> (glob)
648 Message-Id: <240fb913fc1b7ff15ddb.300@*> (glob)
648 X-Mercurial-Series-Id: <240fb913fc1b7ff15ddb.300@*> (glob)
649 X-Mercurial-Series-Id: <240fb913fc1b7ff15ddb.300@*> (glob)
649 User-Agent: Mercurial-patchbomb/* (glob)
650 User-Agent: Mercurial-patchbomb/* (glob)
650 Date: Thu, 01 Jan 1970 00:05:00 +0000
651 Date: Thu, 01 Jan 1970 00:05:00 +0000
651 From: quux
652 From: quux
652 To: foo
653 To: foo
653 Cc: bar
654 Cc: bar
654
655
655 # HG changeset patch
656 # HG changeset patch
656 # User test
657 # User test
657 # Date 5 0
658 # Date 5 0
658 # Thu Jan 01 00:00:05 1970 +0000
659 # Thu Jan 01 00:00:05 1970 +0000
659 # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
660 # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
660 # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
661 # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
661 isolatin 8-bit encoding
662 isolatin 8-bit encoding
662
663
663 diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin
664 diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin
664 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
665 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
665 +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000
666 +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000
666 @@ -0,0 +1,1 @@
667 @@ -0,0 +1,1 @@
667 +h=F6mma!
668 +h=F6mma!
668
669
669
670
670
671
671 test diffstat for single patch:
672 test diffstat for single patch:
672 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y -r 2
673 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y -r 2
673 this patch series consists of 1 patches.
674 this patch series consists of 1 patches.
674
675
675
676
676 Final summary:
677 Final summary:
677
678
678 From: quux
679 From: quux
679 To: foo
680 To: foo
680 Cc: bar
681 Cc: bar
681 Subject: [PATCH] test
682 Subject: [PATCH] test
682 c | 1 +
683 c | 1 +
683 1 files changed, 1 insertions(+), 0 deletions(-)
684 1 files changed, 1 insertions(+), 0 deletions(-)
684
685
685 are you sure you want to send (yn)? y
686 are you sure you want to send (yn)? y
686
687
687 displaying [PATCH] test ...
688 displaying [PATCH] test ...
688 Content-Type: text/plain; charset="us-ascii"
689 Content-Type: text/plain; charset="us-ascii"
689 MIME-Version: 1.0
690 MIME-Version: 1.0
690 Content-Transfer-Encoding: 7bit
691 Content-Transfer-Encoding: 7bit
691 Subject: [PATCH] test
692 Subject: [PATCH] test
692 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
693 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
693 X-Mercurial-Series-Index: 1
694 X-Mercurial-Series-Index: 1
694 X-Mercurial-Series-Total: 1
695 X-Mercurial-Series-Total: 1
695 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
696 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
696 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
697 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
697 User-Agent: Mercurial-patchbomb/* (glob)
698 User-Agent: Mercurial-patchbomb/* (glob)
698 Date: Thu, 01 Jan 1970 00:01:00 +0000
699 Date: Thu, 01 Jan 1970 00:01:00 +0000
699 From: quux
700 From: quux
700 To: foo
701 To: foo
701 Cc: bar
702 Cc: bar
702
703
703 c | 1 +
704 c | 1 +
704 1 files changed, 1 insertions(+), 0 deletions(-)
705 1 files changed, 1 insertions(+), 0 deletions(-)
705
706
706
707
707 # HG changeset patch
708 # HG changeset patch
708 # User test
709 # User test
709 # Date 3 0
710 # Date 3 0
710 # Thu Jan 01 00:00:03 1970 +0000
711 # Thu Jan 01 00:00:03 1970 +0000
711 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
712 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
712 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
713 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
713 c
714 c
714
715
715 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
716 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
716 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
717 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
717 +++ b/c Thu Jan 01 00:00:03 1970 +0000
718 +++ b/c Thu Jan 01 00:00:03 1970 +0000
718 @@ -0,0 +1,1 @@
719 @@ -0,0 +1,1 @@
719 +c
720 +c
720
721
721
722
722 test diffstat for multiple patches:
723 test diffstat for multiple patches:
723 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y \
724 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y \
724 > -r 0:1
725 > -r 0:1
725 this patch series consists of 2 patches.
726 this patch series consists of 2 patches.
726
727
727
728
728 Write the introductory message for the patch series.
729 Write the introductory message for the patch series.
729
730
730
731
731 Final summary:
732 Final summary:
732
733
733 From: quux
734 From: quux
734 To: foo
735 To: foo
735 Cc: bar
736 Cc: bar
736 Subject: [PATCH 0 of 2] test
737 Subject: [PATCH 0 of 2] test
737 a | 1 +
738 a | 1 +
738 b | 1 +
739 b | 1 +
739 2 files changed, 2 insertions(+), 0 deletions(-)
740 2 files changed, 2 insertions(+), 0 deletions(-)
740 Subject: [PATCH 1 of 2] a
741 Subject: [PATCH 1 of 2] a
741 a | 1 +
742 a | 1 +
742 1 files changed, 1 insertions(+), 0 deletions(-)
743 1 files changed, 1 insertions(+), 0 deletions(-)
743 Subject: [PATCH 2 of 2] b
744 Subject: [PATCH 2 of 2] b
744 b | 1 +
745 b | 1 +
745 1 files changed, 1 insertions(+), 0 deletions(-)
746 1 files changed, 1 insertions(+), 0 deletions(-)
746
747
747 are you sure you want to send (yn)? y
748 are you sure you want to send (yn)? y
748
749
749 displaying [PATCH 0 of 2] test ...
750 displaying [PATCH 0 of 2] test ...
750 Content-Type: text/plain; charset="us-ascii"
751 Content-Type: text/plain; charset="us-ascii"
751 MIME-Version: 1.0
752 MIME-Version: 1.0
752 Content-Transfer-Encoding: 7bit
753 Content-Transfer-Encoding: 7bit
753 Subject: [PATCH 0 of 2] test
754 Subject: [PATCH 0 of 2] test
754 Message-Id: <patchbomb.60@*> (glob)
755 Message-Id: <patchbomb.60@*> (glob)
755 User-Agent: Mercurial-patchbomb/* (glob)
756 User-Agent: Mercurial-patchbomb/* (glob)
756 Date: Thu, 01 Jan 1970 00:01:00 +0000
757 Date: Thu, 01 Jan 1970 00:01:00 +0000
757 From: quux
758 From: quux
758 To: foo
759 To: foo
759 Cc: bar
760 Cc: bar
760
761
761
762
762 a | 1 +
763 a | 1 +
763 b | 1 +
764 b | 1 +
764 2 files changed, 2 insertions(+), 0 deletions(-)
765 2 files changed, 2 insertions(+), 0 deletions(-)
765
766
766 displaying [PATCH 1 of 2] a ...
767 displaying [PATCH 1 of 2] a ...
767 Content-Type: text/plain; charset="us-ascii"
768 Content-Type: text/plain; charset="us-ascii"
768 MIME-Version: 1.0
769 MIME-Version: 1.0
769 Content-Transfer-Encoding: 7bit
770 Content-Transfer-Encoding: 7bit
770 Subject: [PATCH 1 of 2] a
771 Subject: [PATCH 1 of 2] a
771 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
772 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
772 X-Mercurial-Series-Index: 1
773 X-Mercurial-Series-Index: 1
773 X-Mercurial-Series-Total: 2
774 X-Mercurial-Series-Total: 2
774 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
775 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
775 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
776 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
776 In-Reply-To: <patchbomb.60@*> (glob)
777 In-Reply-To: <patchbomb.60@*> (glob)
777 References: <patchbomb.60@*> (glob)
778 References: <patchbomb.60@*> (glob)
778 User-Agent: Mercurial-patchbomb/* (glob)
779 User-Agent: Mercurial-patchbomb/* (glob)
779 Date: Thu, 01 Jan 1970 00:01:01 +0000
780 Date: Thu, 01 Jan 1970 00:01:01 +0000
780 From: quux
781 From: quux
781 To: foo
782 To: foo
782 Cc: bar
783 Cc: bar
783
784
784 a | 1 +
785 a | 1 +
785 1 files changed, 1 insertions(+), 0 deletions(-)
786 1 files changed, 1 insertions(+), 0 deletions(-)
786
787
787
788
788 # HG changeset patch
789 # HG changeset patch
789 # User test
790 # User test
790 # Date 1 0
791 # Date 1 0
791 # Thu Jan 01 00:00:01 1970 +0000
792 # Thu Jan 01 00:00:01 1970 +0000
792 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
793 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
793 # Parent 0000000000000000000000000000000000000000
794 # Parent 0000000000000000000000000000000000000000
794 a
795 a
795
796
796 diff -r 000000000000 -r 8580ff50825a a
797 diff -r 000000000000 -r 8580ff50825a a
797 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
798 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
798 +++ b/a Thu Jan 01 00:00:01 1970 +0000
799 +++ b/a Thu Jan 01 00:00:01 1970 +0000
799 @@ -0,0 +1,1 @@
800 @@ -0,0 +1,1 @@
800 +a
801 +a
801
802
802 displaying [PATCH 2 of 2] b ...
803 displaying [PATCH 2 of 2] b ...
803 Content-Type: text/plain; charset="us-ascii"
804 Content-Type: text/plain; charset="us-ascii"
804 MIME-Version: 1.0
805 MIME-Version: 1.0
805 Content-Transfer-Encoding: 7bit
806 Content-Transfer-Encoding: 7bit
806 Subject: [PATCH 2 of 2] b
807 Subject: [PATCH 2 of 2] b
807 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
808 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
808 X-Mercurial-Series-Index: 2
809 X-Mercurial-Series-Index: 2
809 X-Mercurial-Series-Total: 2
810 X-Mercurial-Series-Total: 2
810 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
811 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
811 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
812 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
812 In-Reply-To: <patchbomb.60@*> (glob)
813 In-Reply-To: <patchbomb.60@*> (glob)
813 References: <patchbomb.60@*> (glob)
814 References: <patchbomb.60@*> (glob)
814 User-Agent: Mercurial-patchbomb/* (glob)
815 User-Agent: Mercurial-patchbomb/* (glob)
815 Date: Thu, 01 Jan 1970 00:01:02 +0000
816 Date: Thu, 01 Jan 1970 00:01:02 +0000
816 From: quux
817 From: quux
817 To: foo
818 To: foo
818 Cc: bar
819 Cc: bar
819
820
820 b | 1 +
821 b | 1 +
821 1 files changed, 1 insertions(+), 0 deletions(-)
822 1 files changed, 1 insertions(+), 0 deletions(-)
822
823
823
824
824 # HG changeset patch
825 # HG changeset patch
825 # User test
826 # User test
826 # Date 2 0
827 # Date 2 0
827 # Thu Jan 01 00:00:02 1970 +0000
828 # Thu Jan 01 00:00:02 1970 +0000
828 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
829 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
829 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
830 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
830 b
831 b
831
832
832 diff -r 8580ff50825a -r 97d72e5f12c7 b
833 diff -r 8580ff50825a -r 97d72e5f12c7 b
833 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
834 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
834 +++ b/b Thu Jan 01 00:00:02 1970 +0000
835 +++ b/b Thu Jan 01 00:00:02 1970 +0000
835 @@ -0,0 +1,1 @@
836 @@ -0,0 +1,1 @@
836 +b
837 +b
837
838
838
839
839 test inline for single patch:
840 test inline for single patch:
840 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2 | $FILTERBOUNDARY
841 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2 | $FILTERBOUNDARY
841 this patch series consists of 1 patches.
842 this patch series consists of 1 patches.
842
843
843
844
844 displaying [PATCH] test ...
845 displaying [PATCH] test ...
845 Content-Type: multipart/mixed; boundary="===*==" (glob)
846 Content-Type: multipart/mixed; boundary="===*==" (glob)
846 MIME-Version: 1.0
847 MIME-Version: 1.0
847 Subject: [PATCH] test
848 Subject: [PATCH] test
848 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
849 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
849 X-Mercurial-Series-Index: 1
850 X-Mercurial-Series-Index: 1
850 X-Mercurial-Series-Total: 1
851 X-Mercurial-Series-Total: 1
851 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
852 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
852 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
853 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
853 User-Agent: Mercurial-patchbomb/* (glob)
854 User-Agent: Mercurial-patchbomb/* (glob)
854 Date: Thu, 01 Jan 1970 00:01:00 +0000
855 Date: Thu, 01 Jan 1970 00:01:00 +0000
855 From: quux
856 From: quux
856 To: foo
857 To: foo
857 Cc: bar
858 Cc: bar
858
859
859 --===*= (glob)
860 --===*= (glob)
860 Content-Type: text/x-patch; charset="us-ascii"
861 Content-Type: text/x-patch; charset="us-ascii"
861 MIME-Version: 1.0
862 MIME-Version: 1.0
862 Content-Transfer-Encoding: 7bit
863 Content-Transfer-Encoding: 7bit
863 Content-Disposition: inline; filename=t2.patch
864 Content-Disposition: inline; filename=t2.patch
864
865
865 # HG changeset patch
866 # HG changeset patch
866 # User test
867 # User test
867 # Date 3 0
868 # Date 3 0
868 # Thu Jan 01 00:00:03 1970 +0000
869 # Thu Jan 01 00:00:03 1970 +0000
869 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
870 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
870 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
871 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
871 c
872 c
872
873
873 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
874 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
874 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
875 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
875 +++ b/c Thu Jan 01 00:00:03 1970 +0000
876 +++ b/c Thu Jan 01 00:00:03 1970 +0000
876 @@ -0,0 +1,1 @@
877 @@ -0,0 +1,1 @@
877 +c
878 +c
878
879
879 --===*=-- (glob)
880 --===*=-- (glob)
880
881
881
882
882 test inline for single patch (quoted-printable):
883 test inline for single patch (quoted-printable):
883 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 4 | $FILTERBOUNDARY
884 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 4 | $FILTERBOUNDARY
884 this patch series consists of 1 patches.
885 this patch series consists of 1 patches.
885
886
886
887
887 displaying [PATCH] test ...
888 displaying [PATCH] test ...
888 Content-Type: multipart/mixed; boundary="===*==" (glob)
889 Content-Type: multipart/mixed; boundary="===*==" (glob)
889 MIME-Version: 1.0
890 MIME-Version: 1.0
890 Subject: [PATCH] test
891 Subject: [PATCH] test
891 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
892 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
892 X-Mercurial-Series-Index: 1
893 X-Mercurial-Series-Index: 1
893 X-Mercurial-Series-Total: 1
894 X-Mercurial-Series-Total: 1
894 Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob)
895 Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob)
895 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob)
896 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob)
896 User-Agent: Mercurial-patchbomb/* (glob)
897 User-Agent: Mercurial-patchbomb/* (glob)
897 Date: Thu, 01 Jan 1970 00:01:00 +0000
898 Date: Thu, 01 Jan 1970 00:01:00 +0000
898 From: quux
899 From: quux
899 To: foo
900 To: foo
900 Cc: bar
901 Cc: bar
901
902
902 --===*= (glob)
903 --===*= (glob)
903 Content-Type: text/x-patch; charset="us-ascii"
904 Content-Type: text/x-patch; charset="us-ascii"
904 MIME-Version: 1.0
905 MIME-Version: 1.0
905 Content-Transfer-Encoding: quoted-printable
906 Content-Transfer-Encoding: quoted-printable
906 Content-Disposition: inline; filename=t2.patch
907 Content-Disposition: inline; filename=t2.patch
907
908
908 # HG changeset patch
909 # HG changeset patch
909 # User test
910 # User test
910 # Date 4 0
911 # Date 4 0
911 # Thu Jan 01 00:00:04 1970 +0000
912 # Thu Jan 01 00:00:04 1970 +0000
912 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
913 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
913 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
914 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
914 long line
915 long line
915
916
916 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
917 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
917 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
918 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
918 +++ b/long Thu Jan 01 00:00:04 1970 +0000
919 +++ b/long Thu Jan 01 00:00:04 1970 +0000
919 @@ -0,0 +1,4 @@
920 @@ -0,0 +1,4 @@
920 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
921 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
921 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
922 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
922 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
923 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
923 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
924 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
924 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
925 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
925 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
926 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
926 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
927 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
927 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
928 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
928 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
929 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
929 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
930 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
930 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
931 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
931 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
932 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
932 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
933 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
933 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
934 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
934 +foo
935 +foo
935 +
936 +
936 +bar
937 +bar
937
938
938 --===*=-- (glob)
939 --===*=-- (glob)
939
940
940 test inline for multiple patches:
941 test inline for multiple patches:
941 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \
942 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \
942 > -r 0:1 -r 4 | $FILTERBOUNDARY
943 > -r 0:1 -r 4 | $FILTERBOUNDARY
943 this patch series consists of 3 patches.
944 this patch series consists of 3 patches.
944
945
945
946
946 Write the introductory message for the patch series.
947 Write the introductory message for the patch series.
947
948
948
949
949 displaying [PATCH 0 of 3] test ...
950 displaying [PATCH 0 of 3] test ...
950 Content-Type: text/plain; charset="us-ascii"
951 Content-Type: text/plain; charset="us-ascii"
951 MIME-Version: 1.0
952 MIME-Version: 1.0
952 Content-Transfer-Encoding: 7bit
953 Content-Transfer-Encoding: 7bit
953 Subject: [PATCH 0 of 3] test
954 Subject: [PATCH 0 of 3] test
954 Message-Id: <patchbomb.60@*> (glob)
955 Message-Id: <patchbomb.60@*> (glob)
955 User-Agent: Mercurial-patchbomb/* (glob)
956 User-Agent: Mercurial-patchbomb/* (glob)
956 Date: Thu, 01 Jan 1970 00:01:00 +0000
957 Date: Thu, 01 Jan 1970 00:01:00 +0000
957 From: quux
958 From: quux
958 To: foo
959 To: foo
959 Cc: bar
960 Cc: bar
960
961
961
962
962 displaying [PATCH 1 of 3] a ...
963 displaying [PATCH 1 of 3] a ...
963 Content-Type: multipart/mixed; boundary="===*==" (glob)
964 Content-Type: multipart/mixed; boundary="===*==" (glob)
964 MIME-Version: 1.0
965 MIME-Version: 1.0
965 Subject: [PATCH 1 of 3] a
966 Subject: [PATCH 1 of 3] a
966 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
967 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
967 X-Mercurial-Series-Index: 1
968 X-Mercurial-Series-Index: 1
968 X-Mercurial-Series-Total: 3
969 X-Mercurial-Series-Total: 3
969 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
970 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
970 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
971 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
971 In-Reply-To: <patchbomb.60@*> (glob)
972 In-Reply-To: <patchbomb.60@*> (glob)
972 References: <patchbomb.60@*> (glob)
973 References: <patchbomb.60@*> (glob)
973 User-Agent: Mercurial-patchbomb/* (glob)
974 User-Agent: Mercurial-patchbomb/* (glob)
974 Date: Thu, 01 Jan 1970 00:01:01 +0000
975 Date: Thu, 01 Jan 1970 00:01:01 +0000
975 From: quux
976 From: quux
976 To: foo
977 To: foo
977 Cc: bar
978 Cc: bar
978
979
979 --===*= (glob)
980 --===*= (glob)
980 Content-Type: text/x-patch; charset="us-ascii"
981 Content-Type: text/x-patch; charset="us-ascii"
981 MIME-Version: 1.0
982 MIME-Version: 1.0
982 Content-Transfer-Encoding: 7bit
983 Content-Transfer-Encoding: 7bit
983 Content-Disposition: inline; filename=t2-1.patch
984 Content-Disposition: inline; filename=t2-1.patch
984
985
985 # HG changeset patch
986 # HG changeset patch
986 # User test
987 # User test
987 # Date 1 0
988 # Date 1 0
988 # Thu Jan 01 00:00:01 1970 +0000
989 # Thu Jan 01 00:00:01 1970 +0000
989 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
990 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
990 # Parent 0000000000000000000000000000000000000000
991 # Parent 0000000000000000000000000000000000000000
991 a
992 a
992
993
993 diff -r 000000000000 -r 8580ff50825a a
994 diff -r 000000000000 -r 8580ff50825a a
994 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
995 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
995 +++ b/a Thu Jan 01 00:00:01 1970 +0000
996 +++ b/a Thu Jan 01 00:00:01 1970 +0000
996 @@ -0,0 +1,1 @@
997 @@ -0,0 +1,1 @@
997 +a
998 +a
998
999
999 --===*=-- (glob)
1000 --===*=-- (glob)
1000 displaying [PATCH 2 of 3] b ...
1001 displaying [PATCH 2 of 3] b ...
1001 Content-Type: multipart/mixed; boundary="===*==" (glob)
1002 Content-Type: multipart/mixed; boundary="===*==" (glob)
1002 MIME-Version: 1.0
1003 MIME-Version: 1.0
1003 Subject: [PATCH 2 of 3] b
1004 Subject: [PATCH 2 of 3] b
1004 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1005 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1005 X-Mercurial-Series-Index: 2
1006 X-Mercurial-Series-Index: 2
1006 X-Mercurial-Series-Total: 3
1007 X-Mercurial-Series-Total: 3
1007 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1008 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1008 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1009 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1009 In-Reply-To: <patchbomb.60@*> (glob)
1010 In-Reply-To: <patchbomb.60@*> (glob)
1010 References: <patchbomb.60@*> (glob)
1011 References: <patchbomb.60@*> (glob)
1011 User-Agent: Mercurial-patchbomb/* (glob)
1012 User-Agent: Mercurial-patchbomb/* (glob)
1012 Date: Thu, 01 Jan 1970 00:01:02 +0000
1013 Date: Thu, 01 Jan 1970 00:01:02 +0000
1013 From: quux
1014 From: quux
1014 To: foo
1015 To: foo
1015 Cc: bar
1016 Cc: bar
1016
1017
1017 --===*= (glob)
1018 --===*= (glob)
1018 Content-Type: text/x-patch; charset="us-ascii"
1019 Content-Type: text/x-patch; charset="us-ascii"
1019 MIME-Version: 1.0
1020 MIME-Version: 1.0
1020 Content-Transfer-Encoding: 7bit
1021 Content-Transfer-Encoding: 7bit
1021 Content-Disposition: inline; filename=t2-2.patch
1022 Content-Disposition: inline; filename=t2-2.patch
1022
1023
1023 # HG changeset patch
1024 # HG changeset patch
1024 # User test
1025 # User test
1025 # Date 2 0
1026 # Date 2 0
1026 # Thu Jan 01 00:00:02 1970 +0000
1027 # Thu Jan 01 00:00:02 1970 +0000
1027 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1028 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1028 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1029 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1029 b
1030 b
1030
1031
1031 diff -r 8580ff50825a -r 97d72e5f12c7 b
1032 diff -r 8580ff50825a -r 97d72e5f12c7 b
1032 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1033 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1033 +++ b/b Thu Jan 01 00:00:02 1970 +0000
1034 +++ b/b Thu Jan 01 00:00:02 1970 +0000
1034 @@ -0,0 +1,1 @@
1035 @@ -0,0 +1,1 @@
1035 +b
1036 +b
1036
1037
1037 --===*=-- (glob)
1038 --===*=-- (glob)
1038 displaying [PATCH 3 of 3] long line ...
1039 displaying [PATCH 3 of 3] long line ...
1039 Content-Type: multipart/mixed; boundary="===*==" (glob)
1040 Content-Type: multipart/mixed; boundary="===*==" (glob)
1040 MIME-Version: 1.0
1041 MIME-Version: 1.0
1041 Subject: [PATCH 3 of 3] long line
1042 Subject: [PATCH 3 of 3] long line
1042 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1043 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1043 X-Mercurial-Series-Index: 3
1044 X-Mercurial-Series-Index: 3
1044 X-Mercurial-Series-Total: 3
1045 X-Mercurial-Series-Total: 3
1045 Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob)
1046 Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob)
1046 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1047 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1047 In-Reply-To: <patchbomb.60@*> (glob)
1048 In-Reply-To: <patchbomb.60@*> (glob)
1048 References: <patchbomb.60@*> (glob)
1049 References: <patchbomb.60@*> (glob)
1049 User-Agent: Mercurial-patchbomb/* (glob)
1050 User-Agent: Mercurial-patchbomb/* (glob)
1050 Date: Thu, 01 Jan 1970 00:01:03 +0000
1051 Date: Thu, 01 Jan 1970 00:01:03 +0000
1051 From: quux
1052 From: quux
1052 To: foo
1053 To: foo
1053 Cc: bar
1054 Cc: bar
1054
1055
1055 --===*= (glob)
1056 --===*= (glob)
1056 Content-Type: text/x-patch; charset="us-ascii"
1057 Content-Type: text/x-patch; charset="us-ascii"
1057 MIME-Version: 1.0
1058 MIME-Version: 1.0
1058 Content-Transfer-Encoding: quoted-printable
1059 Content-Transfer-Encoding: quoted-printable
1059 Content-Disposition: inline; filename=t2-3.patch
1060 Content-Disposition: inline; filename=t2-3.patch
1060
1061
1061 # HG changeset patch
1062 # HG changeset patch
1062 # User test
1063 # User test
1063 # Date 4 0
1064 # Date 4 0
1064 # Thu Jan 01 00:00:04 1970 +0000
1065 # Thu Jan 01 00:00:04 1970 +0000
1065 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1066 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1066 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
1067 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
1067 long line
1068 long line
1068
1069
1069 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
1070 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
1070 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1071 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1071 +++ b/long Thu Jan 01 00:00:04 1970 +0000
1072 +++ b/long Thu Jan 01 00:00:04 1970 +0000
1072 @@ -0,0 +1,4 @@
1073 @@ -0,0 +1,4 @@
1073 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1074 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1074 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1075 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1075 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1076 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1076 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1077 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1077 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1078 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1078 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1079 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1079 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1080 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1080 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1081 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1081 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1082 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1082 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1083 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1083 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1084 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1084 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1085 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1085 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1086 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1086 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
1087 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
1087 +foo
1088 +foo
1088 +
1089 +
1089 +bar
1090 +bar
1090
1091
1091 --===*=-- (glob)
1092 --===*=-- (glob)
1092
1093
1093 test attach for single patch:
1094 test attach for single patch:
1094 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 2 | $FILTERBOUNDARY
1095 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 2 | $FILTERBOUNDARY
1095 this patch series consists of 1 patches.
1096 this patch series consists of 1 patches.
1096
1097
1097
1098
1098 displaying [PATCH] test ...
1099 displaying [PATCH] test ...
1099 Content-Type: multipart/mixed; boundary="===*==" (glob)
1100 Content-Type: multipart/mixed; boundary="===*==" (glob)
1100 MIME-Version: 1.0
1101 MIME-Version: 1.0
1101 Subject: [PATCH] test
1102 Subject: [PATCH] test
1102 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1103 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1103 X-Mercurial-Series-Index: 1
1104 X-Mercurial-Series-Index: 1
1104 X-Mercurial-Series-Total: 1
1105 X-Mercurial-Series-Total: 1
1105 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1106 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1106 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1107 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1107 User-Agent: Mercurial-patchbomb/* (glob)
1108 User-Agent: Mercurial-patchbomb/* (glob)
1108 Date: Thu, 01 Jan 1970 00:01:00 +0000
1109 Date: Thu, 01 Jan 1970 00:01:00 +0000
1109 From: quux
1110 From: quux
1110 To: foo
1111 To: foo
1111 Cc: bar
1112 Cc: bar
1112
1113
1113 --===*= (glob)
1114 --===*= (glob)
1114 Content-Type: text/plain; charset="us-ascii"
1115 Content-Type: text/plain; charset="us-ascii"
1115 MIME-Version: 1.0
1116 MIME-Version: 1.0
1116 Content-Transfer-Encoding: 7bit
1117 Content-Transfer-Encoding: 7bit
1117
1118
1118 Patch subject is complete summary.
1119 Patch subject is complete summary.
1119
1120
1120
1121
1121
1122
1122 --===*= (glob)
1123 --===*= (glob)
1123 Content-Type: text/x-patch; charset="us-ascii"
1124 Content-Type: text/x-patch; charset="us-ascii"
1124 MIME-Version: 1.0
1125 MIME-Version: 1.0
1125 Content-Transfer-Encoding: 7bit
1126 Content-Transfer-Encoding: 7bit
1126 Content-Disposition: attachment; filename=t2.patch
1127 Content-Disposition: attachment; filename=t2.patch
1127
1128
1128 # HG changeset patch
1129 # HG changeset patch
1129 # User test
1130 # User test
1130 # Date 3 0
1131 # Date 3 0
1131 # Thu Jan 01 00:00:03 1970 +0000
1132 # Thu Jan 01 00:00:03 1970 +0000
1132 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1133 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1133 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1134 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1134 c
1135 c
1135
1136
1136 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1137 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1137 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1138 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1138 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1139 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1139 @@ -0,0 +1,1 @@
1140 @@ -0,0 +1,1 @@
1140 +c
1141 +c
1141
1142
1142 --===*=-- (glob)
1143 --===*=-- (glob)
1143
1144
1144 test attach for single patch (quoted-printable):
1145 test attach for single patch (quoted-printable):
1145 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 4 | $FILTERBOUNDARY
1146 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 4 | $FILTERBOUNDARY
1146 this patch series consists of 1 patches.
1147 this patch series consists of 1 patches.
1147
1148
1148
1149
1149 displaying [PATCH] test ...
1150 displaying [PATCH] test ...
1150 Content-Type: multipart/mixed; boundary="===*==" (glob)
1151 Content-Type: multipart/mixed; boundary="===*==" (glob)
1151 MIME-Version: 1.0
1152 MIME-Version: 1.0
1152 Subject: [PATCH] test
1153 Subject: [PATCH] test
1153 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1154 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1154 X-Mercurial-Series-Index: 1
1155 X-Mercurial-Series-Index: 1
1155 X-Mercurial-Series-Total: 1
1156 X-Mercurial-Series-Total: 1
1156 Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob)
1157 Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob)
1157 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob)
1158 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob)
1158 User-Agent: Mercurial-patchbomb/* (glob)
1159 User-Agent: Mercurial-patchbomb/* (glob)
1159 Date: Thu, 01 Jan 1970 00:01:00 +0000
1160 Date: Thu, 01 Jan 1970 00:01:00 +0000
1160 From: quux
1161 From: quux
1161 To: foo
1162 To: foo
1162 Cc: bar
1163 Cc: bar
1163
1164
1164 --===*= (glob)
1165 --===*= (glob)
1165 Content-Type: text/plain; charset="us-ascii"
1166 Content-Type: text/plain; charset="us-ascii"
1166 MIME-Version: 1.0
1167 MIME-Version: 1.0
1167 Content-Transfer-Encoding: 7bit
1168 Content-Transfer-Encoding: 7bit
1168
1169
1169 Patch subject is complete summary.
1170 Patch subject is complete summary.
1170
1171
1171
1172
1172
1173
1173 --===*= (glob)
1174 --===*= (glob)
1174 Content-Type: text/x-patch; charset="us-ascii"
1175 Content-Type: text/x-patch; charset="us-ascii"
1175 MIME-Version: 1.0
1176 MIME-Version: 1.0
1176 Content-Transfer-Encoding: quoted-printable
1177 Content-Transfer-Encoding: quoted-printable
1177 Content-Disposition: attachment; filename=t2.patch
1178 Content-Disposition: attachment; filename=t2.patch
1178
1179
1179 # HG changeset patch
1180 # HG changeset patch
1180 # User test
1181 # User test
1181 # Date 4 0
1182 # Date 4 0
1182 # Thu Jan 01 00:00:04 1970 +0000
1183 # Thu Jan 01 00:00:04 1970 +0000
1183 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1184 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1184 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
1185 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
1185 long line
1186 long line
1186
1187
1187 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
1188 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
1188 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1189 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1189 +++ b/long Thu Jan 01 00:00:04 1970 +0000
1190 +++ b/long Thu Jan 01 00:00:04 1970 +0000
1190 @@ -0,0 +1,4 @@
1191 @@ -0,0 +1,4 @@
1191 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1192 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1192 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1193 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1193 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1194 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1194 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1195 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1195 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1196 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1196 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1197 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1197 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1198 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1198 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1199 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1199 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1200 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1200 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1201 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1201 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1202 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1202 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1203 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1203 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1204 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1204 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
1205 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
1205 +foo
1206 +foo
1206 +
1207 +
1207 +bar
1208 +bar
1208
1209
1209 --===*=-- (glob)
1210 --===*=-- (glob)
1210
1211
1211 test attach and body for single patch:
1212 test attach and body for single patch:
1212 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a --body -r 2 | $FILTERBOUNDARY
1213 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a --body -r 2 | $FILTERBOUNDARY
1213 this patch series consists of 1 patches.
1214 this patch series consists of 1 patches.
1214
1215
1215
1216
1216 displaying [PATCH] test ...
1217 displaying [PATCH] test ...
1217 Content-Type: multipart/mixed; boundary="===*==" (glob)
1218 Content-Type: multipart/mixed; boundary="===*==" (glob)
1218 MIME-Version: 1.0
1219 MIME-Version: 1.0
1219 Subject: [PATCH] test
1220 Subject: [PATCH] test
1220 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1221 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1221 X-Mercurial-Series-Index: 1
1222 X-Mercurial-Series-Index: 1
1222 X-Mercurial-Series-Total: 1
1223 X-Mercurial-Series-Total: 1
1223 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1224 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1224 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1225 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1225 User-Agent: Mercurial-patchbomb/* (glob)
1226 User-Agent: Mercurial-patchbomb/* (glob)
1226 Date: Thu, 01 Jan 1970 00:01:00 +0000
1227 Date: Thu, 01 Jan 1970 00:01:00 +0000
1227 From: quux
1228 From: quux
1228 To: foo
1229 To: foo
1229 Cc: bar
1230 Cc: bar
1230
1231
1231 --===*= (glob)
1232 --===*= (glob)
1232 Content-Type: text/plain; charset="us-ascii"
1233 Content-Type: text/plain; charset="us-ascii"
1233 MIME-Version: 1.0
1234 MIME-Version: 1.0
1234 Content-Transfer-Encoding: 7bit
1235 Content-Transfer-Encoding: 7bit
1235
1236
1236 # HG changeset patch
1237 # HG changeset patch
1237 # User test
1238 # User test
1238 # Date 3 0
1239 # Date 3 0
1239 # Thu Jan 01 00:00:03 1970 +0000
1240 # Thu Jan 01 00:00:03 1970 +0000
1240 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1241 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1241 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1242 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1242 c
1243 c
1243
1244
1244 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1245 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1245 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1246 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1246 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1247 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1247 @@ -0,0 +1,1 @@
1248 @@ -0,0 +1,1 @@
1248 +c
1249 +c
1249
1250
1250 --===*= (glob)
1251 --===*= (glob)
1251 Content-Type: text/x-patch; charset="us-ascii"
1252 Content-Type: text/x-patch; charset="us-ascii"
1252 MIME-Version: 1.0
1253 MIME-Version: 1.0
1253 Content-Transfer-Encoding: 7bit
1254 Content-Transfer-Encoding: 7bit
1254 Content-Disposition: attachment; filename=t2.patch
1255 Content-Disposition: attachment; filename=t2.patch
1255
1256
1256 # HG changeset patch
1257 # HG changeset patch
1257 # User test
1258 # User test
1258 # Date 3 0
1259 # Date 3 0
1259 # Thu Jan 01 00:00:03 1970 +0000
1260 # Thu Jan 01 00:00:03 1970 +0000
1260 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1261 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1261 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1262 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1262 c
1263 c
1263
1264
1264 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1265 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1265 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1266 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1266 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1267 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1267 @@ -0,0 +1,1 @@
1268 @@ -0,0 +1,1 @@
1268 +c
1269 +c
1269
1270
1270 --===*=-- (glob)
1271 --===*=-- (glob)
1271
1272
1272 test attach for multiple patches:
1273 test attach for multiple patches:
1273 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a \
1274 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a \
1274 > -r 0:1 -r 4 | $FILTERBOUNDARY
1275 > -r 0:1 -r 4 | $FILTERBOUNDARY
1275 this patch series consists of 3 patches.
1276 this patch series consists of 3 patches.
1276
1277
1277
1278
1278 Write the introductory message for the patch series.
1279 Write the introductory message for the patch series.
1279
1280
1280
1281
1281 displaying [PATCH 0 of 3] test ...
1282 displaying [PATCH 0 of 3] test ...
1282 Content-Type: text/plain; charset="us-ascii"
1283 Content-Type: text/plain; charset="us-ascii"
1283 MIME-Version: 1.0
1284 MIME-Version: 1.0
1284 Content-Transfer-Encoding: 7bit
1285 Content-Transfer-Encoding: 7bit
1285 Subject: [PATCH 0 of 3] test
1286 Subject: [PATCH 0 of 3] test
1286 Message-Id: <patchbomb.60@*> (glob)
1287 Message-Id: <patchbomb.60@*> (glob)
1287 User-Agent: Mercurial-patchbomb/* (glob)
1288 User-Agent: Mercurial-patchbomb/* (glob)
1288 Date: Thu, 01 Jan 1970 00:01:00 +0000
1289 Date: Thu, 01 Jan 1970 00:01:00 +0000
1289 From: quux
1290 From: quux
1290 To: foo
1291 To: foo
1291 Cc: bar
1292 Cc: bar
1292
1293
1293
1294
1294 displaying [PATCH 1 of 3] a ...
1295 displaying [PATCH 1 of 3] a ...
1295 Content-Type: multipart/mixed; boundary="===*==" (glob)
1296 Content-Type: multipart/mixed; boundary="===*==" (glob)
1296 MIME-Version: 1.0
1297 MIME-Version: 1.0
1297 Subject: [PATCH 1 of 3] a
1298 Subject: [PATCH 1 of 3] a
1298 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1299 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1299 X-Mercurial-Series-Index: 1
1300 X-Mercurial-Series-Index: 1
1300 X-Mercurial-Series-Total: 3
1301 X-Mercurial-Series-Total: 3
1301 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1302 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1302 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1303 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1303 In-Reply-To: <patchbomb.60@*> (glob)
1304 In-Reply-To: <patchbomb.60@*> (glob)
1304 References: <patchbomb.60@*> (glob)
1305 References: <patchbomb.60@*> (glob)
1305 User-Agent: Mercurial-patchbomb/* (glob)
1306 User-Agent: Mercurial-patchbomb/* (glob)
1306 Date: Thu, 01 Jan 1970 00:01:01 +0000
1307 Date: Thu, 01 Jan 1970 00:01:01 +0000
1307 From: quux
1308 From: quux
1308 To: foo
1309 To: foo
1309 Cc: bar
1310 Cc: bar
1310
1311
1311 --===*= (glob)
1312 --===*= (glob)
1312 Content-Type: text/plain; charset="us-ascii"
1313 Content-Type: text/plain; charset="us-ascii"
1313 MIME-Version: 1.0
1314 MIME-Version: 1.0
1314 Content-Transfer-Encoding: 7bit
1315 Content-Transfer-Encoding: 7bit
1315
1316
1316 Patch subject is complete summary.
1317 Patch subject is complete summary.
1317
1318
1318
1319
1319
1320
1320 --===*= (glob)
1321 --===*= (glob)
1321 Content-Type: text/x-patch; charset="us-ascii"
1322 Content-Type: text/x-patch; charset="us-ascii"
1322 MIME-Version: 1.0
1323 MIME-Version: 1.0
1323 Content-Transfer-Encoding: 7bit
1324 Content-Transfer-Encoding: 7bit
1324 Content-Disposition: attachment; filename=t2-1.patch
1325 Content-Disposition: attachment; filename=t2-1.patch
1325
1326
1326 # HG changeset patch
1327 # HG changeset patch
1327 # User test
1328 # User test
1328 # Date 1 0
1329 # Date 1 0
1329 # Thu Jan 01 00:00:01 1970 +0000
1330 # Thu Jan 01 00:00:01 1970 +0000
1330 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1331 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1331 # Parent 0000000000000000000000000000000000000000
1332 # Parent 0000000000000000000000000000000000000000
1332 a
1333 a
1333
1334
1334 diff -r 000000000000 -r 8580ff50825a a
1335 diff -r 000000000000 -r 8580ff50825a a
1335 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1336 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1336 +++ b/a Thu Jan 01 00:00:01 1970 +0000
1337 +++ b/a Thu Jan 01 00:00:01 1970 +0000
1337 @@ -0,0 +1,1 @@
1338 @@ -0,0 +1,1 @@
1338 +a
1339 +a
1339
1340
1340 --===*=-- (glob)
1341 --===*=-- (glob)
1341 displaying [PATCH 2 of 3] b ...
1342 displaying [PATCH 2 of 3] b ...
1342 Content-Type: multipart/mixed; boundary="===*==" (glob)
1343 Content-Type: multipart/mixed; boundary="===*==" (glob)
1343 MIME-Version: 1.0
1344 MIME-Version: 1.0
1344 Subject: [PATCH 2 of 3] b
1345 Subject: [PATCH 2 of 3] b
1345 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1346 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1346 X-Mercurial-Series-Index: 2
1347 X-Mercurial-Series-Index: 2
1347 X-Mercurial-Series-Total: 3
1348 X-Mercurial-Series-Total: 3
1348 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1349 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1349 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1350 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1350 In-Reply-To: <patchbomb.60@*> (glob)
1351 In-Reply-To: <patchbomb.60@*> (glob)
1351 References: <patchbomb.60@*> (glob)
1352 References: <patchbomb.60@*> (glob)
1352 User-Agent: Mercurial-patchbomb/* (glob)
1353 User-Agent: Mercurial-patchbomb/* (glob)
1353 Date: Thu, 01 Jan 1970 00:01:02 +0000
1354 Date: Thu, 01 Jan 1970 00:01:02 +0000
1354 From: quux
1355 From: quux
1355 To: foo
1356 To: foo
1356 Cc: bar
1357 Cc: bar
1357
1358
1358 --===*= (glob)
1359 --===*= (glob)
1359 Content-Type: text/plain; charset="us-ascii"
1360 Content-Type: text/plain; charset="us-ascii"
1360 MIME-Version: 1.0
1361 MIME-Version: 1.0
1361 Content-Transfer-Encoding: 7bit
1362 Content-Transfer-Encoding: 7bit
1362
1363
1363 Patch subject is complete summary.
1364 Patch subject is complete summary.
1364
1365
1365
1366
1366
1367
1367 --===*= (glob)
1368 --===*= (glob)
1368 Content-Type: text/x-patch; charset="us-ascii"
1369 Content-Type: text/x-patch; charset="us-ascii"
1369 MIME-Version: 1.0
1370 MIME-Version: 1.0
1370 Content-Transfer-Encoding: 7bit
1371 Content-Transfer-Encoding: 7bit
1371 Content-Disposition: attachment; filename=t2-2.patch
1372 Content-Disposition: attachment; filename=t2-2.patch
1372
1373
1373 # HG changeset patch
1374 # HG changeset patch
1374 # User test
1375 # User test
1375 # Date 2 0
1376 # Date 2 0
1376 # Thu Jan 01 00:00:02 1970 +0000
1377 # Thu Jan 01 00:00:02 1970 +0000
1377 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1378 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1378 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1379 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1379 b
1380 b
1380
1381
1381 diff -r 8580ff50825a -r 97d72e5f12c7 b
1382 diff -r 8580ff50825a -r 97d72e5f12c7 b
1382 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1383 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1383 +++ b/b Thu Jan 01 00:00:02 1970 +0000
1384 +++ b/b Thu Jan 01 00:00:02 1970 +0000
1384 @@ -0,0 +1,1 @@
1385 @@ -0,0 +1,1 @@
1385 +b
1386 +b
1386
1387
1387 --===*=-- (glob)
1388 --===*=-- (glob)
1388 displaying [PATCH 3 of 3] long line ...
1389 displaying [PATCH 3 of 3] long line ...
1389 Content-Type: multipart/mixed; boundary="===*==" (glob)
1390 Content-Type: multipart/mixed; boundary="===*==" (glob)
1390 MIME-Version: 1.0
1391 MIME-Version: 1.0
1391 Subject: [PATCH 3 of 3] long line
1392 Subject: [PATCH 3 of 3] long line
1392 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1393 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1393 X-Mercurial-Series-Index: 3
1394 X-Mercurial-Series-Index: 3
1394 X-Mercurial-Series-Total: 3
1395 X-Mercurial-Series-Total: 3
1395 Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob)
1396 Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob)
1396 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1397 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1397 In-Reply-To: <patchbomb.60@*> (glob)
1398 In-Reply-To: <patchbomb.60@*> (glob)
1398 References: <patchbomb.60@*> (glob)
1399 References: <patchbomb.60@*> (glob)
1399 User-Agent: Mercurial-patchbomb/* (glob)
1400 User-Agent: Mercurial-patchbomb/* (glob)
1400 Date: Thu, 01 Jan 1970 00:01:03 +0000
1401 Date: Thu, 01 Jan 1970 00:01:03 +0000
1401 From: quux
1402 From: quux
1402 To: foo
1403 To: foo
1403 Cc: bar
1404 Cc: bar
1404
1405
1405 --===*= (glob)
1406 --===*= (glob)
1406 Content-Type: text/plain; charset="us-ascii"
1407 Content-Type: text/plain; charset="us-ascii"
1407 MIME-Version: 1.0
1408 MIME-Version: 1.0
1408 Content-Transfer-Encoding: 7bit
1409 Content-Transfer-Encoding: 7bit
1409
1410
1410 Patch subject is complete summary.
1411 Patch subject is complete summary.
1411
1412
1412
1413
1413
1414
1414 --===*= (glob)
1415 --===*= (glob)
1415 Content-Type: text/x-patch; charset="us-ascii"
1416 Content-Type: text/x-patch; charset="us-ascii"
1416 MIME-Version: 1.0
1417 MIME-Version: 1.0
1417 Content-Transfer-Encoding: quoted-printable
1418 Content-Transfer-Encoding: quoted-printable
1418 Content-Disposition: attachment; filename=t2-3.patch
1419 Content-Disposition: attachment; filename=t2-3.patch
1419
1420
1420 # HG changeset patch
1421 # HG changeset patch
1421 # User test
1422 # User test
1422 # Date 4 0
1423 # Date 4 0
1423 # Thu Jan 01 00:00:04 1970 +0000
1424 # Thu Jan 01 00:00:04 1970 +0000
1424 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1425 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
1425 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
1426 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
1426 long line
1427 long line
1427
1428
1428 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
1429 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
1429 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1430 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1430 +++ b/long Thu Jan 01 00:00:04 1970 +0000
1431 +++ b/long Thu Jan 01 00:00:04 1970 +0000
1431 @@ -0,0 +1,4 @@
1432 @@ -0,0 +1,4 @@
1432 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1433 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1433 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1434 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1434 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1435 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1435 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1436 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1436 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1437 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1437 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1438 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1438 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1439 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1439 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1440 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1440 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1441 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1441 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1442 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1442 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1443 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1443 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1444 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1444 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1445 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1445 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
1446 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
1446 +foo
1447 +foo
1447 +
1448 +
1448 +bar
1449 +bar
1449
1450
1450 --===*=-- (glob)
1451 --===*=-- (glob)
1451
1452
1452 test intro for single patch:
1453 test intro for single patch:
1453 $ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \
1454 $ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \
1454 > -r 2
1455 > -r 2
1455 this patch series consists of 1 patches.
1456 this patch series consists of 1 patches.
1456
1457
1457
1458
1458 Write the introductory message for the patch series.
1459 Write the introductory message for the patch series.
1459
1460
1460
1461
1461 displaying [PATCH 0 of 1] test ...
1462 displaying [PATCH 0 of 1] test ...
1462 Content-Type: text/plain; charset="us-ascii"
1463 Content-Type: text/plain; charset="us-ascii"
1463 MIME-Version: 1.0
1464 MIME-Version: 1.0
1464 Content-Transfer-Encoding: 7bit
1465 Content-Transfer-Encoding: 7bit
1465 Subject: [PATCH 0 of 1] test
1466 Subject: [PATCH 0 of 1] test
1466 Message-Id: <patchbomb.60@*> (glob)
1467 Message-Id: <patchbomb.60@*> (glob)
1467 User-Agent: Mercurial-patchbomb/* (glob)
1468 User-Agent: Mercurial-patchbomb/* (glob)
1468 Date: Thu, 01 Jan 1970 00:01:00 +0000
1469 Date: Thu, 01 Jan 1970 00:01:00 +0000
1469 From: quux
1470 From: quux
1470 To: foo
1471 To: foo
1471 Cc: bar
1472 Cc: bar
1472
1473
1473
1474
1474 displaying [PATCH 1 of 1] c ...
1475 displaying [PATCH 1 of 1] c ...
1475 Content-Type: text/plain; charset="us-ascii"
1476 Content-Type: text/plain; charset="us-ascii"
1476 MIME-Version: 1.0
1477 MIME-Version: 1.0
1477 Content-Transfer-Encoding: 7bit
1478 Content-Transfer-Encoding: 7bit
1478 Subject: [PATCH 1 of 1] c
1479 Subject: [PATCH 1 of 1] c
1479 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1480 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1480 X-Mercurial-Series-Index: 1
1481 X-Mercurial-Series-Index: 1
1481 X-Mercurial-Series-Total: 1
1482 X-Mercurial-Series-Total: 1
1482 Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
1483 Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
1483 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
1484 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
1484 In-Reply-To: <patchbomb.60@*> (glob)
1485 In-Reply-To: <patchbomb.60@*> (glob)
1485 References: <patchbomb.60@*> (glob)
1486 References: <patchbomb.60@*> (glob)
1486 User-Agent: Mercurial-patchbomb/* (glob)
1487 User-Agent: Mercurial-patchbomb/* (glob)
1487 Date: Thu, 01 Jan 1970 00:01:01 +0000
1488 Date: Thu, 01 Jan 1970 00:01:01 +0000
1488 From: quux
1489 From: quux
1489 To: foo
1490 To: foo
1490 Cc: bar
1491 Cc: bar
1491
1492
1492 # HG changeset patch
1493 # HG changeset patch
1493 # User test
1494 # User test
1494 # Date 3 0
1495 # Date 3 0
1495 # Thu Jan 01 00:00:03 1970 +0000
1496 # Thu Jan 01 00:00:03 1970 +0000
1496 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1497 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1497 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1498 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1498 c
1499 c
1499
1500
1500 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1501 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1501 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1502 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1502 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1503 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1503 @@ -0,0 +1,1 @@
1504 @@ -0,0 +1,1 @@
1504 +c
1505 +c
1505
1506
1506
1507
1507 test --desc without --intro for a single patch:
1508 test --desc without --intro for a single patch:
1508 $ echo foo > intro.text
1509 $ echo foo > intro.text
1509 $ hg email --date '1970-1-1 0:1' -n --desc intro.text -f quux -t foo -c bar \
1510 $ hg email --date '1970-1-1 0:1' -n --desc intro.text -f quux -t foo -c bar \
1510 > -s test -r 2
1511 > -s test -r 2
1511 this patch series consists of 1 patches.
1512 this patch series consists of 1 patches.
1512
1513
1513
1514
1514 displaying [PATCH 0 of 1] test ...
1515 displaying [PATCH 0 of 1] test ...
1515 Content-Type: text/plain; charset="us-ascii"
1516 Content-Type: text/plain; charset="us-ascii"
1516 MIME-Version: 1.0
1517 MIME-Version: 1.0
1517 Content-Transfer-Encoding: 7bit
1518 Content-Transfer-Encoding: 7bit
1518 Subject: [PATCH 0 of 1] test
1519 Subject: [PATCH 0 of 1] test
1519 Message-Id: <patchbomb.60@*> (glob)
1520 Message-Id: <patchbomb.60@*> (glob)
1520 User-Agent: Mercurial-patchbomb/* (glob)
1521 User-Agent: Mercurial-patchbomb/* (glob)
1521 Date: Thu, 01 Jan 1970 00:01:00 +0000
1522 Date: Thu, 01 Jan 1970 00:01:00 +0000
1522 From: quux
1523 From: quux
1523 To: foo
1524 To: foo
1524 Cc: bar
1525 Cc: bar
1525
1526
1526 foo
1527 foo
1527
1528
1528 displaying [PATCH 1 of 1] c ...
1529 displaying [PATCH 1 of 1] c ...
1529 Content-Type: text/plain; charset="us-ascii"
1530 Content-Type: text/plain; charset="us-ascii"
1530 MIME-Version: 1.0
1531 MIME-Version: 1.0
1531 Content-Transfer-Encoding: 7bit
1532 Content-Transfer-Encoding: 7bit
1532 Subject: [PATCH 1 of 1] c
1533 Subject: [PATCH 1 of 1] c
1533 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1534 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1534 X-Mercurial-Series-Index: 1
1535 X-Mercurial-Series-Index: 1
1535 X-Mercurial-Series-Total: 1
1536 X-Mercurial-Series-Total: 1
1536 Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
1537 Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
1537 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
1538 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
1538 In-Reply-To: <patchbomb.60@*> (glob)
1539 In-Reply-To: <patchbomb.60@*> (glob)
1539 References: <patchbomb.60@*> (glob)
1540 References: <patchbomb.60@*> (glob)
1540 User-Agent: Mercurial-patchbomb/* (glob)
1541 User-Agent: Mercurial-patchbomb/* (glob)
1541 Date: Thu, 01 Jan 1970 00:01:01 +0000
1542 Date: Thu, 01 Jan 1970 00:01:01 +0000
1542 From: quux
1543 From: quux
1543 To: foo
1544 To: foo
1544 Cc: bar
1545 Cc: bar
1545
1546
1546 # HG changeset patch
1547 # HG changeset patch
1547 # User test
1548 # User test
1548 # Date 3 0
1549 # Date 3 0
1549 # Thu Jan 01 00:00:03 1970 +0000
1550 # Thu Jan 01 00:00:03 1970 +0000
1550 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1551 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1551 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1552 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1552 c
1553 c
1553
1554
1554 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1555 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1555 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1556 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1556 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1557 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1557 @@ -0,0 +1,1 @@
1558 @@ -0,0 +1,1 @@
1558 +c
1559 +c
1559
1560
1560
1561
1561 test intro for multiple patches:
1562 test intro for multiple patches:
1562 $ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \
1563 $ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \
1563 > -r 0:1
1564 > -r 0:1
1564 this patch series consists of 2 patches.
1565 this patch series consists of 2 patches.
1565
1566
1566
1567
1567 Write the introductory message for the patch series.
1568 Write the introductory message for the patch series.
1568
1569
1569
1570
1570 displaying [PATCH 0 of 2] test ...
1571 displaying [PATCH 0 of 2] test ...
1571 Content-Type: text/plain; charset="us-ascii"
1572 Content-Type: text/plain; charset="us-ascii"
1572 MIME-Version: 1.0
1573 MIME-Version: 1.0
1573 Content-Transfer-Encoding: 7bit
1574 Content-Transfer-Encoding: 7bit
1574 Subject: [PATCH 0 of 2] test
1575 Subject: [PATCH 0 of 2] test
1575 Message-Id: <patchbomb.60@*> (glob)
1576 Message-Id: <patchbomb.60@*> (glob)
1576 User-Agent: Mercurial-patchbomb/* (glob)
1577 User-Agent: Mercurial-patchbomb/* (glob)
1577 Date: Thu, 01 Jan 1970 00:01:00 +0000
1578 Date: Thu, 01 Jan 1970 00:01:00 +0000
1578 From: quux
1579 From: quux
1579 To: foo
1580 To: foo
1580 Cc: bar
1581 Cc: bar
1581
1582
1582
1583
1583 displaying [PATCH 1 of 2] a ...
1584 displaying [PATCH 1 of 2] a ...
1584 Content-Type: text/plain; charset="us-ascii"
1585 Content-Type: text/plain; charset="us-ascii"
1585 MIME-Version: 1.0
1586 MIME-Version: 1.0
1586 Content-Transfer-Encoding: 7bit
1587 Content-Transfer-Encoding: 7bit
1587 Subject: [PATCH 1 of 2] a
1588 Subject: [PATCH 1 of 2] a
1588 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1589 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1589 X-Mercurial-Series-Index: 1
1590 X-Mercurial-Series-Index: 1
1590 X-Mercurial-Series-Total: 2
1591 X-Mercurial-Series-Total: 2
1591 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1592 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1592 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1593 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1593 In-Reply-To: <patchbomb.60@*> (glob)
1594 In-Reply-To: <patchbomb.60@*> (glob)
1594 References: <patchbomb.60@*> (glob)
1595 References: <patchbomb.60@*> (glob)
1595 User-Agent: Mercurial-patchbomb/* (glob)
1596 User-Agent: Mercurial-patchbomb/* (glob)
1596 Date: Thu, 01 Jan 1970 00:01:01 +0000
1597 Date: Thu, 01 Jan 1970 00:01:01 +0000
1597 From: quux
1598 From: quux
1598 To: foo
1599 To: foo
1599 Cc: bar
1600 Cc: bar
1600
1601
1601 # HG changeset patch
1602 # HG changeset patch
1602 # User test
1603 # User test
1603 # Date 1 0
1604 # Date 1 0
1604 # Thu Jan 01 00:00:01 1970 +0000
1605 # Thu Jan 01 00:00:01 1970 +0000
1605 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1606 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1606 # Parent 0000000000000000000000000000000000000000
1607 # Parent 0000000000000000000000000000000000000000
1607 a
1608 a
1608
1609
1609 diff -r 000000000000 -r 8580ff50825a a
1610 diff -r 000000000000 -r 8580ff50825a a
1610 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1611 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1611 +++ b/a Thu Jan 01 00:00:01 1970 +0000
1612 +++ b/a Thu Jan 01 00:00:01 1970 +0000
1612 @@ -0,0 +1,1 @@
1613 @@ -0,0 +1,1 @@
1613 +a
1614 +a
1614
1615
1615 displaying [PATCH 2 of 2] b ...
1616 displaying [PATCH 2 of 2] b ...
1616 Content-Type: text/plain; charset="us-ascii"
1617 Content-Type: text/plain; charset="us-ascii"
1617 MIME-Version: 1.0
1618 MIME-Version: 1.0
1618 Content-Transfer-Encoding: 7bit
1619 Content-Transfer-Encoding: 7bit
1619 Subject: [PATCH 2 of 2] b
1620 Subject: [PATCH 2 of 2] b
1620 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1621 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1621 X-Mercurial-Series-Index: 2
1622 X-Mercurial-Series-Index: 2
1622 X-Mercurial-Series-Total: 2
1623 X-Mercurial-Series-Total: 2
1623 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1624 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1624 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1625 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1625 In-Reply-To: <patchbomb.60@*> (glob)
1626 In-Reply-To: <patchbomb.60@*> (glob)
1626 References: <patchbomb.60@*> (glob)
1627 References: <patchbomb.60@*> (glob)
1627 User-Agent: Mercurial-patchbomb/* (glob)
1628 User-Agent: Mercurial-patchbomb/* (glob)
1628 Date: Thu, 01 Jan 1970 00:01:02 +0000
1629 Date: Thu, 01 Jan 1970 00:01:02 +0000
1629 From: quux
1630 From: quux
1630 To: foo
1631 To: foo
1631 Cc: bar
1632 Cc: bar
1632
1633
1633 # HG changeset patch
1634 # HG changeset patch
1634 # User test
1635 # User test
1635 # Date 2 0
1636 # Date 2 0
1636 # Thu Jan 01 00:00:02 1970 +0000
1637 # Thu Jan 01 00:00:02 1970 +0000
1637 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1638 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1638 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1639 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1639 b
1640 b
1640
1641
1641 diff -r 8580ff50825a -r 97d72e5f12c7 b
1642 diff -r 8580ff50825a -r 97d72e5f12c7 b
1642 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1643 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1643 +++ b/b Thu Jan 01 00:00:02 1970 +0000
1644 +++ b/b Thu Jan 01 00:00:02 1970 +0000
1644 @@ -0,0 +1,1 @@
1645 @@ -0,0 +1,1 @@
1645 +b
1646 +b
1646
1647
1647
1648
1648 test reply-to via config:
1649 test reply-to via config:
1649 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \
1650 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \
1650 > --config patchbomb.reply-to='baz@example.com'
1651 > --config patchbomb.reply-to='baz@example.com'
1651 this patch series consists of 1 patches.
1652 this patch series consists of 1 patches.
1652
1653
1653
1654
1654 displaying [PATCH] test ...
1655 displaying [PATCH] test ...
1655 Content-Type: text/plain; charset="us-ascii"
1656 Content-Type: text/plain; charset="us-ascii"
1656 MIME-Version: 1.0
1657 MIME-Version: 1.0
1657 Content-Transfer-Encoding: 7bit
1658 Content-Transfer-Encoding: 7bit
1658 Subject: [PATCH] test
1659 Subject: [PATCH] test
1659 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1660 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1660 X-Mercurial-Series-Index: 1
1661 X-Mercurial-Series-Index: 1
1661 X-Mercurial-Series-Total: 1
1662 X-Mercurial-Series-Total: 1
1662 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1663 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1663 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1664 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1664 User-Agent: Mercurial-patchbomb/* (glob)
1665 User-Agent: Mercurial-patchbomb/* (glob)
1665 Date: Thu, 01 Jan 1970 00:01:00 +0000
1666 Date: Thu, 01 Jan 1970 00:01:00 +0000
1666 From: quux
1667 From: quux
1667 To: foo
1668 To: foo
1668 Cc: bar
1669 Cc: bar
1669 Reply-To: baz@example.com
1670 Reply-To: baz@example.com
1670
1671
1671 # HG changeset patch
1672 # HG changeset patch
1672 # User test
1673 # User test
1673 # Date 3 0
1674 # Date 3 0
1674 # Thu Jan 01 00:00:03 1970 +0000
1675 # Thu Jan 01 00:00:03 1970 +0000
1675 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1676 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1676 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1677 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1677 c
1678 c
1678
1679
1679 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1680 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1680 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1681 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1681 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1682 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1682 @@ -0,0 +1,1 @@
1683 @@ -0,0 +1,1 @@
1683 +c
1684 +c
1684
1685
1685
1686
1686 test reply-to via command line:
1687 test reply-to via command line:
1687 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \
1688 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \
1688 > --reply-to baz --reply-to fred
1689 > --reply-to baz --reply-to fred
1689 this patch series consists of 1 patches.
1690 this patch series consists of 1 patches.
1690
1691
1691
1692
1692 displaying [PATCH] test ...
1693 displaying [PATCH] test ...
1693 Content-Type: text/plain; charset="us-ascii"
1694 Content-Type: text/plain; charset="us-ascii"
1694 MIME-Version: 1.0
1695 MIME-Version: 1.0
1695 Content-Transfer-Encoding: 7bit
1696 Content-Transfer-Encoding: 7bit
1696 Subject: [PATCH] test
1697 Subject: [PATCH] test
1697 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1698 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1698 X-Mercurial-Series-Index: 1
1699 X-Mercurial-Series-Index: 1
1699 X-Mercurial-Series-Total: 1
1700 X-Mercurial-Series-Total: 1
1700 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1701 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1701 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1702 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1702 User-Agent: Mercurial-patchbomb/* (glob)
1703 User-Agent: Mercurial-patchbomb/* (glob)
1703 Date: Thu, 01 Jan 1970 00:01:00 +0000
1704 Date: Thu, 01 Jan 1970 00:01:00 +0000
1704 From: quux
1705 From: quux
1705 To: foo
1706 To: foo
1706 Cc: bar
1707 Cc: bar
1707 Reply-To: baz, fred
1708 Reply-To: baz, fred
1708
1709
1709 # HG changeset patch
1710 # HG changeset patch
1710 # User test
1711 # User test
1711 # Date 3 0
1712 # Date 3 0
1712 # Thu Jan 01 00:00:03 1970 +0000
1713 # Thu Jan 01 00:00:03 1970 +0000
1713 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1714 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1714 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1715 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1715 c
1716 c
1716
1717
1717 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1718 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1718 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1719 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1719 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1720 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1720 @@ -0,0 +1,1 @@
1721 @@ -0,0 +1,1 @@
1721 +c
1722 +c
1722
1723
1723
1724
1724 tagging csets:
1725 tagging csets:
1725 $ hg tag -r0 zero zero.foo
1726 $ hg tag -r0 zero zero.foo
1726 $ hg tag -r1 one one.patch
1727 $ hg tag -r1 one one.patch
1727 $ hg tag -r2 two two.diff
1728 $ hg tag -r2 two two.diff
1728
1729
1729 test inline for single named patch:
1730 test inline for single named patch:
1730 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \
1731 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \
1731 > -r 2 | $FILTERBOUNDARY
1732 > -r 2 | $FILTERBOUNDARY
1732 this patch series consists of 1 patches.
1733 this patch series consists of 1 patches.
1733
1734
1734
1735
1735 displaying [PATCH] test ...
1736 displaying [PATCH] test ...
1736 Content-Type: multipart/mixed; boundary="===*==" (glob)
1737 Content-Type: multipart/mixed; boundary="===*==" (glob)
1737 MIME-Version: 1.0
1738 MIME-Version: 1.0
1738 Subject: [PATCH] test
1739 Subject: [PATCH] test
1739 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1740 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
1740 X-Mercurial-Series-Index: 1
1741 X-Mercurial-Series-Index: 1
1741 X-Mercurial-Series-Total: 1
1742 X-Mercurial-Series-Total: 1
1742 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1743 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1743 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1744 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1744 User-Agent: Mercurial-patchbomb/* (glob)
1745 User-Agent: Mercurial-patchbomb/* (glob)
1745 Date: Thu, 01 Jan 1970 00:01:00 +0000
1746 Date: Thu, 01 Jan 1970 00:01:00 +0000
1746 From: quux
1747 From: quux
1747 To: foo
1748 To: foo
1748 Cc: bar
1749 Cc: bar
1749
1750
1750 --===*= (glob)
1751 --===*= (glob)
1751 Content-Type: text/x-patch; charset="us-ascii"
1752 Content-Type: text/x-patch; charset="us-ascii"
1752 MIME-Version: 1.0
1753 MIME-Version: 1.0
1753 Content-Transfer-Encoding: 7bit
1754 Content-Transfer-Encoding: 7bit
1754 Content-Disposition: inline; filename=two.diff
1755 Content-Disposition: inline; filename=two.diff
1755
1756
1756 # HG changeset patch
1757 # HG changeset patch
1757 # User test
1758 # User test
1758 # Date 3 0
1759 # Date 3 0
1759 # Thu Jan 01 00:00:03 1970 +0000
1760 # Thu Jan 01 00:00:03 1970 +0000
1760 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1761 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
1761 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1762 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1762 c
1763 c
1763
1764
1764 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1765 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
1765 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1766 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1766 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1767 +++ b/c Thu Jan 01 00:00:03 1970 +0000
1767 @@ -0,0 +1,1 @@
1768 @@ -0,0 +1,1 @@
1768 +c
1769 +c
1769
1770
1770 --===*=-- (glob)
1771 --===*=-- (glob)
1771
1772
1772 test inline for multiple named/unnamed patches:
1773 test inline for multiple named/unnamed patches:
1773 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \
1774 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \
1774 > -r 0:1 | $FILTERBOUNDARY
1775 > -r 0:1 | $FILTERBOUNDARY
1775 this patch series consists of 2 patches.
1776 this patch series consists of 2 patches.
1776
1777
1777
1778
1778 Write the introductory message for the patch series.
1779 Write the introductory message for the patch series.
1779
1780
1780
1781
1781 displaying [PATCH 0 of 2] test ...
1782 displaying [PATCH 0 of 2] test ...
1782 Content-Type: text/plain; charset="us-ascii"
1783 Content-Type: text/plain; charset="us-ascii"
1783 MIME-Version: 1.0
1784 MIME-Version: 1.0
1784 Content-Transfer-Encoding: 7bit
1785 Content-Transfer-Encoding: 7bit
1785 Subject: [PATCH 0 of 2] test
1786 Subject: [PATCH 0 of 2] test
1786 Message-Id: <patchbomb.60@*> (glob)
1787 Message-Id: <patchbomb.60@*> (glob)
1787 User-Agent: Mercurial-patchbomb/* (glob)
1788 User-Agent: Mercurial-patchbomb/* (glob)
1788 Date: Thu, 01 Jan 1970 00:01:00 +0000
1789 Date: Thu, 01 Jan 1970 00:01:00 +0000
1789 From: quux
1790 From: quux
1790 To: foo
1791 To: foo
1791 Cc: bar
1792 Cc: bar
1792
1793
1793
1794
1794 displaying [PATCH 1 of 2] a ...
1795 displaying [PATCH 1 of 2] a ...
1795 Content-Type: multipart/mixed; boundary="===*==" (glob)
1796 Content-Type: multipart/mixed; boundary="===*==" (glob)
1796 MIME-Version: 1.0
1797 MIME-Version: 1.0
1797 Subject: [PATCH 1 of 2] a
1798 Subject: [PATCH 1 of 2] a
1798 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1799 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1799 X-Mercurial-Series-Index: 1
1800 X-Mercurial-Series-Index: 1
1800 X-Mercurial-Series-Total: 2
1801 X-Mercurial-Series-Total: 2
1801 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1802 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1802 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1803 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1803 In-Reply-To: <patchbomb.60@*> (glob)
1804 In-Reply-To: <patchbomb.60@*> (glob)
1804 References: <patchbomb.60@*> (glob)
1805 References: <patchbomb.60@*> (glob)
1805 User-Agent: Mercurial-patchbomb/* (glob)
1806 User-Agent: Mercurial-patchbomb/* (glob)
1806 Date: Thu, 01 Jan 1970 00:01:01 +0000
1807 Date: Thu, 01 Jan 1970 00:01:01 +0000
1807 From: quux
1808 From: quux
1808 To: foo
1809 To: foo
1809 Cc: bar
1810 Cc: bar
1810
1811
1811 --===*= (glob)
1812 --===*= (glob)
1812 Content-Type: text/x-patch; charset="us-ascii"
1813 Content-Type: text/x-patch; charset="us-ascii"
1813 MIME-Version: 1.0
1814 MIME-Version: 1.0
1814 Content-Transfer-Encoding: 7bit
1815 Content-Transfer-Encoding: 7bit
1815 Content-Disposition: inline; filename=t2-1.patch
1816 Content-Disposition: inline; filename=t2-1.patch
1816
1817
1817 # HG changeset patch
1818 # HG changeset patch
1818 # User test
1819 # User test
1819 # Date 1 0
1820 # Date 1 0
1820 # Thu Jan 01 00:00:01 1970 +0000
1821 # Thu Jan 01 00:00:01 1970 +0000
1821 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1822 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1822 # Parent 0000000000000000000000000000000000000000
1823 # Parent 0000000000000000000000000000000000000000
1823 a
1824 a
1824
1825
1825 diff -r 000000000000 -r 8580ff50825a a
1826 diff -r 000000000000 -r 8580ff50825a a
1826 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1827 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1827 +++ b/a Thu Jan 01 00:00:01 1970 +0000
1828 +++ b/a Thu Jan 01 00:00:01 1970 +0000
1828 @@ -0,0 +1,1 @@
1829 @@ -0,0 +1,1 @@
1829 +a
1830 +a
1830
1831
1831 --===*=-- (glob)
1832 --===*=-- (glob)
1832 displaying [PATCH 2 of 2] b ...
1833 displaying [PATCH 2 of 2] b ...
1833 Content-Type: multipart/mixed; boundary="===*==" (glob)
1834 Content-Type: multipart/mixed; boundary="===*==" (glob)
1834 MIME-Version: 1.0
1835 MIME-Version: 1.0
1835 Subject: [PATCH 2 of 2] b
1836 Subject: [PATCH 2 of 2] b
1836 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1837 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1837 X-Mercurial-Series-Index: 2
1838 X-Mercurial-Series-Index: 2
1838 X-Mercurial-Series-Total: 2
1839 X-Mercurial-Series-Total: 2
1839 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1840 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1840 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1841 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
1841 In-Reply-To: <patchbomb.60@*> (glob)
1842 In-Reply-To: <patchbomb.60@*> (glob)
1842 References: <patchbomb.60@*> (glob)
1843 References: <patchbomb.60@*> (glob)
1843 User-Agent: Mercurial-patchbomb/* (glob)
1844 User-Agent: Mercurial-patchbomb/* (glob)
1844 Date: Thu, 01 Jan 1970 00:01:02 +0000
1845 Date: Thu, 01 Jan 1970 00:01:02 +0000
1845 From: quux
1846 From: quux
1846 To: foo
1847 To: foo
1847 Cc: bar
1848 Cc: bar
1848
1849
1849 --===*= (glob)
1850 --===*= (glob)
1850 Content-Type: text/x-patch; charset="us-ascii"
1851 Content-Type: text/x-patch; charset="us-ascii"
1851 MIME-Version: 1.0
1852 MIME-Version: 1.0
1852 Content-Transfer-Encoding: 7bit
1853 Content-Transfer-Encoding: 7bit
1853 Content-Disposition: inline; filename=one.patch
1854 Content-Disposition: inline; filename=one.patch
1854
1855
1855 # HG changeset patch
1856 # HG changeset patch
1856 # User test
1857 # User test
1857 # Date 2 0
1858 # Date 2 0
1858 # Thu Jan 01 00:00:02 1970 +0000
1859 # Thu Jan 01 00:00:02 1970 +0000
1859 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1860 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1860 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1861 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1861 b
1862 b
1862
1863
1863 diff -r 8580ff50825a -r 97d72e5f12c7 b
1864 diff -r 8580ff50825a -r 97d72e5f12c7 b
1864 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1865 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1865 +++ b/b Thu Jan 01 00:00:02 1970 +0000
1866 +++ b/b Thu Jan 01 00:00:02 1970 +0000
1866 @@ -0,0 +1,1 @@
1867 @@ -0,0 +1,1 @@
1867 +b
1868 +b
1868
1869
1869 --===*=-- (glob)
1870 --===*=-- (glob)
1870
1871
1871
1872
1872 test inreplyto:
1873 test inreplyto:
1873 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
1874 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
1874 > -r tip
1875 > -r tip
1875 this patch series consists of 1 patches.
1876 this patch series consists of 1 patches.
1876
1877
1877
1878
1878 displaying [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b ...
1879 displaying [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b ...
1879 Content-Type: text/plain; charset="us-ascii"
1880 Content-Type: text/plain; charset="us-ascii"
1880 MIME-Version: 1.0
1881 MIME-Version: 1.0
1881 Content-Transfer-Encoding: 7bit
1882 Content-Transfer-Encoding: 7bit
1882 Subject: [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b
1883 Subject: [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b
1883 X-Mercurial-Node: 7aead2484924c445ad8ce2613df91f52f9e502ed
1884 X-Mercurial-Node: 7aead2484924c445ad8ce2613df91f52f9e502ed
1884 X-Mercurial-Series-Index: 1
1885 X-Mercurial-Series-Index: 1
1885 X-Mercurial-Series-Total: 1
1886 X-Mercurial-Series-Total: 1
1886 Message-Id: <7aead2484924c445ad8c.60@*> (glob)
1887 Message-Id: <7aead2484924c445ad8c.60@*> (glob)
1887 X-Mercurial-Series-Id: <7aead2484924c445ad8c.60@*> (glob)
1888 X-Mercurial-Series-Id: <7aead2484924c445ad8c.60@*> (glob)
1888 In-Reply-To: <baz>
1889 In-Reply-To: <baz>
1889 References: <baz>
1890 References: <baz>
1890 User-Agent: Mercurial-patchbomb/* (glob)
1891 User-Agent: Mercurial-patchbomb/* (glob)
1891 Date: Thu, 01 Jan 1970 00:01:00 +0000
1892 Date: Thu, 01 Jan 1970 00:01:00 +0000
1892 From: quux
1893 From: quux
1893 To: foo
1894 To: foo
1894 Cc: bar
1895 Cc: bar
1895
1896
1896 # HG changeset patch
1897 # HG changeset patch
1897 # User test
1898 # User test
1898 # Date 0 0
1899 # Date 0 0
1899 # Thu Jan 01 00:00:00 1970 +0000
1900 # Thu Jan 01 00:00:00 1970 +0000
1900 # Node ID 7aead2484924c445ad8ce2613df91f52f9e502ed
1901 # Node ID 7aead2484924c445ad8ce2613df91f52f9e502ed
1901 # Parent 045ca29b1ea20e4940411e695e20e521f2f0f98e
1902 # Parent 045ca29b1ea20e4940411e695e20e521f2f0f98e
1902 Added tag two, two.diff for changeset ff2c9fa2018b
1903 Added tag two, two.diff for changeset ff2c9fa2018b
1903
1904
1904 diff -r 045ca29b1ea2 -r 7aead2484924 .hgtags
1905 diff -r 045ca29b1ea2 -r 7aead2484924 .hgtags
1905 --- a/.hgtags Thu Jan 01 00:00:00 1970 +0000
1906 --- a/.hgtags Thu Jan 01 00:00:00 1970 +0000
1906 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
1907 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
1907 @@ -2,3 +2,5 @@
1908 @@ -2,3 +2,5 @@
1908 8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
1909 8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
1909 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one
1910 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one
1910 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch
1911 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch
1911 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two
1912 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two
1912 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two.diff
1913 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two.diff
1913
1914
1914 no intro message in non-interactive mode
1915 no intro message in non-interactive mode
1915 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
1916 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
1916 > -r 0:1
1917 > -r 0:1
1917 this patch series consists of 2 patches.
1918 this patch series consists of 2 patches.
1918
1919
1919 (optional) Subject: [PATCH 0 of 2]
1920 (optional) Subject: [PATCH 0 of 2]
1920
1921
1921 displaying [PATCH 1 of 2] a ...
1922 displaying [PATCH 1 of 2] a ...
1922 Content-Type: text/plain; charset="us-ascii"
1923 Content-Type: text/plain; charset="us-ascii"
1923 MIME-Version: 1.0
1924 MIME-Version: 1.0
1924 Content-Transfer-Encoding: 7bit
1925 Content-Transfer-Encoding: 7bit
1925 Subject: [PATCH 1 of 2] a
1926 Subject: [PATCH 1 of 2] a
1926 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1927 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
1927 X-Mercurial-Series-Index: 1
1928 X-Mercurial-Series-Index: 1
1928 X-Mercurial-Series-Total: 2
1929 X-Mercurial-Series-Total: 2
1929 Message-Id: <8580ff50825a50c8f716.60@*> (glob)
1930 Message-Id: <8580ff50825a50c8f716.60@*> (glob)
1930 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob)
1931 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob)
1931 In-Reply-To: <baz>
1932 In-Reply-To: <baz>
1932 References: <baz>
1933 References: <baz>
1933 User-Agent: Mercurial-patchbomb/* (glob)
1934 User-Agent: Mercurial-patchbomb/* (glob)
1934 Date: Thu, 01 Jan 1970 00:01:00 +0000
1935 Date: Thu, 01 Jan 1970 00:01:00 +0000
1935 From: quux
1936 From: quux
1936 To: foo
1937 To: foo
1937 Cc: bar
1938 Cc: bar
1938
1939
1939 # HG changeset patch
1940 # HG changeset patch
1940 # User test
1941 # User test
1941 # Date 1 0
1942 # Date 1 0
1942 # Thu Jan 01 00:00:01 1970 +0000
1943 # Thu Jan 01 00:00:01 1970 +0000
1943 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1944 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
1944 # Parent 0000000000000000000000000000000000000000
1945 # Parent 0000000000000000000000000000000000000000
1945 a
1946 a
1946
1947
1947 diff -r 000000000000 -r 8580ff50825a a
1948 diff -r 000000000000 -r 8580ff50825a a
1948 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1949 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1949 +++ b/a Thu Jan 01 00:00:01 1970 +0000
1950 +++ b/a Thu Jan 01 00:00:01 1970 +0000
1950 @@ -0,0 +1,1 @@
1951 @@ -0,0 +1,1 @@
1951 +a
1952 +a
1952
1953
1953 displaying [PATCH 2 of 2] b ...
1954 displaying [PATCH 2 of 2] b ...
1954 Content-Type: text/plain; charset="us-ascii"
1955 Content-Type: text/plain; charset="us-ascii"
1955 MIME-Version: 1.0
1956 MIME-Version: 1.0
1956 Content-Transfer-Encoding: 7bit
1957 Content-Transfer-Encoding: 7bit
1957 Subject: [PATCH 2 of 2] b
1958 Subject: [PATCH 2 of 2] b
1958 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1959 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1959 X-Mercurial-Series-Index: 2
1960 X-Mercurial-Series-Index: 2
1960 X-Mercurial-Series-Total: 2
1961 X-Mercurial-Series-Total: 2
1961 Message-Id: <97d72e5f12c7e84f8506.61@*> (glob)
1962 Message-Id: <97d72e5f12c7e84f8506.61@*> (glob)
1962 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob)
1963 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob)
1963 In-Reply-To: <baz>
1964 In-Reply-To: <baz>
1964 References: <baz>
1965 References: <baz>
1965 User-Agent: Mercurial-patchbomb/* (glob)
1966 User-Agent: Mercurial-patchbomb/* (glob)
1966 Date: Thu, 01 Jan 1970 00:01:01 +0000
1967 Date: Thu, 01 Jan 1970 00:01:01 +0000
1967 From: quux
1968 From: quux
1968 To: foo
1969 To: foo
1969 Cc: bar
1970 Cc: bar
1970
1971
1971 # HG changeset patch
1972 # HG changeset patch
1972 # User test
1973 # User test
1973 # Date 2 0
1974 # Date 2 0
1974 # Thu Jan 01 00:00:02 1970 +0000
1975 # Thu Jan 01 00:00:02 1970 +0000
1975 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1976 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
1976 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1977 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
1977 b
1978 b
1978
1979
1979 diff -r 8580ff50825a -r 97d72e5f12c7 b
1980 diff -r 8580ff50825a -r 97d72e5f12c7 b
1980 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1981 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1981 +++ b/b Thu Jan 01 00:00:02 1970 +0000
1982 +++ b/b Thu Jan 01 00:00:02 1970 +0000
1982 @@ -0,0 +1,1 @@
1983 @@ -0,0 +1,1 @@
1983 +b
1984 +b
1984
1985
1985
1986
1986
1987
1987
1988
1988 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
1989 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
1989 > -s test -r 0:1
1990 > -s test -r 0:1
1990 this patch series consists of 2 patches.
1991 this patch series consists of 2 patches.
1991
1992
1992
1993
1993 Write the introductory message for the patch series.
1994 Write the introductory message for the patch series.
1994
1995
1995
1996
1996 displaying [PATCH 0 of 2] test ...
1997 displaying [PATCH 0 of 2] test ...
1997 Content-Type: text/plain; charset="us-ascii"
1998 Content-Type: text/plain; charset="us-ascii"
1998 MIME-Version: 1.0
1999 MIME-Version: 1.0
1999 Content-Transfer-Encoding: 7bit
2000 Content-Transfer-Encoding: 7bit
2000 Subject: [PATCH 0 of 2] test
2001 Subject: [PATCH 0 of 2] test
2001 Message-Id: <patchbomb.60@*> (glob)
2002 Message-Id: <patchbomb.60@*> (glob)
2002 In-Reply-To: <baz>
2003 In-Reply-To: <baz>
2003 References: <baz>
2004 References: <baz>
2004 User-Agent: Mercurial-patchbomb/* (glob)
2005 User-Agent: Mercurial-patchbomb/* (glob)
2005 Date: Thu, 01 Jan 1970 00:01:00 +0000
2006 Date: Thu, 01 Jan 1970 00:01:00 +0000
2006 From: quux
2007 From: quux
2007 To: foo
2008 To: foo
2008 Cc: bar
2009 Cc: bar
2009
2010
2010
2011
2011 displaying [PATCH 1 of 2] a ...
2012 displaying [PATCH 1 of 2] a ...
2012 Content-Type: text/plain; charset="us-ascii"
2013 Content-Type: text/plain; charset="us-ascii"
2013 MIME-Version: 1.0
2014 MIME-Version: 1.0
2014 Content-Transfer-Encoding: 7bit
2015 Content-Transfer-Encoding: 7bit
2015 Subject: [PATCH 1 of 2] a
2016 Subject: [PATCH 1 of 2] a
2016 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2017 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2017 X-Mercurial-Series-Index: 1
2018 X-Mercurial-Series-Index: 1
2018 X-Mercurial-Series-Total: 2
2019 X-Mercurial-Series-Total: 2
2019 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
2020 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
2020 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2021 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2021 In-Reply-To: <patchbomb.60@*> (glob)
2022 In-Reply-To: <patchbomb.60@*> (glob)
2022 References: <patchbomb.60@*> (glob)
2023 References: <patchbomb.60@*> (glob)
2023 User-Agent: Mercurial-patchbomb/* (glob)
2024 User-Agent: Mercurial-patchbomb/* (glob)
2024 Date: Thu, 01 Jan 1970 00:01:01 +0000
2025 Date: Thu, 01 Jan 1970 00:01:01 +0000
2025 From: quux
2026 From: quux
2026 To: foo
2027 To: foo
2027 Cc: bar
2028 Cc: bar
2028
2029
2029 # HG changeset patch
2030 # HG changeset patch
2030 # User test
2031 # User test
2031 # Date 1 0
2032 # Date 1 0
2032 # Thu Jan 01 00:00:01 1970 +0000
2033 # Thu Jan 01 00:00:01 1970 +0000
2033 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2034 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2034 # Parent 0000000000000000000000000000000000000000
2035 # Parent 0000000000000000000000000000000000000000
2035 a
2036 a
2036
2037
2037 diff -r 000000000000 -r 8580ff50825a a
2038 diff -r 000000000000 -r 8580ff50825a a
2038 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2039 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2039 +++ b/a Thu Jan 01 00:00:01 1970 +0000
2040 +++ b/a Thu Jan 01 00:00:01 1970 +0000
2040 @@ -0,0 +1,1 @@
2041 @@ -0,0 +1,1 @@
2041 +a
2042 +a
2042
2043
2043 displaying [PATCH 2 of 2] b ...
2044 displaying [PATCH 2 of 2] b ...
2044 Content-Type: text/plain; charset="us-ascii"
2045 Content-Type: text/plain; charset="us-ascii"
2045 MIME-Version: 1.0
2046 MIME-Version: 1.0
2046 Content-Transfer-Encoding: 7bit
2047 Content-Transfer-Encoding: 7bit
2047 Subject: [PATCH 2 of 2] b
2048 Subject: [PATCH 2 of 2] b
2048 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2049 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2049 X-Mercurial-Series-Index: 2
2050 X-Mercurial-Series-Index: 2
2050 X-Mercurial-Series-Total: 2
2051 X-Mercurial-Series-Total: 2
2051 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
2052 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
2052 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2053 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2053 In-Reply-To: <patchbomb.60@*> (glob)
2054 In-Reply-To: <patchbomb.60@*> (glob)
2054 References: <patchbomb.60@*> (glob)
2055 References: <patchbomb.60@*> (glob)
2055 User-Agent: Mercurial-patchbomb/* (glob)
2056 User-Agent: Mercurial-patchbomb/* (glob)
2056 Date: Thu, 01 Jan 1970 00:01:02 +0000
2057 Date: Thu, 01 Jan 1970 00:01:02 +0000
2057 From: quux
2058 From: quux
2058 To: foo
2059 To: foo
2059 Cc: bar
2060 Cc: bar
2060
2061
2061 # HG changeset patch
2062 # HG changeset patch
2062 # User test
2063 # User test
2063 # Date 2 0
2064 # Date 2 0
2064 # Thu Jan 01 00:00:02 1970 +0000
2065 # Thu Jan 01 00:00:02 1970 +0000
2065 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2066 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2066 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2067 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2067 b
2068 b
2068
2069
2069 diff -r 8580ff50825a -r 97d72e5f12c7 b
2070 diff -r 8580ff50825a -r 97d72e5f12c7 b
2070 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2071 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2071 +++ b/b Thu Jan 01 00:00:02 1970 +0000
2072 +++ b/b Thu Jan 01 00:00:02 1970 +0000
2072 @@ -0,0 +1,1 @@
2073 @@ -0,0 +1,1 @@
2073 +b
2074 +b
2074
2075
2075
2076
2076 test single flag for single patch (and no warning when not mailing dirty rev):
2077 test single flag for single patch (and no warning when not mailing dirty rev):
2077 $ hg up -qr1
2078 $ hg up -qr1
2078 $ echo dirt > a
2079 $ echo dirt > a
2079 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
2080 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
2080 > -r 2 | $FILTERBOUNDARY
2081 > -r 2 | $FILTERBOUNDARY
2081 this patch series consists of 1 patches.
2082 this patch series consists of 1 patches.
2082
2083
2083
2084
2084 displaying [PATCH fooFlag] test ...
2085 displaying [PATCH fooFlag] test ...
2085 Content-Type: text/plain; charset="us-ascii"
2086 Content-Type: text/plain; charset="us-ascii"
2086 MIME-Version: 1.0
2087 MIME-Version: 1.0
2087 Content-Transfer-Encoding: 7bit
2088 Content-Transfer-Encoding: 7bit
2088 Subject: [PATCH fooFlag] test
2089 Subject: [PATCH fooFlag] test
2089 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
2090 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
2090 X-Mercurial-Series-Index: 1
2091 X-Mercurial-Series-Index: 1
2091 X-Mercurial-Series-Total: 1
2092 X-Mercurial-Series-Total: 1
2092 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
2093 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
2093 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
2094 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
2094 User-Agent: Mercurial-patchbomb/* (glob)
2095 User-Agent: Mercurial-patchbomb/* (glob)
2095 Date: Thu, 01 Jan 1970 00:01:00 +0000
2096 Date: Thu, 01 Jan 1970 00:01:00 +0000
2096 From: quux
2097 From: quux
2097 To: foo
2098 To: foo
2098 Cc: bar
2099 Cc: bar
2099
2100
2100 # HG changeset patch
2101 # HG changeset patch
2101 # User test
2102 # User test
2102 # Date 3 0
2103 # Date 3 0
2103 # Thu Jan 01 00:00:03 1970 +0000
2104 # Thu Jan 01 00:00:03 1970 +0000
2104 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2105 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2105 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2106 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2106 c
2107 c
2107
2108
2108 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2109 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2109 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2110 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2110 +++ b/c Thu Jan 01 00:00:03 1970 +0000
2111 +++ b/c Thu Jan 01 00:00:03 1970 +0000
2111 @@ -0,0 +1,1 @@
2112 @@ -0,0 +1,1 @@
2112 +c
2113 +c
2113
2114
2114
2115
2115 test single flag for multiple patches (and warning when mailing dirty rev):
2116 test single flag for multiple patches (and warning when mailing dirty rev):
2116 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
2117 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
2117 > -r 0:1
2118 > -r 0:1
2118 warning: working directory has uncommitted changes
2119 warning: working directory has uncommitted changes
2119 this patch series consists of 2 patches.
2120 this patch series consists of 2 patches.
2120
2121
2121
2122
2122 Write the introductory message for the patch series.
2123 Write the introductory message for the patch series.
2123
2124
2124
2125
2125 displaying [PATCH 0 of 2 fooFlag] test ...
2126 displaying [PATCH 0 of 2 fooFlag] test ...
2126 Content-Type: text/plain; charset="us-ascii"
2127 Content-Type: text/plain; charset="us-ascii"
2127 MIME-Version: 1.0
2128 MIME-Version: 1.0
2128 Content-Transfer-Encoding: 7bit
2129 Content-Transfer-Encoding: 7bit
2129 Subject: [PATCH 0 of 2 fooFlag] test
2130 Subject: [PATCH 0 of 2 fooFlag] test
2130 Message-Id: <patchbomb.60@*> (glob)
2131 Message-Id: <patchbomb.60@*> (glob)
2131 User-Agent: Mercurial-patchbomb/* (glob)
2132 User-Agent: Mercurial-patchbomb/* (glob)
2132 Date: Thu, 01 Jan 1970 00:01:00 +0000
2133 Date: Thu, 01 Jan 1970 00:01:00 +0000
2133 From: quux
2134 From: quux
2134 To: foo
2135 To: foo
2135 Cc: bar
2136 Cc: bar
2136
2137
2137
2138
2138 displaying [PATCH 1 of 2 fooFlag] a ...
2139 displaying [PATCH 1 of 2 fooFlag] a ...
2139 Content-Type: text/plain; charset="us-ascii"
2140 Content-Type: text/plain; charset="us-ascii"
2140 MIME-Version: 1.0
2141 MIME-Version: 1.0
2141 Content-Transfer-Encoding: 7bit
2142 Content-Transfer-Encoding: 7bit
2142 Subject: [PATCH 1 of 2 fooFlag] a
2143 Subject: [PATCH 1 of 2 fooFlag] a
2143 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2144 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2144 X-Mercurial-Series-Index: 1
2145 X-Mercurial-Series-Index: 1
2145 X-Mercurial-Series-Total: 2
2146 X-Mercurial-Series-Total: 2
2146 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
2147 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
2147 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2148 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2148 In-Reply-To: <patchbomb.60@*> (glob)
2149 In-Reply-To: <patchbomb.60@*> (glob)
2149 References: <patchbomb.60@*> (glob)
2150 References: <patchbomb.60@*> (glob)
2150 User-Agent: Mercurial-patchbomb/* (glob)
2151 User-Agent: Mercurial-patchbomb/* (glob)
2151 Date: Thu, 01 Jan 1970 00:01:01 +0000
2152 Date: Thu, 01 Jan 1970 00:01:01 +0000
2152 From: quux
2153 From: quux
2153 To: foo
2154 To: foo
2154 Cc: bar
2155 Cc: bar
2155
2156
2156 # HG changeset patch
2157 # HG changeset patch
2157 # User test
2158 # User test
2158 # Date 1 0
2159 # Date 1 0
2159 # Thu Jan 01 00:00:01 1970 +0000
2160 # Thu Jan 01 00:00:01 1970 +0000
2160 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2161 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2161 # Parent 0000000000000000000000000000000000000000
2162 # Parent 0000000000000000000000000000000000000000
2162 a
2163 a
2163
2164
2164 diff -r 000000000000 -r 8580ff50825a a
2165 diff -r 000000000000 -r 8580ff50825a a
2165 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2166 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2166 +++ b/a Thu Jan 01 00:00:01 1970 +0000
2167 +++ b/a Thu Jan 01 00:00:01 1970 +0000
2167 @@ -0,0 +1,1 @@
2168 @@ -0,0 +1,1 @@
2168 +a
2169 +a
2169
2170
2170 displaying [PATCH 2 of 2 fooFlag] b ...
2171 displaying [PATCH 2 of 2 fooFlag] b ...
2171 Content-Type: text/plain; charset="us-ascii"
2172 Content-Type: text/plain; charset="us-ascii"
2172 MIME-Version: 1.0
2173 MIME-Version: 1.0
2173 Content-Transfer-Encoding: 7bit
2174 Content-Transfer-Encoding: 7bit
2174 Subject: [PATCH 2 of 2 fooFlag] b
2175 Subject: [PATCH 2 of 2 fooFlag] b
2175 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2176 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2176 X-Mercurial-Series-Index: 2
2177 X-Mercurial-Series-Index: 2
2177 X-Mercurial-Series-Total: 2
2178 X-Mercurial-Series-Total: 2
2178 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
2179 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
2179 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2180 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2180 In-Reply-To: <patchbomb.60@*> (glob)
2181 In-Reply-To: <patchbomb.60@*> (glob)
2181 References: <patchbomb.60@*> (glob)
2182 References: <patchbomb.60@*> (glob)
2182 User-Agent: Mercurial-patchbomb/* (glob)
2183 User-Agent: Mercurial-patchbomb/* (glob)
2183 Date: Thu, 01 Jan 1970 00:01:02 +0000
2184 Date: Thu, 01 Jan 1970 00:01:02 +0000
2184 From: quux
2185 From: quux
2185 To: foo
2186 To: foo
2186 Cc: bar
2187 Cc: bar
2187
2188
2188 # HG changeset patch
2189 # HG changeset patch
2189 # User test
2190 # User test
2190 # Date 2 0
2191 # Date 2 0
2191 # Thu Jan 01 00:00:02 1970 +0000
2192 # Thu Jan 01 00:00:02 1970 +0000
2192 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2193 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2193 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2194 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2194 b
2195 b
2195
2196
2196 diff -r 8580ff50825a -r 97d72e5f12c7 b
2197 diff -r 8580ff50825a -r 97d72e5f12c7 b
2197 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2198 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2198 +++ b/b Thu Jan 01 00:00:02 1970 +0000
2199 +++ b/b Thu Jan 01 00:00:02 1970 +0000
2199 @@ -0,0 +1,1 @@
2200 @@ -0,0 +1,1 @@
2200 +b
2201 +b
2201
2202
2202 $ hg revert --no-b a
2203 $ hg revert --no-b a
2203 $ hg up -q
2204 $ hg up -q
2204
2205
2205 test multiple flags for single patch:
2206 test multiple flags for single patch:
2206 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
2207 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
2207 > -c bar -s test -r 2
2208 > -c bar -s test -r 2
2208 this patch series consists of 1 patches.
2209 this patch series consists of 1 patches.
2209
2210
2210
2211
2211 displaying [PATCH fooFlag barFlag] test ...
2212 displaying [PATCH fooFlag barFlag] test ...
2212 Content-Type: text/plain; charset="us-ascii"
2213 Content-Type: text/plain; charset="us-ascii"
2213 MIME-Version: 1.0
2214 MIME-Version: 1.0
2214 Content-Transfer-Encoding: 7bit
2215 Content-Transfer-Encoding: 7bit
2215 Subject: [PATCH fooFlag barFlag] test
2216 Subject: [PATCH fooFlag barFlag] test
2216 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
2217 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
2217 X-Mercurial-Series-Index: 1
2218 X-Mercurial-Series-Index: 1
2218 X-Mercurial-Series-Total: 1
2219 X-Mercurial-Series-Total: 1
2219 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
2220 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
2220 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
2221 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
2221 User-Agent: Mercurial-patchbomb/* (glob)
2222 User-Agent: Mercurial-patchbomb/* (glob)
2222 Date: Thu, 01 Jan 1970 00:01:00 +0000
2223 Date: Thu, 01 Jan 1970 00:01:00 +0000
2223 From: quux
2224 From: quux
2224 To: foo
2225 To: foo
2225 Cc: bar
2226 Cc: bar
2226
2227
2227 # HG changeset patch
2228 # HG changeset patch
2228 # User test
2229 # User test
2229 # Date 3 0
2230 # Date 3 0
2230 # Thu Jan 01 00:00:03 1970 +0000
2231 # Thu Jan 01 00:00:03 1970 +0000
2231 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2232 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2232 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2233 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2233 c
2234 c
2234
2235
2235 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2236 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2236 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2237 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2237 +++ b/c Thu Jan 01 00:00:03 1970 +0000
2238 +++ b/c Thu Jan 01 00:00:03 1970 +0000
2238 @@ -0,0 +1,1 @@
2239 @@ -0,0 +1,1 @@
2239 +c
2240 +c
2240
2241
2241
2242
2242 test multiple flags for multiple patches:
2243 test multiple flags for multiple patches:
2243 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
2244 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
2244 > -c bar -s test -r 0:1
2245 > -c bar -s test -r 0:1
2245 this patch series consists of 2 patches.
2246 this patch series consists of 2 patches.
2246
2247
2247
2248
2248 Write the introductory message for the patch series.
2249 Write the introductory message for the patch series.
2249
2250
2250
2251
2251 displaying [PATCH 0 of 2 fooFlag barFlag] test ...
2252 displaying [PATCH 0 of 2 fooFlag barFlag] test ...
2252 Content-Type: text/plain; charset="us-ascii"
2253 Content-Type: text/plain; charset="us-ascii"
2253 MIME-Version: 1.0
2254 MIME-Version: 1.0
2254 Content-Transfer-Encoding: 7bit
2255 Content-Transfer-Encoding: 7bit
2255 Subject: [PATCH 0 of 2 fooFlag barFlag] test
2256 Subject: [PATCH 0 of 2 fooFlag barFlag] test
2256 Message-Id: <patchbomb.60@*> (glob)
2257 Message-Id: <patchbomb.60@*> (glob)
2257 User-Agent: Mercurial-patchbomb/* (glob)
2258 User-Agent: Mercurial-patchbomb/* (glob)
2258 Date: Thu, 01 Jan 1970 00:01:00 +0000
2259 Date: Thu, 01 Jan 1970 00:01:00 +0000
2259 From: quux
2260 From: quux
2260 To: foo
2261 To: foo
2261 Cc: bar
2262 Cc: bar
2262
2263
2263
2264
2264 displaying [PATCH 1 of 2 fooFlag barFlag] a ...
2265 displaying [PATCH 1 of 2 fooFlag barFlag] a ...
2265 Content-Type: text/plain; charset="us-ascii"
2266 Content-Type: text/plain; charset="us-ascii"
2266 MIME-Version: 1.0
2267 MIME-Version: 1.0
2267 Content-Transfer-Encoding: 7bit
2268 Content-Transfer-Encoding: 7bit
2268 Subject: [PATCH 1 of 2 fooFlag barFlag] a
2269 Subject: [PATCH 1 of 2 fooFlag barFlag] a
2269 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2270 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2270 X-Mercurial-Series-Index: 1
2271 X-Mercurial-Series-Index: 1
2271 X-Mercurial-Series-Total: 2
2272 X-Mercurial-Series-Total: 2
2272 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
2273 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
2273 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2274 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2274 In-Reply-To: <patchbomb.60@*> (glob)
2275 In-Reply-To: <patchbomb.60@*> (glob)
2275 References: <patchbomb.60@*> (glob)
2276 References: <patchbomb.60@*> (glob)
2276 User-Agent: Mercurial-patchbomb/* (glob)
2277 User-Agent: Mercurial-patchbomb/* (glob)
2277 Date: Thu, 01 Jan 1970 00:01:01 +0000
2278 Date: Thu, 01 Jan 1970 00:01:01 +0000
2278 From: quux
2279 From: quux
2279 To: foo
2280 To: foo
2280 Cc: bar
2281 Cc: bar
2281
2282
2282 # HG changeset patch
2283 # HG changeset patch
2283 # User test
2284 # User test
2284 # Date 1 0
2285 # Date 1 0
2285 # Thu Jan 01 00:00:01 1970 +0000
2286 # Thu Jan 01 00:00:01 1970 +0000
2286 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2287 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2287 # Parent 0000000000000000000000000000000000000000
2288 # Parent 0000000000000000000000000000000000000000
2288 a
2289 a
2289
2290
2290 diff -r 000000000000 -r 8580ff50825a a
2291 diff -r 000000000000 -r 8580ff50825a a
2291 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2292 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2292 +++ b/a Thu Jan 01 00:00:01 1970 +0000
2293 +++ b/a Thu Jan 01 00:00:01 1970 +0000
2293 @@ -0,0 +1,1 @@
2294 @@ -0,0 +1,1 @@
2294 +a
2295 +a
2295
2296
2296 displaying [PATCH 2 of 2 fooFlag barFlag] b ...
2297 displaying [PATCH 2 of 2 fooFlag barFlag] b ...
2297 Content-Type: text/plain; charset="us-ascii"
2298 Content-Type: text/plain; charset="us-ascii"
2298 MIME-Version: 1.0
2299 MIME-Version: 1.0
2299 Content-Transfer-Encoding: 7bit
2300 Content-Transfer-Encoding: 7bit
2300 Subject: [PATCH 2 of 2 fooFlag barFlag] b
2301 Subject: [PATCH 2 of 2 fooFlag barFlag] b
2301 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2302 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2302 X-Mercurial-Series-Index: 2
2303 X-Mercurial-Series-Index: 2
2303 X-Mercurial-Series-Total: 2
2304 X-Mercurial-Series-Total: 2
2304 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
2305 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
2305 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2306 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2306 In-Reply-To: <patchbomb.60@*> (glob)
2307 In-Reply-To: <patchbomb.60@*> (glob)
2307 References: <patchbomb.60@*> (glob)
2308 References: <patchbomb.60@*> (glob)
2308 User-Agent: Mercurial-patchbomb/* (glob)
2309 User-Agent: Mercurial-patchbomb/* (glob)
2309 Date: Thu, 01 Jan 1970 00:01:02 +0000
2310 Date: Thu, 01 Jan 1970 00:01:02 +0000
2310 From: quux
2311 From: quux
2311 To: foo
2312 To: foo
2312 Cc: bar
2313 Cc: bar
2313
2314
2314 # HG changeset patch
2315 # HG changeset patch
2315 # User test
2316 # User test
2316 # Date 2 0
2317 # Date 2 0
2317 # Thu Jan 01 00:00:02 1970 +0000
2318 # Thu Jan 01 00:00:02 1970 +0000
2318 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2319 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2319 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2320 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2320 b
2321 b
2321
2322
2322 diff -r 8580ff50825a -r 97d72e5f12c7 b
2323 diff -r 8580ff50825a -r 97d72e5f12c7 b
2323 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2324 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2324 +++ b/b Thu Jan 01 00:00:02 1970 +0000
2325 +++ b/b Thu Jan 01 00:00:02 1970 +0000
2325 @@ -0,0 +1,1 @@
2326 @@ -0,0 +1,1 @@
2326 +b
2327 +b
2327
2328
2328
2329
2329 test multi-address parsing:
2330 test multi-address parsing:
2330 $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t 'spam<spam><eggs>' \
2331 $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t 'spam<spam><eggs>' \
2331 > -t toast -c 'foo,bar@example.com' -c '"A, B <>" <a@example.com>' -s test -r 0 \
2332 > -t toast -c 'foo,bar@example.com' -c '"A, B <>" <a@example.com>' -s test -r 0 \
2332 > --config email.bcc='"Quux, A." <quux>'
2333 > --config email.bcc='"Quux, A." <quux>'
2333 this patch series consists of 1 patches.
2334 this patch series consists of 1 patches.
2334
2335
2335
2336
2336 sending [PATCH] test ...
2337 sending [PATCH] test ...
2337 $ cat < tmp.mbox
2338 $ cat < tmp.mbox
2338 From quux ... ... .. ..:..:.. .... (re)
2339 From quux ... ... .. ..:..:.. .... (re)
2339 Content-Type: text/plain; charset="us-ascii"
2340 Content-Type: text/plain; charset="us-ascii"
2340 MIME-Version: 1.0
2341 MIME-Version: 1.0
2341 Content-Transfer-Encoding: 7bit
2342 Content-Transfer-Encoding: 7bit
2342 Subject: [PATCH] test
2343 Subject: [PATCH] test
2343 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2344 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2344 X-Mercurial-Series-Index: 1
2345 X-Mercurial-Series-Index: 1
2345 X-Mercurial-Series-Total: 1
2346 X-Mercurial-Series-Total: 1
2346 Message-Id: <8580ff50825a50c8f716.315532860@*> (glob)
2347 Message-Id: <8580ff50825a50c8f716.315532860@*> (glob)
2347 X-Mercurial-Series-Id: <8580ff50825a50c8f716.315532860@*> (glob)
2348 X-Mercurial-Series-Id: <8580ff50825a50c8f716.315532860@*> (glob)
2348 User-Agent: Mercurial-patchbomb/* (glob)
2349 User-Agent: Mercurial-patchbomb/* (glob)
2349 Date: Tue, 01 Jan 1980 00:01:00 +0000
2350 Date: Tue, 01 Jan 1980 00:01:00 +0000
2350 From: quux
2351 From: quux
2351 To: spam <spam>, eggs, toast
2352 To: spam <spam>, eggs, toast
2352 Cc: foo, bar@example.com, "A, B <>" <a@example.com>
2353 Cc: foo, bar@example.com, "A, B <>" <a@example.com>
2353 Bcc: "Quux, A." <quux>
2354 Bcc: "Quux, A." <quux>
2354
2355
2355 # HG changeset patch
2356 # HG changeset patch
2356 # User test
2357 # User test
2357 # Date 1 0
2358 # Date 1 0
2358 # Thu Jan 01 00:00:01 1970 +0000
2359 # Thu Jan 01 00:00:01 1970 +0000
2359 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2360 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2360 # Parent 0000000000000000000000000000000000000000
2361 # Parent 0000000000000000000000000000000000000000
2361 a
2362 a
2362
2363
2363 diff -r 000000000000 -r 8580ff50825a a
2364 diff -r 000000000000 -r 8580ff50825a a
2364 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2365 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2365 +++ b/a Thu Jan 01 00:00:01 1970 +0000
2366 +++ b/a Thu Jan 01 00:00:01 1970 +0000
2366 @@ -0,0 +1,1 @@
2367 @@ -0,0 +1,1 @@
2367 +a
2368 +a
2368
2369
2369
2370
2370
2371
2371 test flag template:
2372 test flag template:
2372 $ echo foo > intro.text
2373 $ echo foo > intro.text
2373 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -r 0:1 \
2374 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -r 0:1 \
2374 > --desc intro.text --subject test \
2375 > --desc intro.text --subject test \
2375 > --config patchbomb.flagtemplate='R{rev}'
2376 > --config patchbomb.flagtemplate='R{rev}'
2376 this patch series consists of 2 patches.
2377 this patch series consists of 2 patches.
2377
2378
2378 Cc:
2379 Cc:
2379
2380
2380 displaying [PATCH 0 of 2 R1] test ...
2381 displaying [PATCH 0 of 2 R1] test ...
2381 Content-Type: text/plain; charset="us-ascii"
2382 Content-Type: text/plain; charset="us-ascii"
2382 MIME-Version: 1.0
2383 MIME-Version: 1.0
2383 Content-Transfer-Encoding: 7bit
2384 Content-Transfer-Encoding: 7bit
2384 Subject: [PATCH 0 of 2 R1] test
2385 Subject: [PATCH 0 of 2 R1] test
2385 Message-Id: <patchbomb.60@*> (glob)
2386 Message-Id: <patchbomb.60@*> (glob)
2386 User-Agent: Mercurial-patchbomb/* (glob)
2387 User-Agent: Mercurial-patchbomb/* (glob)
2387 Date: Thu, 01 Jan 1970 00:01:00 +0000
2388 Date: Thu, 01 Jan 1970 00:01:00 +0000
2388 From: quux
2389 From: quux
2389 To: foo
2390 To: foo
2390
2391
2391 foo
2392 foo
2392
2393
2393 displaying [PATCH 1 of 2 R0] a ...
2394 displaying [PATCH 1 of 2 R0] a ...
2394 Content-Type: text/plain; charset="us-ascii"
2395 Content-Type: text/plain; charset="us-ascii"
2395 MIME-Version: 1.0
2396 MIME-Version: 1.0
2396 Content-Transfer-Encoding: 7bit
2397 Content-Transfer-Encoding: 7bit
2397 Subject: [PATCH 1 of 2 R0] a
2398 Subject: [PATCH 1 of 2 R0] a
2398 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2399 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2399 X-Mercurial-Series-Index: 1
2400 X-Mercurial-Series-Index: 1
2400 X-Mercurial-Series-Total: 2
2401 X-Mercurial-Series-Total: 2
2401 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
2402 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
2402 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2403 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2403 In-Reply-To: <patchbomb.60@*> (glob)
2404 In-Reply-To: <patchbomb.60@*> (glob)
2404 References: <patchbomb.60@*> (glob)
2405 References: <patchbomb.60@*> (glob)
2405 User-Agent: Mercurial-patchbomb/* (glob)
2406 User-Agent: Mercurial-patchbomb/* (glob)
2406 Date: Thu, 01 Jan 1970 00:01:01 +0000
2407 Date: Thu, 01 Jan 1970 00:01:01 +0000
2407 From: quux
2408 From: quux
2408 To: foo
2409 To: foo
2409
2410
2410 # HG changeset patch
2411 # HG changeset patch
2411 # User test
2412 # User test
2412 # Date 1 0
2413 # Date 1 0
2413 # Thu Jan 01 00:00:01 1970 +0000
2414 # Thu Jan 01 00:00:01 1970 +0000
2414 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2415 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2415 # Parent 0000000000000000000000000000000000000000
2416 # Parent 0000000000000000000000000000000000000000
2416 a
2417 a
2417
2418
2418 diff -r 000000000000 -r 8580ff50825a a
2419 diff -r 000000000000 -r 8580ff50825a a
2419 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2420 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2420 +++ b/a Thu Jan 01 00:00:01 1970 +0000
2421 +++ b/a Thu Jan 01 00:00:01 1970 +0000
2421 @@ -0,0 +1,1 @@
2422 @@ -0,0 +1,1 @@
2422 +a
2423 +a
2423
2424
2424 displaying [PATCH 2 of 2 R1] b ...
2425 displaying [PATCH 2 of 2 R1] b ...
2425 Content-Type: text/plain; charset="us-ascii"
2426 Content-Type: text/plain; charset="us-ascii"
2426 MIME-Version: 1.0
2427 MIME-Version: 1.0
2427 Content-Transfer-Encoding: 7bit
2428 Content-Transfer-Encoding: 7bit
2428 Subject: [PATCH 2 of 2 R1] b
2429 Subject: [PATCH 2 of 2 R1] b
2429 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2430 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2430 X-Mercurial-Series-Index: 2
2431 X-Mercurial-Series-Index: 2
2431 X-Mercurial-Series-Total: 2
2432 X-Mercurial-Series-Total: 2
2432 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
2433 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
2433 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2434 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob)
2434 In-Reply-To: <patchbomb.60@*> (glob)
2435 In-Reply-To: <patchbomb.60@*> (glob)
2435 References: <patchbomb.60@*> (glob)
2436 References: <patchbomb.60@*> (glob)
2436 User-Agent: Mercurial-patchbomb/* (glob)
2437 User-Agent: Mercurial-patchbomb/* (glob)
2437 Date: Thu, 01 Jan 1970 00:01:02 +0000
2438 Date: Thu, 01 Jan 1970 00:01:02 +0000
2438 From: quux
2439 From: quux
2439 To: foo
2440 To: foo
2440
2441
2441 # HG changeset patch
2442 # HG changeset patch
2442 # User test
2443 # User test
2443 # Date 2 0
2444 # Date 2 0
2444 # Thu Jan 01 00:00:02 1970 +0000
2445 # Thu Jan 01 00:00:02 1970 +0000
2445 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2446 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2446 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2447 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2447 b
2448 b
2448
2449
2449 diff -r 8580ff50825a -r 97d72e5f12c7 b
2450 diff -r 8580ff50825a -r 97d72e5f12c7 b
2450 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2451 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2451 +++ b/b Thu Jan 01 00:00:02 1970 +0000
2452 +++ b/b Thu Jan 01 00:00:02 1970 +0000
2452 @@ -0,0 +1,1 @@
2453 @@ -0,0 +1,1 @@
2453 +b
2454 +b
2454
2455
2455
2456
2456 test flag template plus --flag:
2457 test flag template plus --flag:
2457 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -r 0 --flag 'V2' \
2458 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -r 0 --flag 'V2' \
2458 > --config patchbomb.flagtemplate='{branch} {flags}'
2459 > --config patchbomb.flagtemplate='{branch} {flags}'
2459 this patch series consists of 1 patches.
2460 this patch series consists of 1 patches.
2460
2461
2461 Cc:
2462 Cc:
2462
2463
2463 displaying [PATCH default V2] a ...
2464 displaying [PATCH default V2] a ...
2464 Content-Type: text/plain; charset="us-ascii"
2465 Content-Type: text/plain; charset="us-ascii"
2465 MIME-Version: 1.0
2466 MIME-Version: 1.0
2466 Content-Transfer-Encoding: 7bit
2467 Content-Transfer-Encoding: 7bit
2467 Subject: [PATCH default V2] a
2468 Subject: [PATCH default V2] a
2468 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2469 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2469 X-Mercurial-Series-Index: 1
2470 X-Mercurial-Series-Index: 1
2470 X-Mercurial-Series-Total: 1
2471 X-Mercurial-Series-Total: 1
2471 Message-Id: <8580ff50825a50c8f716.60@*> (glob)
2472 Message-Id: <8580ff50825a50c8f716.60@*> (glob)
2472 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob)
2473 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob)
2473 User-Agent: Mercurial-patchbomb/* (glob)
2474 User-Agent: Mercurial-patchbomb/* (glob)
2474 Date: Thu, 01 Jan 1970 00:01:00 +0000
2475 Date: Thu, 01 Jan 1970 00:01:00 +0000
2475 From: quux
2476 From: quux
2476 To: foo
2477 To: foo
2477
2478
2478 # HG changeset patch
2479 # HG changeset patch
2479 # User test
2480 # User test
2480 # Date 1 0
2481 # Date 1 0
2481 # Thu Jan 01 00:00:01 1970 +0000
2482 # Thu Jan 01 00:00:01 1970 +0000
2482 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2483 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2483 # Parent 0000000000000000000000000000000000000000
2484 # Parent 0000000000000000000000000000000000000000
2484 a
2485 a
2485
2486
2486 diff -r 000000000000 -r 8580ff50825a a
2487 diff -r 000000000000 -r 8580ff50825a a
2487 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2488 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2488 +++ b/a Thu Jan 01 00:00:01 1970 +0000
2489 +++ b/a Thu Jan 01 00:00:01 1970 +0000
2489 @@ -0,0 +1,1 @@
2490 @@ -0,0 +1,1 @@
2490 +a
2491 +a
2491
2492
2492
2493
2493 test multi-byte domain parsing:
2494 test multi-byte domain parsing:
2494 $ UUML=`$PYTHON -c 'import sys; sys.stdout.write("\374")'`
2495 $ UUML=`$PYTHON -c 'import sys; sys.stdout.write("\374")'`
2495 $ HGENCODING=iso-8859-1
2496 $ HGENCODING=iso-8859-1
2496 $ export HGENCODING
2497 $ export HGENCODING
2497 $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t "bar@${UUML}nicode.com" -s test -r 0
2498 $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t "bar@${UUML}nicode.com" -s test -r 0
2498 this patch series consists of 1 patches.
2499 this patch series consists of 1 patches.
2499
2500
2500 Cc:
2501 Cc:
2501
2502
2502 sending [PATCH] test ...
2503 sending [PATCH] test ...
2503
2504
2504 $ cat tmp.mbox
2505 $ cat tmp.mbox
2505 From quux ... ... .. ..:..:.. .... (re)
2506 From quux ... ... .. ..:..:.. .... (re)
2506 Content-Type: text/plain; charset="us-ascii"
2507 Content-Type: text/plain; charset="us-ascii"
2507 MIME-Version: 1.0
2508 MIME-Version: 1.0
2508 Content-Transfer-Encoding: 7bit
2509 Content-Transfer-Encoding: 7bit
2509 Subject: [PATCH] test
2510 Subject: [PATCH] test
2510 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2511 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
2511 X-Mercurial-Series-Index: 1
2512 X-Mercurial-Series-Index: 1
2512 X-Mercurial-Series-Total: 1
2513 X-Mercurial-Series-Total: 1
2513 Message-Id: <8580ff50825a50c8f716.315532860@*> (glob)
2514 Message-Id: <8580ff50825a50c8f716.315532860@*> (glob)
2514 X-Mercurial-Series-Id: <8580ff50825a50c8f716.315532860@*> (glob)
2515 X-Mercurial-Series-Id: <8580ff50825a50c8f716.315532860@*> (glob)
2515 User-Agent: Mercurial-patchbomb/* (glob)
2516 User-Agent: Mercurial-patchbomb/* (glob)
2516 Date: Tue, 01 Jan 1980 00:01:00 +0000
2517 Date: Tue, 01 Jan 1980 00:01:00 +0000
2517 From: quux
2518 From: quux
2518 To: bar@xn--nicode-2ya.com
2519 To: bar@xn--nicode-2ya.com
2519
2520
2520 # HG changeset patch
2521 # HG changeset patch
2521 # User test
2522 # User test
2522 # Date 1 0
2523 # Date 1 0
2523 # Thu Jan 01 00:00:01 1970 +0000
2524 # Thu Jan 01 00:00:01 1970 +0000
2524 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2525 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2525 # Parent 0000000000000000000000000000000000000000
2526 # Parent 0000000000000000000000000000000000000000
2526 a
2527 a
2527
2528
2528 diff -r 000000000000 -r 8580ff50825a a
2529 diff -r 000000000000 -r 8580ff50825a a
2529 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2530 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2530 +++ b/a Thu Jan 01 00:00:01 1970 +0000
2531 +++ b/a Thu Jan 01 00:00:01 1970 +0000
2531 @@ -0,0 +1,1 @@
2532 @@ -0,0 +1,1 @@
2532 +a
2533 +a
2533
2534
2534
2535
2535
2536
2536 test outgoing:
2537 test outgoing:
2537 $ hg up 1
2538 $ hg up 1
2538 0 files updated, 0 files merged, 6 files removed, 0 files unresolved
2539 0 files updated, 0 files merged, 6 files removed, 0 files unresolved
2539
2540
2540 $ hg branch test
2541 $ hg branch test
2541 marked working directory as branch test
2542 marked working directory as branch test
2542 (branches are permanent and global, did you want a bookmark?)
2543 (branches are permanent and global, did you want a bookmark?)
2543
2544
2544 $ echo d > d
2545 $ echo d > d
2545 $ hg add d
2546 $ hg add d
2546 $ hg ci -md -d '4 0'
2547 $ hg ci -md -d '4 0'
2547 $ echo d >> d
2548 $ echo d >> d
2548 $ hg ci -mdd -d '5 0'
2549 $ hg ci -mdd -d '5 0'
2549 $ hg log -G --template "{rev}:{node|short} {desc|firstline}\n"
2550 $ hg log -G --template "{rev}:{node|short} {desc|firstline}\n"
2550 @ 10:3b6f1ec9dde9 dd
2551 @ 10:3b6f1ec9dde9 dd
2551 |
2552 |
2552 o 9:2f9fa9b998c5 d
2553 o 9:2f9fa9b998c5 d
2553 |
2554 |
2554 | o 8:7aead2484924 Added tag two, two.diff for changeset ff2c9fa2018b
2555 | o 8:7aead2484924 Added tag two, two.diff for changeset ff2c9fa2018b
2555 | |
2556 | |
2556 | o 7:045ca29b1ea2 Added tag one, one.patch for changeset 97d72e5f12c7
2557 | o 7:045ca29b1ea2 Added tag one, one.patch for changeset 97d72e5f12c7
2557 | |
2558 | |
2558 | o 6:5d5ef15dfe5e Added tag zero, zero.foo for changeset 8580ff50825a
2559 | o 6:5d5ef15dfe5e Added tag zero, zero.foo for changeset 8580ff50825a
2559 | |
2560 | |
2560 | o 5:240fb913fc1b isolatin 8-bit encoding
2561 | o 5:240fb913fc1b isolatin 8-bit encoding
2561 | |
2562 | |
2562 | o 4:a2ea8fc83dd8 long line
2563 | o 4:a2ea8fc83dd8 long line
2563 | |
2564 | |
2564 | o 3:909a00e13e9d utf-8 content
2565 | o 3:909a00e13e9d utf-8 content
2565 | |
2566 | |
2566 | o 2:ff2c9fa2018b c
2567 | o 2:ff2c9fa2018b c
2567 |/
2568 |/
2568 o 1:97d72e5f12c7 b
2569 o 1:97d72e5f12c7 b
2569 |
2570 |
2570 o 0:8580ff50825a a
2571 o 0:8580ff50825a a
2571
2572
2572 $ hg phase --force --secret -r 10
2573 $ hg phase --force --secret -r 10
2573 $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t -r 'rev(10) or rev(6)'
2574 $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t -r 'rev(10) or rev(6)'
2574 comparing with ../t
2575 comparing with ../t
2575 From [test]: test
2576 From [test]: test
2576 this patch series consists of 6 patches.
2577 this patch series consists of 6 patches.
2577
2578
2578
2579
2579 Write the introductory message for the patch series.
2580 Write the introductory message for the patch series.
2580
2581
2581 Cc:
2582 Cc:
2582
2583
2583 displaying [PATCH 0 of 6] test ...
2584 displaying [PATCH 0 of 6] test ...
2584 Content-Type: text/plain; charset="us-ascii"
2585 Content-Type: text/plain; charset="us-ascii"
2585 MIME-Version: 1.0
2586 MIME-Version: 1.0
2586 Content-Transfer-Encoding: 7bit
2587 Content-Transfer-Encoding: 7bit
2587 Subject: [PATCH 0 of 6] test
2588 Subject: [PATCH 0 of 6] test
2588 Message-Id: <patchbomb.315532860@*> (glob)
2589 Message-Id: <patchbomb.315532860@*> (glob)
2589 User-Agent: Mercurial-patchbomb/* (glob)
2590 User-Agent: Mercurial-patchbomb/* (glob)
2590 Date: Tue, 01 Jan 1980 00:01:00 +0000
2591 Date: Tue, 01 Jan 1980 00:01:00 +0000
2591 From: test
2592 From: test
2592 To: foo
2593 To: foo
2593
2594
2594
2595
2595 displaying [PATCH 1 of 6] c ...
2596 displaying [PATCH 1 of 6] c ...
2596 Content-Type: text/plain; charset="us-ascii"
2597 Content-Type: text/plain; charset="us-ascii"
2597 MIME-Version: 1.0
2598 MIME-Version: 1.0
2598 Content-Transfer-Encoding: 7bit
2599 Content-Transfer-Encoding: 7bit
2599 Subject: [PATCH 1 of 6] c
2600 Subject: [PATCH 1 of 6] c
2600 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
2601 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
2601 X-Mercurial-Series-Index: 1
2602 X-Mercurial-Series-Index: 1
2602 X-Mercurial-Series-Total: 6
2603 X-Mercurial-Series-Total: 6
2603 Message-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
2604 Message-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
2604 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
2605 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
2605 In-Reply-To: <patchbomb.315532860@*> (glob)
2606 In-Reply-To: <patchbomb.315532860@*> (glob)
2606 References: <patchbomb.315532860@*> (glob)
2607 References: <patchbomb.315532860@*> (glob)
2607 User-Agent: Mercurial-patchbomb/* (glob)
2608 User-Agent: Mercurial-patchbomb/* (glob)
2608 Date: Tue, 01 Jan 1980 00:01:01 +0000
2609 Date: Tue, 01 Jan 1980 00:01:01 +0000
2609 From: test
2610 From: test
2610 To: foo
2611 To: foo
2611
2612
2612 # HG changeset patch
2613 # HG changeset patch
2613 # User test
2614 # User test
2614 # Date 3 0
2615 # Date 3 0
2615 # Thu Jan 01 00:00:03 1970 +0000
2616 # Thu Jan 01 00:00:03 1970 +0000
2616 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2617 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2617 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2618 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2618 c
2619 c
2619
2620
2620 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2621 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2621 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2622 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2622 +++ b/c Thu Jan 01 00:00:03 1970 +0000
2623 +++ b/c Thu Jan 01 00:00:03 1970 +0000
2623 @@ -0,0 +1,1 @@
2624 @@ -0,0 +1,1 @@
2624 +c
2625 +c
2625
2626
2626 displaying [PATCH 2 of 6] utf-8 content ...
2627 displaying [PATCH 2 of 6] utf-8 content ...
2627 Content-Type: text/plain; charset="us-ascii"
2628 Content-Type: text/plain; charset="us-ascii"
2628 MIME-Version: 1.0
2629 MIME-Version: 1.0
2629 Content-Transfer-Encoding: 8bit
2630 Content-Transfer-Encoding: 8bit
2630 Subject: [PATCH 2 of 6] utf-8 content
2631 Subject: [PATCH 2 of 6] utf-8 content
2631 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
2632 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
2632 X-Mercurial-Series-Index: 2
2633 X-Mercurial-Series-Index: 2
2633 X-Mercurial-Series-Total: 6
2634 X-Mercurial-Series-Total: 6
2634 Message-Id: <909a00e13e9d78b575ae.315532862@*> (glob)
2635 Message-Id: <909a00e13e9d78b575ae.315532862@*> (glob)
2635 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
2636 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
2636 In-Reply-To: <patchbomb.315532860@*> (glob)
2637 In-Reply-To: <patchbomb.315532860@*> (glob)
2637 References: <patchbomb.315532860@*> (glob)
2638 References: <patchbomb.315532860@*> (glob)
2638 User-Agent: Mercurial-patchbomb/* (glob)
2639 User-Agent: Mercurial-patchbomb/* (glob)
2639 Date: Tue, 01 Jan 1980 00:01:02 +0000
2640 Date: Tue, 01 Jan 1980 00:01:02 +0000
2640 From: test
2641 From: test
2641 To: foo
2642 To: foo
2642
2643
2643 # HG changeset patch
2644 # HG changeset patch
2644 # User test
2645 # User test
2645 # Date 4 0
2646 # Date 4 0
2646 # Thu Jan 01 00:00:04 1970 +0000
2647 # Thu Jan 01 00:00:04 1970 +0000
2647 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
2648 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
2648 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
2649 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
2649 utf-8 content
2650 utf-8 content
2650
2651
2651 diff -r ff2c9fa2018b -r 909a00e13e9d description
2652 diff -r ff2c9fa2018b -r 909a00e13e9d description
2652 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2653 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2653 +++ b/description Thu Jan 01 00:00:04 1970 +0000
2654 +++ b/description Thu Jan 01 00:00:04 1970 +0000
2654 @@ -0,0 +1,3 @@
2655 @@ -0,0 +1,3 @@
2655 +a multiline
2656 +a multiline
2656 +
2657 +
2657 +description
2658 +description
2658 diff -r ff2c9fa2018b -r 909a00e13e9d utf
2659 diff -r ff2c9fa2018b -r 909a00e13e9d utf
2659 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2660 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2660 +++ b/utf Thu Jan 01 00:00:04 1970 +0000
2661 +++ b/utf Thu Jan 01 00:00:04 1970 +0000
2661 @@ -0,0 +1,1 @@
2662 @@ -0,0 +1,1 @@
2662 +h\xc3\xb6mma! (esc)
2663 +h\xc3\xb6mma! (esc)
2663
2664
2664 displaying [PATCH 3 of 6] long line ...
2665 displaying [PATCH 3 of 6] long line ...
2665 Content-Type: text/plain; charset="us-ascii"
2666 Content-Type: text/plain; charset="us-ascii"
2666 MIME-Version: 1.0
2667 MIME-Version: 1.0
2667 Content-Transfer-Encoding: quoted-printable
2668 Content-Transfer-Encoding: quoted-printable
2668 Subject: [PATCH 3 of 6] long line
2669 Subject: [PATCH 3 of 6] long line
2669 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
2670 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
2670 X-Mercurial-Series-Index: 3
2671 X-Mercurial-Series-Index: 3
2671 X-Mercurial-Series-Total: 6
2672 X-Mercurial-Series-Total: 6
2672 Message-Id: <a2ea8fc83dd8b93cfd86.315532863@*> (glob)
2673 Message-Id: <a2ea8fc83dd8b93cfd86.315532863@*> (glob)
2673 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
2674 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
2674 In-Reply-To: <patchbomb.315532860@*> (glob)
2675 In-Reply-To: <patchbomb.315532860@*> (glob)
2675 References: <patchbomb.315532860@*> (glob)
2676 References: <patchbomb.315532860@*> (glob)
2676 User-Agent: Mercurial-patchbomb/* (glob)
2677 User-Agent: Mercurial-patchbomb/* (glob)
2677 Date: Tue, 01 Jan 1980 00:01:03 +0000
2678 Date: Tue, 01 Jan 1980 00:01:03 +0000
2678 From: test
2679 From: test
2679 To: foo
2680 To: foo
2680
2681
2681 # HG changeset patch
2682 # HG changeset patch
2682 # User test
2683 # User test
2683 # Date 4 0
2684 # Date 4 0
2684 # Thu Jan 01 00:00:04 1970 +0000
2685 # Thu Jan 01 00:00:04 1970 +0000
2685 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
2686 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
2686 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
2687 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
2687 long line
2688 long line
2688
2689
2689 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
2690 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
2690 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2691 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2691 +++ b/long Thu Jan 01 00:00:04 1970 +0000
2692 +++ b/long Thu Jan 01 00:00:04 1970 +0000
2692 @@ -0,0 +1,4 @@
2693 @@ -0,0 +1,4 @@
2693 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2694 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2694 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2695 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2695 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2696 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2696 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2697 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2697 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2698 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2698 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2699 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2699 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2700 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2700 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2701 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2701 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2702 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2702 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2703 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2703 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2704 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2704 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2705 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2705 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2706 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2706 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2707 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2707 +foo
2708 +foo
2708 +
2709 +
2709 +bar
2710 +bar
2710
2711
2711 displaying [PATCH 4 of 6] isolatin 8-bit encoding ...
2712 displaying [PATCH 4 of 6] isolatin 8-bit encoding ...
2712 Content-Type: text/plain; charset="us-ascii"
2713 Content-Type: text/plain; charset="us-ascii"
2713 MIME-Version: 1.0
2714 MIME-Version: 1.0
2714 Content-Transfer-Encoding: 8bit
2715 Content-Transfer-Encoding: 8bit
2715 Subject: [PATCH 4 of 6] isolatin 8-bit encoding
2716 Subject: [PATCH 4 of 6] isolatin 8-bit encoding
2716 X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
2717 X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
2717 X-Mercurial-Series-Index: 4
2718 X-Mercurial-Series-Index: 4
2718 X-Mercurial-Series-Total: 6
2719 X-Mercurial-Series-Total: 6
2719 Message-Id: <240fb913fc1b7ff15ddb.315532864@*> (glob)
2720 Message-Id: <240fb913fc1b7ff15ddb.315532864@*> (glob)
2720 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
2721 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
2721 In-Reply-To: <patchbomb.315532860@*> (glob)
2722 In-Reply-To: <patchbomb.315532860@*> (glob)
2722 References: <patchbomb.315532860@*> (glob)
2723 References: <patchbomb.315532860@*> (glob)
2723 User-Agent: Mercurial-patchbomb/* (glob)
2724 User-Agent: Mercurial-patchbomb/* (glob)
2724 Date: Tue, 01 Jan 1980 00:01:04 +0000
2725 Date: Tue, 01 Jan 1980 00:01:04 +0000
2725 From: test
2726 From: test
2726 To: foo
2727 To: foo
2727
2728
2728 # HG changeset patch
2729 # HG changeset patch
2729 # User test
2730 # User test
2730 # Date 5 0
2731 # Date 5 0
2731 # Thu Jan 01 00:00:05 1970 +0000
2732 # Thu Jan 01 00:00:05 1970 +0000
2732 # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
2733 # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
2733 # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
2734 # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
2734 isolatin 8-bit encoding
2735 isolatin 8-bit encoding
2735
2736
2736 diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin
2737 diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin
2737 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2738 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2738 +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000
2739 +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000
2739 @@ -0,0 +1,1 @@
2740 @@ -0,0 +1,1 @@
2740 +h\xf6mma! (esc)
2741 +h\xf6mma! (esc)
2741
2742
2742 displaying [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a ...
2743 displaying [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a ...
2743 Content-Type: text/plain; charset="us-ascii"
2744 Content-Type: text/plain; charset="us-ascii"
2744 MIME-Version: 1.0
2745 MIME-Version: 1.0
2745 Content-Transfer-Encoding: 7bit
2746 Content-Transfer-Encoding: 7bit
2746 Subject: [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a
2747 Subject: [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a
2747 X-Mercurial-Node: 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433
2748 X-Mercurial-Node: 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433
2748 X-Mercurial-Series-Index: 5
2749 X-Mercurial-Series-Index: 5
2749 X-Mercurial-Series-Total: 6
2750 X-Mercurial-Series-Total: 6
2750 Message-Id: <5d5ef15dfe5e7bd3a4ee.315532865@*> (glob)
2751 Message-Id: <5d5ef15dfe5e7bd3a4ee.315532865@*> (glob)
2751 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
2752 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
2752 In-Reply-To: <patchbomb.315532860@*> (glob)
2753 In-Reply-To: <patchbomb.315532860@*> (glob)
2753 References: <patchbomb.315532860@*> (glob)
2754 References: <patchbomb.315532860@*> (glob)
2754 User-Agent: Mercurial-patchbomb/* (glob)
2755 User-Agent: Mercurial-patchbomb/* (glob)
2755 Date: Tue, 01 Jan 1980 00:01:05 +0000
2756 Date: Tue, 01 Jan 1980 00:01:05 +0000
2756 From: test
2757 From: test
2757 To: foo
2758 To: foo
2758
2759
2759 # HG changeset patch
2760 # HG changeset patch
2760 # User test
2761 # User test
2761 # Date 0 0
2762 # Date 0 0
2762 # Thu Jan 01 00:00:00 1970 +0000
2763 # Thu Jan 01 00:00:00 1970 +0000
2763 # Node ID 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433
2764 # Node ID 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433
2764 # Parent 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
2765 # Parent 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
2765 Added tag zero, zero.foo for changeset 8580ff50825a
2766 Added tag zero, zero.foo for changeset 8580ff50825a
2766
2767
2767 diff -r 240fb913fc1b -r 5d5ef15dfe5e .hgtags
2768 diff -r 240fb913fc1b -r 5d5ef15dfe5e .hgtags
2768 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2769 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2769 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
2770 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
2770 @@ -0,0 +1,2 @@
2771 @@ -0,0 +1,2 @@
2771 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero
2772 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero
2772 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
2773 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
2773
2774
2774 displaying [PATCH 6 of 6] d ...
2775 displaying [PATCH 6 of 6] d ...
2775 Content-Type: text/plain; charset="us-ascii"
2776 Content-Type: text/plain; charset="us-ascii"
2776 MIME-Version: 1.0
2777 MIME-Version: 1.0
2777 Content-Transfer-Encoding: 7bit
2778 Content-Transfer-Encoding: 7bit
2778 Subject: [PATCH 6 of 6] d
2779 Subject: [PATCH 6 of 6] d
2779 X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2780 X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2780 X-Mercurial-Series-Index: 6
2781 X-Mercurial-Series-Index: 6
2781 X-Mercurial-Series-Total: 6
2782 X-Mercurial-Series-Total: 6
2782 Message-Id: <2f9fa9b998c5fe3ac2bd.315532866@*> (glob)
2783 Message-Id: <2f9fa9b998c5fe3ac2bd.315532866@*> (glob)
2783 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
2784 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
2784 In-Reply-To: <patchbomb.315532860@*> (glob)
2785 In-Reply-To: <patchbomb.315532860@*> (glob)
2785 References: <patchbomb.315532860@*> (glob)
2786 References: <patchbomb.315532860@*> (glob)
2786 User-Agent: Mercurial-patchbomb/* (glob)
2787 User-Agent: Mercurial-patchbomb/* (glob)
2787 Date: Tue, 01 Jan 1980 00:01:06 +0000
2788 Date: Tue, 01 Jan 1980 00:01:06 +0000
2788 From: test
2789 From: test
2789 To: foo
2790 To: foo
2790
2791
2791 # HG changeset patch
2792 # HG changeset patch
2792 # User test
2793 # User test
2793 # Date 4 0
2794 # Date 4 0
2794 # Thu Jan 01 00:00:04 1970 +0000
2795 # Thu Jan 01 00:00:04 1970 +0000
2795 # Branch test
2796 # Branch test
2796 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2797 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2797 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2798 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2798 d
2799 d
2799
2800
2800 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d
2801 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d
2801 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2802 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2802 +++ b/d Thu Jan 01 00:00:04 1970 +0000
2803 +++ b/d Thu Jan 01 00:00:04 1970 +0000
2803 @@ -0,0 +1,1 @@
2804 @@ -0,0 +1,1 @@
2804 +d
2805 +d
2805
2806
2806
2807
2807 Don't prompt for a CC header.
2808 Don't prompt for a CC header.
2808
2809
2809 $ echo "[email]" >> $HGRCPATH
2810 $ echo "[email]" >> $HGRCPATH
2810 $ echo "cc=" >> $HGRCPATH
2811 $ echo "cc=" >> $HGRCPATH
2811
2812
2812 dest#branch URIs:
2813 dest#branch URIs:
2813 $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t#test
2814 $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t#test
2814 comparing with ../t
2815 comparing with ../t
2815 From [test]: test
2816 From [test]: test
2816 this patch series consists of 1 patches.
2817 this patch series consists of 1 patches.
2817
2818
2818
2819
2819 displaying [PATCH] test ...
2820 displaying [PATCH] test ...
2820 Content-Type: text/plain; charset="us-ascii"
2821 Content-Type: text/plain; charset="us-ascii"
2821 MIME-Version: 1.0
2822 MIME-Version: 1.0
2822 Content-Transfer-Encoding: 7bit
2823 Content-Transfer-Encoding: 7bit
2823 Subject: [PATCH] test
2824 Subject: [PATCH] test
2824 X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2825 X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2825 X-Mercurial-Series-Index: 1
2826 X-Mercurial-Series-Index: 1
2826 X-Mercurial-Series-Total: 1
2827 X-Mercurial-Series-Total: 1
2827 Message-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob)
2828 Message-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob)
2828 X-Mercurial-Series-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob)
2829 X-Mercurial-Series-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob)
2829 User-Agent: Mercurial-patchbomb/* (glob)
2830 User-Agent: Mercurial-patchbomb/* (glob)
2830 Date: Tue, 01 Jan 1980 00:01:00 +0000
2831 Date: Tue, 01 Jan 1980 00:01:00 +0000
2831 From: test
2832 From: test
2832 To: foo
2833 To: foo
2833
2834
2834 # HG changeset patch
2835 # HG changeset patch
2835 # User test
2836 # User test
2836 # Date 4 0
2837 # Date 4 0
2837 # Thu Jan 01 00:00:04 1970 +0000
2838 # Thu Jan 01 00:00:04 1970 +0000
2838 # Branch test
2839 # Branch test
2839 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2840 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2840 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2841 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2841 d
2842 d
2842
2843
2843 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d
2844 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d
2844 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2845 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2845 +++ b/d Thu Jan 01 00:00:04 1970 +0000
2846 +++ b/d Thu Jan 01 00:00:04 1970 +0000
2846 @@ -0,0 +1,1 @@
2847 @@ -0,0 +1,1 @@
2847 +d
2848 +d
2848
2849
2849 #if no-windows
2850 #if no-windows
2850
2851
2851 Set up a fake sendmail program
2852 Set up a fake sendmail program
2852
2853
2853 $ cat > pretendmail.sh << 'EOF'
2854 $ cat > pretendmail.sh << 'EOF'
2854 > #!/bin/sh
2855 > #!/bin/sh
2855 > echo "$@"
2856 > echo "$@"
2856 > cat
2857 > cat
2857 > EOF
2858 > EOF
2858 $ chmod +x pretendmail.sh
2859 $ chmod +x pretendmail.sh
2859
2860
2860 $ echo '[email]' >> $HGRCPATH
2861 $ echo '[email]' >> $HGRCPATH
2861 $ echo "method=`pwd`/pretendmail.sh" >> $HGRCPATH
2862 $ echo "method=`pwd`/pretendmail.sh" >> $HGRCPATH
2862
2863
2863 Test introduction configuration
2864 Test introduction configuration
2864 =================================
2865 =================================
2865
2866
2866 $ echo '[patchbomb]' >> $HGRCPATH
2867 $ echo '[patchbomb]' >> $HGRCPATH
2867
2868
2868 "auto" setting
2869 "auto" setting
2869 ----------------
2870 ----------------
2870
2871
2871 $ echo 'intro=auto' >> $HGRCPATH
2872 $ echo 'intro=auto' >> $HGRCPATH
2872
2873
2873 single rev
2874 single rev
2874
2875
2875 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series."
2876 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series."
2876 [1]
2877 [1]
2877
2878
2878 single rev + flag
2879 single rev + flag
2879
2880
2880 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series."
2881 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series."
2881 Write the introductory message for the patch series.
2882 Write the introductory message for the patch series.
2882
2883
2883
2884
2884 Multi rev
2885 Multi rev
2885
2886
2886 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series."
2887 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series."
2887 Write the introductory message for the patch series.
2888 Write the introductory message for the patch series.
2888
2889
2889 "never" setting
2890 "never" setting
2890 -----------------
2891 -----------------
2891
2892
2892 $ echo 'intro=never' >> $HGRCPATH
2893 $ echo 'intro=never' >> $HGRCPATH
2893
2894
2894 single rev
2895 single rev
2895
2896
2896 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series."
2897 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series."
2897 [1]
2898 [1]
2898
2899
2899 single rev + flag
2900 single rev + flag
2900
2901
2901 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series."
2902 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series."
2902 Write the introductory message for the patch series.
2903 Write the introductory message for the patch series.
2903
2904
2904
2905
2905 Multi rev
2906 Multi rev
2906
2907
2907 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series."
2908 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series."
2908 [1]
2909 [1]
2909
2910
2910 Multi rev + flag
2911 Multi rev + flag
2911
2912
2912 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' --intro | grep "Write the introductory message for the patch series."
2913 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' --intro | grep "Write the introductory message for the patch series."
2913 Write the introductory message for the patch series.
2914 Write the introductory message for the patch series.
2914
2915
2915 "always" setting
2916 "always" setting
2916 -----------------
2917 -----------------
2917
2918
2918 $ echo 'intro=always' >> $HGRCPATH
2919 $ echo 'intro=always' >> $HGRCPATH
2919
2920
2920 single rev
2921 single rev
2921
2922
2922 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series."
2923 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series."
2923 Write the introductory message for the patch series.
2924 Write the introductory message for the patch series.
2924
2925
2925 single rev + flag
2926 single rev + flag
2926
2927
2927 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series."
2928 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series."
2928 Write the introductory message for the patch series.
2929 Write the introductory message for the patch series.
2929
2930
2930
2931
2931 Multi rev
2932 Multi rev
2932
2933
2933 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series."
2934 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series."
2934 Write the introductory message for the patch series.
2935 Write the introductory message for the patch series.
2935
2936
2936 Multi rev + flag
2937 Multi rev + flag
2937
2938
2938 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' --intro | grep "Write the introductory message for the patch series."
2939 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' --intro | grep "Write the introductory message for the patch series."
2939 Write the introductory message for the patch series.
2940 Write the introductory message for the patch series.
2940
2941
2941 bad value setting
2942 bad value setting
2942 -----------------
2943 -----------------
2943
2944
2944 $ echo 'intro=mpmwearaclownnose' >> $HGRCPATH
2945 $ echo 'intro=mpmwearaclownnose' >> $HGRCPATH
2945
2946
2946 single rev
2947 single rev
2947
2948
2948 $ hg email --date '1980-1-1 0:1' -v -t foo -s test -r '10'
2949 $ hg email --date '1980-1-1 0:1' -v -t foo -s test -r '10'
2949 From [test]: test
2950 From [test]: test
2950 this patch series consists of 1 patches.
2951 this patch series consists of 1 patches.
2951
2952
2952 warning: invalid patchbomb.intro value "mpmwearaclownnose"
2953 warning: invalid patchbomb.intro value "mpmwearaclownnose"
2953 (should be one of always, never, auto)
2954 (should be one of always, never, auto)
2954 -f test foo
2955 -f test foo
2955 Content-Type: text/plain; charset="us-ascii"
2956 Content-Type: text/plain; charset="us-ascii"
2956 MIME-Version: 1.0
2957 MIME-Version: 1.0
2957 Content-Transfer-Encoding: 7bit
2958 Content-Transfer-Encoding: 7bit
2958 Subject: [PATCH] test
2959 Subject: [PATCH] test
2959 X-Mercurial-Node: 3b6f1ec9dde933a40a115a7990f8b320477231af
2960 X-Mercurial-Node: 3b6f1ec9dde933a40a115a7990f8b320477231af
2960 X-Mercurial-Series-Index: 1
2961 X-Mercurial-Series-Index: 1
2961 X-Mercurial-Series-Total: 1
2962 X-Mercurial-Series-Total: 1
2962 Message-Id: <3b6f1ec9dde933a40a11*> (glob)
2963 Message-Id: <3b6f1ec9dde933a40a11*> (glob)
2963 X-Mercurial-Series-Id: <3b6f1ec9dde933a40a11.*> (glob)
2964 X-Mercurial-Series-Id: <3b6f1ec9dde933a40a11.*> (glob)
2964 User-Agent: Mercurial-patchbomb/* (glob)
2965 User-Agent: Mercurial-patchbomb/* (glob)
2965 Date: Tue, 01 Jan 1980 00:01:00 +0000
2966 Date: Tue, 01 Jan 1980 00:01:00 +0000
2966 From: test
2967 From: test
2967 To: foo
2968 To: foo
2968
2969
2969 # HG changeset patch
2970 # HG changeset patch
2970 # User test
2971 # User test
2971 # Date 5 0
2972 # Date 5 0
2972 # Thu Jan 01 00:00:05 1970 +0000
2973 # Thu Jan 01 00:00:05 1970 +0000
2973 # Branch test
2974 # Branch test
2974 # Node ID 3b6f1ec9dde933a40a115a7990f8b320477231af
2975 # Node ID 3b6f1ec9dde933a40a115a7990f8b320477231af
2975 # Parent 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2976 # Parent 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2976 dd
2977 dd
2977
2978
2978 diff -r 2f9fa9b998c5 -r 3b6f1ec9dde9 d
2979 diff -r 2f9fa9b998c5 -r 3b6f1ec9dde9 d
2979 --- a/d Thu Jan 01 00:00:04 1970 +0000
2980 --- a/d Thu Jan 01 00:00:04 1970 +0000
2980 +++ b/d Thu Jan 01 00:00:05 1970 +0000
2981 +++ b/d Thu Jan 01 00:00:05 1970 +0000
2981 @@ -1,1 +1,2 @@
2982 @@ -1,1 +1,2 @@
2982 d
2983 d
2983 +d
2984 +d
2984
2985
2985 sending [PATCH] test ...
2986 sending [PATCH] test ...
2986 sending mail: $TESTTMP/t2/pretendmail.sh -f test foo
2987 sending mail: $TESTTMP/t2/pretendmail.sh -f test foo
2987
2988
2988 Test pull url header
2989 Test pull url header
2989 =================================
2990 =================================
2990
2991
2991 basic version
2992 basic version
2992
2993
2993 $ echo 'intro=auto' >> $HGRCPATH
2994 $ echo 'intro=auto' >> $HGRCPATH
2994 $ echo "publicurl=$TESTTMP/t2" >> $HGRCPATH
2995 $ echo "publicurl=$TESTTMP/t2" >> $HGRCPATH
2995 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep '^#'
2996 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep '^#'
2996 abort: public url $TESTTMP/t2 is missing 3b6f1ec9dde9
2997 abort: public url $TESTTMP/t2 is missing 3b6f1ec9dde9
2997 (use 'hg push $TESTTMP/t2 -r 3b6f1ec9dde9')
2998 (use 'hg push $TESTTMP/t2 -r 3b6f1ec9dde9')
2998 [1]
2999 [1]
2999
3000
3000 public missing
3001 public missing
3001
3002
3002 $ echo 'publicurl=$TESTTMP/missing' >> $HGRCPATH
3003 $ echo 'publicurl=$TESTTMP/missing' >> $HGRCPATH
3003 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10'
3004 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10'
3004 unable to access public repo: $TESTTMP/missing
3005 unable to access public repo: $TESTTMP/missing
3005 abort: repository $TESTTMP/missing not found!
3006 abort: repository $TESTTMP/missing not found!
3006 [255]
3007 [255]
3007
3008
3008 node missing at public
3009 node missing at public
3009
3010
3010 $ hg clone -r '9' . ../t3
3011 $ hg clone -r '9' . ../t3
3011 adding changesets
3012 adding changesets
3012 adding manifests
3013 adding manifests
3013 adding file changes
3014 adding file changes
3014 added 3 changesets with 3 changes to 3 files
3015 added 3 changesets with 3 changes to 3 files
3015 updating to branch test
3016 updating to branch test
3016 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
3017 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
3017 $ echo 'publicurl=$TESTTMP/t3' >> $HGRCPATH
3018 $ echo 'publicurl=$TESTTMP/t3' >> $HGRCPATH
3018 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10'
3019 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10'
3019 abort: public url $TESTTMP/t3 is missing 3b6f1ec9dde9
3020 abort: public url $TESTTMP/t3 is missing 3b6f1ec9dde9
3020 (use 'hg push $TESTTMP/t3 -r 3b6f1ec9dde9')
3021 (use 'hg push $TESTTMP/t3 -r 3b6f1ec9dde9')
3021 [255]
3022 [255]
3022
3023
3023 multiple heads are missing at public
3024 multiple heads are missing at public
3024
3025
3025 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '2+10'
3026 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '2+10'
3026 abort: public "$TESTTMP/t3" is missing ff2c9fa2018b and 1 others
3027 abort: public "$TESTTMP/t3" is missing ff2c9fa2018b and 1 others
3027 (use 'hg push $TESTTMP/t3 -r ff2c9fa2018b -r 3b6f1ec9dde9')
3028 (use 'hg push $TESTTMP/t3 -r ff2c9fa2018b -r 3b6f1ec9dde9')
3028 [255]
3029 [255]
3029
3030
3030 #endif
3031 #endif
General Comments 0
You need to be logged in to leave comments. Login now