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