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