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