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