Mercurial > hg
annotate tests/test-patchbomb.t @ 29966:11604da46982
rebase: use single quotes in use warning
author | timeless <timeless@mozdev.org> |
---|---|
date | Tue, 20 Sep 2016 23:44:28 +0000 |
parents | 953839de96ab |
children | 040f23ed6963 |
rev | line source |
---|---|
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1 Note for future hackers of patchbomb: this file is a bit heavy on |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
2 wildcards in test expectations due to how many things like hostnames |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
3 tend to make it into outputs. As a result, you may need to perform the |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
4 following regular expression substitutions: |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
5 @$HOSTNAME> -> @*> (glob) |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
6 Mercurial-patchbomb/.* -> Mercurial-patchbomb/* (glob) |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
7 /mixed; boundary="===+[0-9]+==" -> /mixed; boundary="===*== (glob)" |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
8 --===+[0-9]+=+--$ -> --===*=-- (glob) |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
9 --===+[0-9]+=+$ -> --===*= (glob) |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
10 |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
11 $ cat > prune-blank-after-boundary.py <<EOF |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
12 > import sys |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
13 > skipblank = False |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
14 > trim = lambda x: x.strip(' \r\n') |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
15 > for l in sys.stdin: |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
16 > if trim(l).endswith('=--') or trim(l).endswith('=='): |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
17 > skipblank = True |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
18 > print l, |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
19 > continue |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
20 > if not trim(l) and skipblank: |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
21 > continue |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
22 > skipblank = False |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
23 > print l, |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
24 > EOF |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
25 $ FILTERBOUNDARY="python `pwd`/prune-blank-after-boundary.py" |
26924
45494030bb70
test: use generaldelta in 'test-patchbomb.t'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26626
diff
changeset
|
26 $ echo "[format]" >> $HGRCPATH |
26925
d8270223a026
test: use generaldelta in 'test-bundle-type.t'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26924
diff
changeset
|
27 $ echo "usegeneraldelta=yes" >> $HGRCPATH |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
28 $ echo "[extensions]" >> $HGRCPATH |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
29 $ echo "patchbomb=" >> $HGRCPATH |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
30 |
28051
413201fbbc82
test-patchbomb: ensure hg email write to stdout
Sébastien Brissaud <sebastien@brissaud.name>
parents:
27697
diff
changeset
|
31 Ensure hg email output is sent to stdout |
413201fbbc82
test-patchbomb: ensure hg email write to stdout
Sébastien Brissaud <sebastien@brissaud.name>
parents:
27697
diff
changeset
|
32 $ unset PAGER |
413201fbbc82
test-patchbomb: ensure hg email write to stdout
Sébastien Brissaud <sebastien@brissaud.name>
parents:
27697
diff
changeset
|
33 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
34 $ hg init t |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
35 $ cd t |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
36 $ echo a > a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
37 $ hg commit -Ama -d '1 0' |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
38 adding a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
39 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
40 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
41 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
42 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
43 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
44 displaying [PATCH] a ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
45 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
46 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
47 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
48 Subject: [PATCH] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
49 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
50 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
51 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
52 Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
53 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
54 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
55 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
56 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
57 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
58 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
59 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
60 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
61 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
62 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
63 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
64 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
65 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
66 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
67 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
68 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
69 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
70 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
71 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
72 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
73 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
74 |
12201
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
75 $ hg --config ui.interactive=1 email --confirm -n -f quux -t foo -c bar -r tip<<EOF |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
76 > n |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
77 > EOF |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
78 this patch series consists of 1 patches. |
12201
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
79 |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
80 |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
81 Final summary: |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
82 |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
83 From: quux |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
84 To: foo |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
85 Cc: bar |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
86 Subject: [PATCH] a |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
87 a | 1 + |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
88 1 files changed, 1 insertions(+), 0 deletions(-) |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
89 |
22589
9ab18a912c44
ui: show prompt choice if input is not a tty but is forced to be interactive
Mads Kiilerich <madski@unity3d.com>
parents:
22071
diff
changeset
|
90 are you sure you want to send (yn)? n |
9ab18a912c44
ui: show prompt choice if input is not a tty but is forced to be interactive
Mads Kiilerich <madski@unity3d.com>
parents:
22071
diff
changeset
|
91 abort: patchbomb canceled |
12316
4134686b83e1
tests: add exit codes to unified tests
Matt Mackall <mpm@selenic.com>
parents:
12201
diff
changeset
|
92 [255] |
12201
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
93 |
23488
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
94 $ hg --config ui.interactive=1 --config patchbomb.confirm=true email -n -f quux -t foo -c bar -r tip<<EOF |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
95 > n |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
96 > EOF |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
97 this patch series consists of 1 patches. |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
98 |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
99 |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
100 Final summary: |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
101 |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
102 From: quux |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
103 To: foo |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
104 Cc: bar |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
105 Subject: [PATCH] a |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
106 a | 1 + |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
107 1 files changed, 1 insertions(+), 0 deletions(-) |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
108 |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
109 are you sure you want to send (yn)? n |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
110 abort: patchbomb canceled |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
111 [255] |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
112 |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
113 |
23450
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
114 Test diff.git is respected |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
115 $ hg --config diff.git=True email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
116 this patch series consists of 1 patches. |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
117 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
118 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
119 displaying [PATCH] a ... |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
120 Content-Type: text/plain; charset="us-ascii" |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
121 MIME-Version: 1.0 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
122 Content-Transfer-Encoding: 7bit |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
123 Subject: [PATCH] a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
124 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
125 X-Mercurial-Series-Index: 1 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
126 X-Mercurial-Series-Total: 1 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
127 Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
128 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
129 User-Agent: Mercurial-patchbomb/* (glob) |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
130 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
131 From: quux |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
132 To: foo |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
133 Cc: bar |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
134 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
135 # HG changeset patch |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
136 # User test |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
137 # Date 1 0 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
138 # Thu Jan 01 00:00:01 1970 +0000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
139 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
140 # Parent 0000000000000000000000000000000000000000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
141 a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
142 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
143 diff --git a/a b/a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
144 new file mode 100644 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
145 --- /dev/null |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
146 +++ b/a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
147 @@ -0,0 +1,1 @@ |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
148 +a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
149 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
150 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
151 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
152 Test breaking format changes aren't |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
153 $ hg --config diff.noprefix=True email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
154 this patch series consists of 1 patches. |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
155 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
156 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
157 displaying [PATCH] a ... |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
158 Content-Type: text/plain; charset="us-ascii" |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
159 MIME-Version: 1.0 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
160 Content-Transfer-Encoding: 7bit |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
161 Subject: [PATCH] a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
162 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
163 X-Mercurial-Series-Index: 1 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
164 X-Mercurial-Series-Total: 1 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
165 Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
166 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
167 User-Agent: Mercurial-patchbomb/* (glob) |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
168 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
169 From: quux |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
170 To: foo |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
171 Cc: bar |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
172 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
173 # HG changeset patch |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
174 # User test |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
175 # Date 1 0 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
176 # Thu Jan 01 00:00:01 1970 +0000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
177 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
178 # Parent 0000000000000000000000000000000000000000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
179 a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
180 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
181 diff -r 000000000000 -r 8580ff50825a a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
182 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
183 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
184 @@ -0,0 +1,1 @@ |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
185 +a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
186 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
187 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
188 $ echo b > b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
189 $ hg commit -Amb -d '2 0' |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
190 adding b |
4420
b0656b33cc02
add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
191 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
192 $ hg email --date '1970-1-1 0:2' -n -f quux -t foo -c bar -s test -r 0:tip |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
193 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
194 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
195 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
196 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
197 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
198 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
199 displaying [PATCH 0 of 2] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
200 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
201 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
202 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
203 Subject: [PATCH 0 of 2] test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
204 Message-Id: <patchbomb.120@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
205 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
206 Date: Thu, 01 Jan 1970 00:02:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
207 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
208 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
209 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
210 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
211 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
212 displaying [PATCH 1 of 2] a ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
213 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
214 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
215 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
216 Subject: [PATCH 1 of 2] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
217 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
218 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
219 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
220 Message-Id: <8580ff50825a50c8f716.121@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
221 X-Mercurial-Series-Id: <8580ff50825a50c8f716.121@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
222 In-Reply-To: <patchbomb.120@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
223 References: <patchbomb.120@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
224 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
225 Date: Thu, 01 Jan 1970 00:02:01 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
226 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
227 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
228 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
229 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
230 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
231 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
232 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
233 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
234 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
235 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
236 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
237 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
238 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
239 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
240 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
241 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
242 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
243 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
244 displaying [PATCH 2 of 2] b ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
245 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
246 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
247 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
248 Subject: [PATCH 2 of 2] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
249 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
250 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
251 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
252 Message-Id: <97d72e5f12c7e84f8506.122@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
253 X-Mercurial-Series-Id: <8580ff50825a50c8f716.121@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
254 In-Reply-To: <patchbomb.120@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
255 References: <patchbomb.120@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
256 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
257 Date: Thu, 01 Jan 1970 00:02:02 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
258 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
259 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
260 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
261 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
262 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
263 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
264 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
265 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
266 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
267 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
268 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
269 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
270 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
271 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
272 +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
273 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
274 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
275 |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
276 |
13198
e71b2aa74ce3
patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
12942
diff
changeset
|
277 .hg/last-email.txt |
e71b2aa74ce3
patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
12942
diff
changeset
|
278 |
16901
5b89700cce30
tests: consistently use a HGEDITOR pattern that works with msys on windows
Mads Kiilerich <mads@kiilerich.com>
parents:
16351
diff
changeset
|
279 $ cat > editor.sh << '__EOF__' |
13198
e71b2aa74ce3
patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
12942
diff
changeset
|
280 > echo "a precious introductory message" > "$1" |
e71b2aa74ce3
patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
12942
diff
changeset
|
281 > __EOF__ |
16901
5b89700cce30
tests: consistently use a HGEDITOR pattern that works with msys on windows
Mads Kiilerich <mads@kiilerich.com>
parents:
16351
diff
changeset
|
282 $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg email -n -t foo -s test -r 0:tip > /dev/null |
13198
e71b2aa74ce3
patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
12942
diff
changeset
|
283 $ cat .hg/last-email.txt |
e71b2aa74ce3
patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
12942
diff
changeset
|
284 a precious introductory message |
e71b2aa74ce3
patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
12942
diff
changeset
|
285 |
12845
685d884fd2b6
test-patchbomb: add test for progress support (1ed2dc9d4368)
Yuya Nishihara <yuya@tcha.org>
parents:
12376
diff
changeset
|
286 $ hg email -m test.mbox -f quux -t foo -c bar -s test 0:tip \ |
685d884fd2b6
test-patchbomb: add test for progress support (1ed2dc9d4368)
Yuya Nishihara <yuya@tcha.org>
parents:
12376
diff
changeset
|
287 > --config extensions.progress= --config progress.assume-tty=1 \ |
14101
0c5228836fcd
test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents:
13439
diff
changeset
|
288 > --config progress.delay=0 --config progress.refresh=0 \ |
17743
6047947afb6b
tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents:
17502
diff
changeset
|
289 > --config progress.width=60 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
290 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
291 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
292 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
293 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
294 |
17743
6047947afb6b
tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents:
17502
diff
changeset
|
295 \r (no-eol) (esc) |
6047947afb6b
tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents:
17502
diff
changeset
|
296 sending [ ] 0/3\r (no-eol) (esc) |
6047947afb6b
tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents:
17502
diff
changeset
|
297 \r (no-eol) (esc) |
6047947afb6b
tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents:
17502
diff
changeset
|
298 \r (no-eol) (esc) |
6047947afb6b
tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents:
17502
diff
changeset
|
299 sending [==============> ] 1/3\r (no-eol) (esc) |
6047947afb6b
tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents:
17502
diff
changeset
|
300 \r (no-eol) (esc) |
6047947afb6b
tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents:
17502
diff
changeset
|
301 \r (no-eol) (esc) |
6047947afb6b
tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents:
17502
diff
changeset
|
302 sending [=============================> ] 2/3\r (no-eol) (esc) |
14101
0c5228836fcd
test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents:
13439
diff
changeset
|
303 \r (esc) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
304 sending [PATCH 0 of 2] test ... |
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
305 sending [PATCH 1 of 2] a ... |
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
306 sending [PATCH 2 of 2] b ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
307 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
308 $ cd .. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
309 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
310 $ hg clone -q t t2 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
311 $ cd t2 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
312 $ echo c > c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
313 $ hg commit -Amc -d '3 0' |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
314 adding c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
315 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
316 $ cat > description <<EOF |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
317 > a multiline |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
318 > |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
319 > description |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
320 > EOF |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
321 |
4420
b0656b33cc02
add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
322 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
323 test bundle and description: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
324 $ hg email --date '1970-1-1 0:3' -n -f quux -t foo \ |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
325 > -c bar -s test -r tip -b --desc description | $FILTERBOUNDARY |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
326 searching for changes |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
327 1 changesets found |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
328 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
329 displaying test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
330 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
331 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
332 Subject: test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
333 Message-Id: <patchbomb.180@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
334 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
335 Date: Thu, 01 Jan 1970 00:03:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
336 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
337 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
338 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
339 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
340 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
341 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
342 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
343 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
344 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
345 a multiline |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
346 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
347 description |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
348 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
349 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
350 Content-Type: application/x-mercurial-bundle |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
351 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
352 Content-Disposition: attachment; filename="bundle.hg" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
353 Content-Transfer-Encoding: base64 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
354 |
29593
953839de96ab
bundle2: store changeset count when creating file bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents:
28981
diff
changeset
|
355 SEcyMAAAAA5Db21wcmVzc2lvbj1CWkJaaDkxQVkmU1kIqE7KAAAKf//7vFYQWD1/4H7R09C/470I |
953839de96ab
bundle2: store changeset count when creating file bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents:
28981
diff
changeset
|
356 Ak0E4peoSIYIgQCgGUQOcLABGY2hqoTTCYaBqaYAAACaaMAATIwAA1MIYDaQaqn6p+jRop+oJkA2 |
953839de96ab
bundle2: store changeset count when creating file bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents:
28981
diff
changeset
|
357 oNqD1PU0PUBoxqaMmjMUepoBoDT1GmQNBKmlTT1GTCNMEAYTQ0NNDI0BoMQHpAZAA8o2pkyNJHfX |
953839de96ab
bundle2: store changeset count when creating file bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents:
28981
diff
changeset
|
358 RRbXoyxKRUlAg41B3lpmMOnr77dEpFKAvEUGEkWuC4wioiMjC2Y2a84EXhsNCFIrbXUGId07PJnS |
953839de96ab
bundle2: store changeset count when creating file bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents:
28981
diff
changeset
|
359 ELAOIpL/gE8R8CUeXuw2NKMtkFoLPkcTSomXtgHSg1IKaCNlWwVU3CpmMYqh5gkFYJKOD4UhVVQ6 |
953839de96ab
bundle2: store changeset count when creating file bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents:
28981
diff
changeset
|
360 SiF1DpE8ghWvF1ih+fYgagfYHI96w/QsrRATpYiP7VRbINFrQy2c21mZ7M4pXXrPBypoXAIhtum7 |
953839de96ab
bundle2: store changeset count when creating file bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents:
28981
diff
changeset
|
361 aKDJCpUqMDF5dfiDChMfgH9nQ4B60Uvgb4AK9dsbSYc+O3tEyNq9g9gZeA5Je2T82GzjC4DbY4F2 |
953839de96ab
bundle2: store changeset count when creating file bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents:
28981
diff
changeset
|
362 0kdrTBwslErFshCgDzeEBwICg13oQaQawQA1WWd3F3JFOFCQCKhOyg== |
26924
45494030bb70
test: use generaldelta in 'test-patchbomb.t'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26626
diff
changeset
|
363 --===============*==-- (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
364 |
26563
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
365 with a specific bundle type |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
366 (binary part must be different) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
367 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
368 $ hg email --date '1970-1-1 0:3' -n -f quux -t foo \ |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
369 > -c bar -s test -r tip -b --desc description \ |
26924
45494030bb70
test: use generaldelta in 'test-patchbomb.t'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26626
diff
changeset
|
370 > --config patchbomb.bundletype=gzip-v1 | $FILTERBOUNDARY |
26563
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
371 searching for changes |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
372 1 changesets found |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
373 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
374 displaying test ... |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
375 Content-Type: multipart/mixed; boundary="===*==" (glob) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
376 MIME-Version: 1.0 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
377 Subject: test |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
378 Message-Id: <patchbomb.180@*> (glob) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
379 User-Agent: Mercurial-patchbomb/* (glob) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
380 Date: Thu, 01 Jan 1970 00:03:00 +0000 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
381 From: quux |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
382 To: foo |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
383 Cc: bar |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
384 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
385 --===*= (glob) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
386 Content-Type: text/plain; charset="us-ascii" |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
387 MIME-Version: 1.0 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
388 Content-Transfer-Encoding: 7bit |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
389 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
390 a multiline |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
391 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
392 description |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
393 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
394 --===*= (glob) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
395 Content-Type: application/x-mercurial-bundle |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
396 MIME-Version: 1.0 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
397 Content-Disposition: attachment; filename="bundle.hg" |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
398 Content-Transfer-Encoding: base64 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
399 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
400 SEcxMEdaeJxjYGBY8V9n/iLGbtFfJZuNk/euDCpWfrRy/vTrevFCx1/4t7J5LdeL0ix0Opx3kwEL |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
401 wKYXKqUJwqnG5sYWSWmmJsaWlqYWaRaWJpaWiWamZpYWRgZGxolJiabmSQbmZqlcQMV6QGwCxGzG |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
402 CgZcySARUyA2A2LGZKiZ3Y+Lu786z4z4MWXmsrAZCsqrl1az5y21PMcjpbThzWeXGT+/nutbmvvz |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
403 zXYS3BoGxdrJDIYmlimJJiZpRokmqYYmaSYWFknmSSkmhqbmliamiZYWxuYmBhbJBgZcUBNZQe5K |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
404 Epm7xF/LT+RLx/a9juFTomaYO/Rgsx4rwBN+IMCUDLOKAQBrsmti |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
405 --===============*==-- (glob) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
406 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
407 utf-8 patch: |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
408 $ $PYTHON -c 'fp = open("utf", "wb"); fp.write("h\xC3\xB6mma!\n"); fp.close();' |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
409 $ hg commit -A -d '4 0' -m 'utf-8 content' |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
410 adding description |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
411 adding utf |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
412 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
413 no mime encoding for email --test: |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
414 $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
415 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
416 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
417 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
418 displaying [PATCH] utf-8 content ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
419 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
420 MIME-Version: 1.0 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
421 Content-Transfer-Encoding: 8bit |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
422 Subject: [PATCH] utf-8 content |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
423 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
424 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
425 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
426 Message-Id: <909a00e13e9d78b575ae.240@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
427 X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
428 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
429 Date: Thu, 01 Jan 1970 00:04:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
430 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
431 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
432 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
433 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
434 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
435 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
436 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
437 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
438 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
439 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
440 utf-8 content |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
441 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
442 diff -r ff2c9fa2018b -r 909a00e13e9d description |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
443 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
444 +++ b/description Thu Jan 01 00:00:04 1970 +0000 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
445 @@ -0,0 +1,3 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
446 +a multiline |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
447 + |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
448 +description |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
449 diff -r ff2c9fa2018b -r 909a00e13e9d utf |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
450 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
451 +++ b/utf Thu Jan 01 00:00:04 1970 +0000 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
452 @@ -0,0 +1,1 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
453 +h\xc3\xb6mma! (esc) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
454 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
455 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
456 mime encoded mbox (base64): |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
457 $ hg email --date '1970-1-1 0:4' -f 'Q <quux>' -t foo -c bar -r tip -m mbox |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
458 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
459 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
460 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
461 sending [PATCH] utf-8 content ... |
4420
b0656b33cc02
add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
462 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
463 $ cat mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
464 From quux ... ... .. ..:..:.. .... (re) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
465 Content-Type: text/plain; charset="utf-8" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
466 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
467 Content-Transfer-Encoding: base64 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
468 Subject: [PATCH] utf-8 content |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
469 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
470 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
471 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
472 Message-Id: <909a00e13e9d78b575ae.240@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
473 X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
474 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
475 Date: Thu, 01 Jan 1970 00:04:00 +0000 |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
476 From: Q <quux> |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
477 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
478 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
479 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
480 IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojICAgICAgVGh1IEph |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
481 biAwMSAwMDowMDowNCAxOTcwICswMDAwCiMgTm9kZSBJRCA5MDlhMDBlMTNlOWQ3OGI1NzVhZWVl |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
482 MjNkZGRiYWRhNDZkNWExNDNmCiMgUGFyZW50ICBmZjJjOWZhMjAxOGIxNWZhNzRiMzMzNjNiZGE5 |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
483 NTI3MzIzZTJhOTlmCnV0Zi04IGNvbnRlbnQKCmRpZmYgLXIgZmYyYzlmYTIwMThiIC1yIDkwOWEw |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
484 MGUxM2U5ZCBkZXNjcmlwdGlvbgotLS0gL2Rldi9udWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3 |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
485 MCArMDAwMAorKysgYi9kZXNjcmlwdGlvbglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
486 QEAgLTAsMCArMSwzIEBACithIG11bHRpbGluZQorCitkZXNjcmlwdGlvbgpkaWZmIC1yIGZmMmM5 |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
487 ZmEyMDE4YiAtciA5MDlhMDBlMTNlOWQgdXRmCi0tLSAvZGV2L251bGwJVGh1IEphbiAwMSAwMDow |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
488 MDowMCAxOTcwICswMDAwCisrKyBiL3V0ZglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
489 QEAgLTAsMCArMSwxIEBACitow7ZtbWEhCg== |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
490 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
491 |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
492 $ $PYTHON -c 'print open("mbox").read().split("\n\n")[1].decode("base64")' |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
493 # HG changeset patch |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
494 # User test |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
495 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
496 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
497 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
498 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
499 utf-8 content |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
500 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
501 diff -r ff2c9fa2018b -r 909a00e13e9d description |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
502 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
503 +++ b/description Thu Jan 01 00:00:04 1970 +0000 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
504 @@ -0,0 +1,3 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
505 +a multiline |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
506 + |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
507 +description |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
508 diff -r ff2c9fa2018b -r 909a00e13e9d utf |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
509 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
510 +++ b/utf Thu Jan 01 00:00:04 1970 +0000 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
511 @@ -0,0 +1,1 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
512 +h\xc3\xb6mma! (esc) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
513 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
514 $ rm mbox |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
515 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
516 mime encoded mbox (quoted-printable): |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
517 $ $PYTHON -c 'fp = open("long", "wb"); fp.write("%s\nfoo\n\nbar\n" % ("x" * 1024)); fp.close();' |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
518 $ hg commit -A -d '4 0' -m 'long line' |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
519 adding long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
520 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
521 no mime encoding for email --test: |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
522 $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
523 this patch series consists of 1 patches. |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
524 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
525 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
526 displaying [PATCH] long line ... |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
527 Content-Type: text/plain; charset="us-ascii" |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
528 MIME-Version: 1.0 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
529 Content-Transfer-Encoding: quoted-printable |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
530 Subject: [PATCH] long line |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
531 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
532 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
533 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
534 Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
535 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
536 User-Agent: Mercurial-patchbomb/* (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
537 Date: Thu, 01 Jan 1970 00:04:00 +0000 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
538 From: quux |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
539 To: foo |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
540 Cc: bar |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
541 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
542 # HG changeset patch |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
543 # User test |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
544 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
545 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
546 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
547 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
548 long line |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
549 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
550 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
551 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
552 +++ b/long Thu Jan 01 00:00:04 1970 +0000 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
553 @@ -0,0 +1,4 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
554 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
555 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
556 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
557 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
558 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
559 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
560 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
561 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
562 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
563 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
564 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
565 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
566 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
567 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
568 +foo |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
569 + |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
570 +bar |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
571 |
4420
b0656b33cc02
add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
572 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
573 mime encoded mbox (quoted-printable): |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
574 $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -m mbox |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
575 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
576 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
577 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
578 sending [PATCH] long line ... |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
579 $ cat mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
580 From quux ... ... .. ..:..:.. .... (re) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
581 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
582 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
583 Content-Transfer-Encoding: quoted-printable |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
584 Subject: [PATCH] long line |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
585 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
586 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
587 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
588 Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
589 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
590 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
591 Date: Thu, 01 Jan 1970 00:04:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
592 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
593 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
594 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
595 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
596 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
597 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
598 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
599 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
600 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
601 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
602 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
603 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
604 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
605 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
606 +++ b/long Thu Jan 01 00:00:04 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
607 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
608 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
609 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
610 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
611 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
612 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
613 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
614 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
615 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
616 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
617 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
618 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
619 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
620 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
621 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
622 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
623 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
624 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
625 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
626 |
4565
1cf908c00479
Don't validate email config if we're not sending email.
Bryan O'Sullivan <bos@serpentine.com>
parents:
4420
diff
changeset
|
627 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
628 $ rm mbox |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
629 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
630 iso-8859-1 patch: |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
631 $ $PYTHON -c 'fp = open("isolatin", "wb"); fp.write("h\xF6mma!\n"); fp.close();' |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
632 $ hg commit -A -d '5 0' -m 'isolatin 8-bit encoding' |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
633 adding isolatin |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
634 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
635 fake ascii mbox: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
636 $ hg email --date '1970-1-1 0:5' -f quux -t foo -c bar -r tip -m mbox |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
637 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
638 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
639 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
640 sending [PATCH] isolatin 8-bit encoding ... |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
641 $ cat mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
642 From quux ... ... .. ..:..:.. .... (re) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
643 Content-Type: text/plain; charset="us-ascii" |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
644 MIME-Version: 1.0 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
645 Content-Transfer-Encoding: 8bit |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
646 Subject: [PATCH] isolatin 8-bit encoding |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
647 X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
648 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
649 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
650 Message-Id: <240fb913fc1b7ff15ddb.300@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
651 X-Mercurial-Series-Id: <240fb913fc1b7ff15ddb.300@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
652 User-Agent: Mercurial-patchbomb/* (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
653 Date: Thu, 01 Jan 1970 00:05:00 +0000 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
654 From: quux |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
655 To: foo |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
656 Cc: bar |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
657 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
658 # HG changeset patch |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
659 # User test |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
660 # Date 5 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
661 # Thu Jan 01 00:00:05 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
662 # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
663 # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
664 isolatin 8-bit encoding |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
665 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
666 diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
667 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
668 +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
669 @@ -0,0 +1,1 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
670 +h\xf6mma! (esc) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
671 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
672 |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
673 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
674 test diffstat for single patch: |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
675 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y -r 2 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
676 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
677 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
678 |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
679 Final summary: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
680 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
681 From: quux |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
682 To: foo |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
683 Cc: bar |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
684 Subject: [PATCH] test |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
685 c | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
686 1 files changed, 1 insertions(+), 0 deletions(-) |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
687 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
688 are you sure you want to send (yn)? y |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
689 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
690 displaying [PATCH] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
691 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
692 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
693 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
694 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
695 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
696 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
697 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
698 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
699 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
700 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
701 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
702 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
703 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
704 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
705 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
706 c | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
707 1 files changed, 1 insertions(+), 0 deletions(-) |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
708 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
709 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
710 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
711 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
712 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
713 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
714 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
715 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
716 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
717 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
718 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
719 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
720 +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
721 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
722 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
723 |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
724 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
725 test diffstat for multiple patches: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
726 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y \ |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
727 > -r 0:1 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
728 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
729 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
730 |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
731 Write the introductory message for the patch series. |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
732 |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
733 |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
734 Final summary: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
735 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
736 From: quux |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
737 To: foo |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
738 Cc: bar |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
739 Subject: [PATCH 0 of 2] test |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
740 a | 1 + |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
741 b | 1 + |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
742 2 files changed, 2 insertions(+), 0 deletions(-) |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
743 Subject: [PATCH 1 of 2] a |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
744 a | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
745 1 files changed, 1 insertions(+), 0 deletions(-) |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
746 Subject: [PATCH 2 of 2] b |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
747 b | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
748 1 files changed, 1 insertions(+), 0 deletions(-) |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
749 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
750 are you sure you want to send (yn)? y |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
751 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
752 displaying [PATCH 0 of 2] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
753 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
754 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
755 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
756 Subject: [PATCH 0 of 2] test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
757 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
758 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
759 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
760 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
761 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
762 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
763 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
764 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
765 a | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
766 b | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
767 2 files changed, 2 insertions(+), 0 deletions(-) |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
768 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
769 displaying [PATCH 1 of 2] a ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
770 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
771 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
772 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
773 Subject: [PATCH 1 of 2] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
774 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
775 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
776 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
777 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
778 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
779 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
780 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
781 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
782 Date: Thu, 01 Jan 1970 00:01:01 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
783 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
784 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
785 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
786 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
787 a | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
788 1 files changed, 1 insertions(+), 0 deletions(-) |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
789 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
790 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
791 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
792 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
793 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
794 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
795 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
796 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
797 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
798 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
799 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
800 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
801 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
802 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
803 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
804 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
805 displaying [PATCH 2 of 2] b ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
806 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
807 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
808 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
809 Subject: [PATCH 2 of 2] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
810 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
811 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
812 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
813 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
814 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
815 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
816 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
817 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
818 Date: Thu, 01 Jan 1970 00:01:02 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
819 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
820 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
821 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
822 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
823 b | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
824 1 files changed, 1 insertions(+), 0 deletions(-) |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
825 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
826 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
827 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
828 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
829 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
830 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
831 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
832 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
833 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
834 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
835 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
836 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
837 +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
838 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
839 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
840 |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
841 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
842 test inline for single patch: |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
843 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
844 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
845 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
846 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
847 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
848 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
849 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
850 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
851 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
852 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
853 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
854 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
855 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
856 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
857 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
858 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
859 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
860 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
861 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
862 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
863 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
864 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
865 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
866 Content-Disposition: inline; filename=t2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
867 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
868 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
869 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
870 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
871 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
872 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
873 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
874 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
875 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
876 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
877 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
878 +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
879 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
880 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
881 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
882 --===*=-- (glob) |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
883 |
7193
12fc42c78598
mail: test patch mime encoding for patchbomb
Christian Ebert <blacktrash@gmx.net>
parents:
5753
diff
changeset
|
884 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
885 test inline for single patch (quoted-printable): |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
886 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 4 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
887 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
888 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
889 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
890 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
891 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
892 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
893 Subject: [PATCH] test |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
894 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
895 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
896 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
897 Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
898 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
899 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
900 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
901 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
902 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
903 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
904 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
905 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
906 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
907 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
908 Content-Transfer-Encoding: quoted-printable |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
909 Content-Disposition: inline; filename=t2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
910 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
911 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
912 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
913 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
914 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
915 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
916 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
917 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
918 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
919 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
920 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
921 +++ b/long Thu Jan 01 00:00:04 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
922 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
923 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
924 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
925 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
926 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
927 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
928 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
929 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
930 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
931 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
932 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
933 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
934 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
935 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
936 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
937 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
938 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
939 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
940 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
941 --===*=-- (glob) |
8332
3e544c074459
patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents:
8160
diff
changeset
|
942 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
943 test inline for multiple patches: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
944 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \ |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
945 > -r 0:1 -r 4 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
946 this patch series consists of 3 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
947 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
948 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
949 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
950 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
951 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
952 displaying [PATCH 0 of 3] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
953 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
954 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
955 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
956 Subject: [PATCH 0 of 3] test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
957 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
958 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
959 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
960 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
961 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
962 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
963 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
964 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
965 displaying [PATCH 1 of 3] a ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
966 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
967 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
968 Subject: [PATCH 1 of 3] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
969 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
970 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
971 X-Mercurial-Series-Total: 3 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
972 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
973 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
974 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
975 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
976 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
977 Date: Thu, 01 Jan 1970 00:01:01 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
978 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
979 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
980 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
981 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
982 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
983 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
984 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
985 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
986 Content-Disposition: inline; filename=t2-1.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
987 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
988 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
989 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
990 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
991 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
992 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
993 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
994 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
995 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
996 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
997 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
998 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
999 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1000 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1001 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1002 --===*=-- (glob) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1003 displaying [PATCH 2 of 3] b ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1004 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1005 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1006 Subject: [PATCH 2 of 3] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1007 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1008 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1009 X-Mercurial-Series-Total: 3 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1010 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1011 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1012 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1013 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1014 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1015 Date: Thu, 01 Jan 1970 00:01:02 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1016 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1017 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1018 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1019 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1020 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1021 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1022 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1023 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1024 Content-Disposition: inline; filename=t2-2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1025 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1026 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1027 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1028 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1029 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1030 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1031 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1032 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1033 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1034 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1035 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1036 +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1037 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1038 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1039 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1040 --===*=-- (glob) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1041 displaying [PATCH 3 of 3] long line ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1042 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1043 MIME-Version: 1.0 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1044 Subject: [PATCH 3 of 3] long line |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1045 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1046 X-Mercurial-Series-Index: 3 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1047 X-Mercurial-Series-Total: 3 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1048 Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1049 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1050 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1051 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1052 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1053 Date: Thu, 01 Jan 1970 00:01:03 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1054 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1055 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1056 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1057 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1058 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1059 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1060 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1061 Content-Transfer-Encoding: quoted-printable |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1062 Content-Disposition: inline; filename=t2-3.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1063 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1064 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1065 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1066 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1067 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1068 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1069 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1070 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1071 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1072 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1073 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1074 +++ b/long Thu Jan 01 00:00:04 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1075 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1076 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1077 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1078 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1079 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1080 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1081 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1082 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1083 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1084 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1085 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1086 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1087 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1088 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1089 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1090 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1091 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1092 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1093 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1094 --===*=-- (glob) |
8332
3e544c074459
patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents:
8160
diff
changeset
|
1095 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1096 test attach for single patch: |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1097 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 2 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1098 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1099 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1100 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1101 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1102 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1103 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1104 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1105 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1106 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1107 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1108 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
1109 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1110 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1111 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1112 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1113 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1114 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1115 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1116 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1117 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1118 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1119 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1120 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1121 Patch subject is complete summary. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1122 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1123 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1124 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1125 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1126 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1127 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1128 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1129 Content-Disposition: attachment; filename=t2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1130 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1131 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1132 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1133 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1134 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1135 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1136 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1137 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1138 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1139 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1140 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1141 +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1142 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1143 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1144 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1145 --===*=-- (glob) |
8332
3e544c074459
patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents:
8160
diff
changeset
|
1146 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1147 test attach for single patch (quoted-printable): |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1148 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 4 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1149 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1150 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1151 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1152 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1153 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1154 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1155 Subject: [PATCH] test |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1156 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1157 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1158 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1159 Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
1160 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1161 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1162 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1163 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1164 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1165 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1166 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1167 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1168 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1169 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1170 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1171 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1172 Patch subject is complete summary. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1173 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1174 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1175 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1176 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1177 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1178 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1179 Content-Transfer-Encoding: quoted-printable |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1180 Content-Disposition: attachment; filename=t2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1181 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1182 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1183 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1184 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1185 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1186 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1187 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1188 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1189 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1190 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1191 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1192 +++ b/long Thu Jan 01 00:00:04 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1193 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1194 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1195 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1196 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1197 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1198 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1199 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1200 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1201 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1202 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1203 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1204 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1205 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1206 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1207 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1208 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1209 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1210 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1211 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1212 --===*=-- (glob) |
7193
12fc42c78598
mail: test patch mime encoding for patchbomb
Christian Ebert <blacktrash@gmx.net>
parents:
5753
diff
changeset
|
1213 |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1214 test attach and body for single patch: |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1215 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a --body -r 2 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1216 this patch series consists of 1 patches. |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1217 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1218 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1219 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1220 Content-Type: multipart/mixed; boundary="===*==" (glob) |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1221 MIME-Version: 1.0 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1222 Subject: [PATCH] test |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1223 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1224 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1225 X-Mercurial-Series-Total: 1 |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1226 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
1227 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1228 User-Agent: Mercurial-patchbomb/* (glob) |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1229 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1230 From: quux |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1231 To: foo |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1232 Cc: bar |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1233 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1234 --===*= (glob) |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1235 Content-Type: text/plain; charset="us-ascii" |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1236 MIME-Version: 1.0 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1237 Content-Transfer-Encoding: 7bit |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1238 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1239 # HG changeset patch |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1240 # User test |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1241 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1242 # Thu Jan 01 00:00:03 1970 +0000 |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1243 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1244 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1245 c |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1246 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1247 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1248 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1249 +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1250 @@ -0,0 +1,1 @@ |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1251 +c |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1252 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1253 --===*= (glob) |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1254 Content-Type: text/x-patch; charset="us-ascii" |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1255 MIME-Version: 1.0 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1256 Content-Transfer-Encoding: 7bit |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1257 Content-Disposition: attachment; filename=t2.patch |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1258 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1259 # HG changeset patch |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1260 # User test |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1261 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1262 # Thu Jan 01 00:00:03 1970 +0000 |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1263 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1264 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1265 c |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1266 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1267 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1268 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1269 +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1270 @@ -0,0 +1,1 @@ |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1271 +c |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1272 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1273 --===*=-- (glob) |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1274 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1275 test attach for multiple patches: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1276 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a \ |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1277 > -r 0:1 -r 4 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1278 this patch series consists of 3 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1279 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1280 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1281 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1282 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1283 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1284 displaying [PATCH 0 of 3] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1285 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1286 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1287 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1288 Subject: [PATCH 0 of 3] test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1289 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1290 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1291 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1292 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1293 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1294 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1295 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1296 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1297 displaying [PATCH 1 of 3] a ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1298 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1299 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1300 Subject: [PATCH 1 of 3] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1301 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1302 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1303 X-Mercurial-Series-Total: 3 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1304 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1305 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1306 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1307 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1308 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1309 Date: Thu, 01 Jan 1970 00:01:01 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1310 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1311 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1312 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1313 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1314 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1315 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1316 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1317 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1318 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1319 Patch subject is complete summary. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1320 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1321 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1322 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1323 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1324 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1325 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1326 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1327 Content-Disposition: attachment; filename=t2-1.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1328 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1329 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1330 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1331 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1332 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1333 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1334 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1335 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1336 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1337 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1338 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1339 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1340 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1341 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1342 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1343 --===*=-- (glob) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1344 displaying [PATCH 2 of 3] b ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1345 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1346 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1347 Subject: [PATCH 2 of 3] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1348 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1349 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1350 X-Mercurial-Series-Total: 3 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1351 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1352 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1353 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1354 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1355 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1356 Date: Thu, 01 Jan 1970 00:01:02 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1357 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1358 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1359 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1360 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1361 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1362 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1363 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1364 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1365 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1366 Patch subject is complete summary. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1367 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1368 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1369 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1370 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1371 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1372 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1373 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1374 Content-Disposition: attachment; filename=t2-2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1375 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1376 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1377 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1378 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1379 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1380 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1381 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1382 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1383 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1384 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1385 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1386 +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1387 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1388 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1389 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1390 --===*=-- (glob) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1391 displaying [PATCH 3 of 3] long line ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1392 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1393 MIME-Version: 1.0 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1394 Subject: [PATCH 3 of 3] long line |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1395 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1396 X-Mercurial-Series-Index: 3 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1397 X-Mercurial-Series-Total: 3 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1398 Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1399 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1400 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1401 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1402 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1403 Date: Thu, 01 Jan 1970 00:01:03 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1404 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1405 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1406 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1407 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1408 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1409 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1410 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1411 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1412 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1413 Patch subject is complete summary. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1414 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1415 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1416 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1417 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1418 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1419 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1420 Content-Transfer-Encoding: quoted-printable |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1421 Content-Disposition: attachment; filename=t2-3.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1422 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1423 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1424 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1425 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1426 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1427 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1428 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1429 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1430 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1431 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1432 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1433 +++ b/long Thu Jan 01 00:00:04 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1434 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1435 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1436 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1437 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1438 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1439 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1440 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1441 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1442 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1443 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1444 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1445 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1446 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1447 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1448 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1449 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1450 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1451 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1452 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1453 --===*=-- (glob) |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
1454 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1455 test intro for single patch: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1456 $ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \ |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1457 > -r 2 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1458 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1459 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1460 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1461 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1462 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1463 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1464 displaying [PATCH 0 of 1] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1465 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1466 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1467 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1468 Subject: [PATCH 0 of 1] test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1469 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1470 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1471 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1472 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1473 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1474 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1475 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1476 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1477 displaying [PATCH 1 of 1] c ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1478 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1479 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1480 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1481 Subject: [PATCH 1 of 1] c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1482 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1483 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1484 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1485 Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1486 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1487 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1488 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1489 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1490 Date: Thu, 01 Jan 1970 00:01:01 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1491 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1492 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1493 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1494 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1495 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1496 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1497 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1498 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1499 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1500 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1501 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1502 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1503 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1504 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1505 +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1506 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1507 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1508 |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
1509 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1510 test --desc without --intro for a single patch: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1511 $ echo foo > intro.text |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1512 $ hg email --date '1970-1-1 0:1' -n --desc intro.text -f quux -t foo -c bar \ |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1513 > -s test -r 2 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1514 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1515 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1516 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1517 displaying [PATCH 0 of 1] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1518 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1519 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1520 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1521 Subject: [PATCH 0 of 1] test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1522 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1523 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1524 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1525 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1526 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1527 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1528 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1529 foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1530 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1531 displaying [PATCH 1 of 1] c ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1532 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1533 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1534 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1535 Subject: [PATCH 1 of 1] c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1536 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1537 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1538 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1539 Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1540 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1541 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1542 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1543 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1544 Date: Thu, 01 Jan 1970 00:01:01 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1545 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1546 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1547 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1548 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1549 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1550 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1551 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1552 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1553 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1554 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1555 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1556 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1557 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1558 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1559 +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1560 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1561 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1562 |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
1563 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1564 test intro for multiple patches: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1565 $ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \ |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1566 > -r 0:1 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1567 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1568 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1569 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1570 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1571 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1572 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1573 displaying [PATCH 0 of 2] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1574 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1575 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1576 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1577 Subject: [PATCH 0 of 2] test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1578 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1579 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1580 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1581 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1582 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1583 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1584 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1585 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1586 displaying [PATCH 1 of 2] a ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1587 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1588 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1589 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1590 Subject: [PATCH 1 of 2] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1591 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1592 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1593 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1594 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1595 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1596 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1597 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1598 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1599 Date: Thu, 01 Jan 1970 00:01:01 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1600 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1601 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1602 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1603 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1604 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1605 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1606 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1607 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1608 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1609 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1610 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1611 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1612 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1613 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1614 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1615 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1616 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1617 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1618 displaying [PATCH 2 of 2] b ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1619 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1620 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1621 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1622 Subject: [PATCH 2 of 2] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1623 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1624 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1625 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1626 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1627 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1628 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1629 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1630 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1631 Date: Thu, 01 Jan 1970 00:01:02 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1632 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1633 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1634 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1635 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1636 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1637 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1638 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1639 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1640 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1641 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1642 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1643 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1644 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1645 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1646 +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1647 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1648 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1649 |
8332
3e544c074459
patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents:
8160
diff
changeset
|
1650 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1651 test reply-to via config: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1652 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \ |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1653 > --config patchbomb.reply-to='baz@example.com' |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1654 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1655 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1656 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1657 displaying [PATCH] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1658 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1659 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1660 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1661 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1662 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1663 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1664 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1665 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
1666 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1667 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1668 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1669 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1670 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1671 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1672 Reply-To: baz@example.com |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1673 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1674 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1675 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1676 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1677 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1678 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1679 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1680 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1681 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1682 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1683 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1684 +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1685 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1686 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1687 |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
1688 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1689 test reply-to via command line: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1690 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \ |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1691 > --reply-to baz --reply-to fred |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1692 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1693 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1694 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1695 displaying [PATCH] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1696 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1697 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1698 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1699 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1700 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1701 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1702 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1703 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
1704 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1705 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1706 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1707 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1708 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1709 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1710 Reply-To: baz, fred |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1711 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1712 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1713 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1714 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1715 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1716 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1717 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1718 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1719 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1720 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1721 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1722 +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1723 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1724 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1725 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1726 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1727 tagging csets: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1728 $ hg tag -r0 zero zero.foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1729 $ hg tag -r1 one one.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1730 $ hg tag -r2 two two.diff |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1731 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1732 test inline for single named patch: |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1733 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \ |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1734 > -r 2 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1735 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1736 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1737 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1738 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1739 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1740 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1741 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1742 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1743 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1744 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1745 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
1746 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1747 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1748 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1749 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1750 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1751 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1752 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1753 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1754 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1755 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1756 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1757 Content-Disposition: inline; filename=two.diff |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1758 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1759 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1760 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1761 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1762 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1763 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1764 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1765 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1766 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1767 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1768 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1769 +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1770 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1771 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1772 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1773 --===*=-- (glob) |
7360
42f1b8cb9a60
patchbomb: add option to send intro email for a single patch (issue1120)
Chris Winter <elwintro@gmail.com>
parents:
7358
diff
changeset
|
1774 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1775 test inline for multiple named/unnamed patches: |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1776 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \ |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1777 > -r 0:1 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1778 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1779 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1780 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1781 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1782 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1783 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1784 displaying [PATCH 0 of 2] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1785 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1786 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1787 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1788 Subject: [PATCH 0 of 2] test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1789 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1790 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1791 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1792 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1793 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1794 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1795 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1796 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1797 displaying [PATCH 1 of 2] a ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1798 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1799 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1800 Subject: [PATCH 1 of 2] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1801 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1802 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1803 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1804 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1805 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1806 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1807 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1808 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1809 Date: Thu, 01 Jan 1970 00:01:01 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1810 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1811 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1812 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1813 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1814 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1815 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1816 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1817 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1818 Content-Disposition: inline; filename=t2-1.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1819 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1820 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1821 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1822 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1823 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1824 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1825 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1826 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1827 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1828 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1829 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1830 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1831 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1832 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1833 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1834 --===*=-- (glob) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1835 displaying [PATCH 2 of 2] b ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1836 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1837 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1838 Subject: [PATCH 2 of 2] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1839 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1840 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1841 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1842 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1843 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1844 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1845 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1846 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1847 Date: Thu, 01 Jan 1970 00:01:02 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1848 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1849 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1850 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1851 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1852 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1853 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1854 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1855 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1856 Content-Disposition: inline; filename=one.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1857 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1858 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1859 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1860 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1861 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1862 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1863 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1864 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1865 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1866 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1867 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1868 +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1869 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1870 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1871 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1872 --===*=-- (glob) |
10734
7a0502a6f9a1
patchbomb: --desc implies --intro
Cédric Duval <cedricduval@free.fr>
parents:
10257
diff
changeset
|
1873 |
11150
f66ca4431eb9
patchbomb: Reply-To support
Cédric Duval <cedricduval@free.fr>
parents:
10734
diff
changeset
|
1874 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1875 test inreplyto: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1876 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \ |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1877 > -r tip |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1878 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1879 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1880 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1881 displaying [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1882 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1883 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1884 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1885 Subject: [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1886 X-Mercurial-Node: 7aead2484924c445ad8ce2613df91f52f9e502ed |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1887 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1888 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1889 Message-Id: <7aead2484924c445ad8c.60@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1890 X-Mercurial-Series-Id: <7aead2484924c445ad8c.60@*> (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1891 In-Reply-To: <baz> |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1892 References: <baz> |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1893 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1894 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1895 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1896 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1897 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1898 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1899 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1900 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1901 # Date 0 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1902 # Thu Jan 01 00:00:00 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1903 # Node ID 7aead2484924c445ad8ce2613df91f52f9e502ed |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1904 # Parent 045ca29b1ea20e4940411e695e20e521f2f0f98e |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1905 Added tag two, two.diff for changeset ff2c9fa2018b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1906 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1907 diff -r 045ca29b1ea2 -r 7aead2484924 .hgtags |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1908 --- a/.hgtags Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1909 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1910 @@ -2,3 +2,5 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1911 8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1912 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1913 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1914 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1915 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two.diff |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1916 |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1917 no intro message in non-interactive mode |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1918 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \ |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1919 > -r 0:1 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1920 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1921 |
16233
3f79b110c4f0
patchbomb: add (optional) note to 0 of 0 prompt
Matt Mackall <mpm@selenic.com>
parents:
15623
diff
changeset
|
1922 (optional) Subject: [PATCH 0 of 2] |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1923 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1924 displaying [PATCH 1 of 2] a ... |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1925 Content-Type: text/plain; charset="us-ascii" |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1926 MIME-Version: 1.0 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1927 Content-Transfer-Encoding: 7bit |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1928 Subject: [PATCH 1 of 2] a |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1929 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1930 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1931 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1932 Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1933 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1934 In-Reply-To: <baz> |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1935 References: <baz> |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1936 User-Agent: Mercurial-patchbomb/* (glob) |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1937 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1938 From: quux |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1939 To: foo |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1940 Cc: bar |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1941 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1942 # HG changeset patch |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1943 # User test |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1944 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1945 # Thu Jan 01 00:00:01 1970 +0000 |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1946 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1947 # Parent 0000000000000000000000000000000000000000 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1948 a |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1949 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1950 diff -r 000000000000 -r 8580ff50825a a |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1951 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1952 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1953 @@ -0,0 +1,1 @@ |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1954 +a |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1955 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1956 displaying [PATCH 2 of 2] b ... |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1957 Content-Type: text/plain; charset="us-ascii" |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1958 MIME-Version: 1.0 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1959 Content-Transfer-Encoding: 7bit |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1960 Subject: [PATCH 2 of 2] b |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1961 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1962 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1963 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1964 Message-Id: <97d72e5f12c7e84f8506.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1965 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
17859
d38d90ad5bbf
patchbomb: respect --in-reply-to for all mails if no intro message is sent
Thomas Arendsen Hein <thomas@intevation.de>
parents:
17743
diff
changeset
|
1966 In-Reply-To: <baz> |
d38d90ad5bbf
patchbomb: respect --in-reply-to for all mails if no intro message is sent
Thomas Arendsen Hein <thomas@intevation.de>
parents:
17743
diff
changeset
|
1967 References: <baz> |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1968 User-Agent: Mercurial-patchbomb/* (glob) |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1969 Date: Thu, 01 Jan 1970 00:01:01 +0000 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1970 From: quux |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1971 To: foo |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1972 Cc: bar |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1973 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1974 # HG changeset patch |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1975 # User test |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1976 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1977 # Thu Jan 01 00:00:02 1970 +0000 |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1978 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1979 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1980 b |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1981 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1982 diff -r 8580ff50825a -r 97d72e5f12c7 b |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1983 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1984 +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1985 @@ -0,0 +1,1 @@ |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1986 +b |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1987 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1988 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1989 |
11150
f66ca4431eb9
patchbomb: Reply-To support
Cédric Duval <cedricduval@free.fr>
parents:
10734
diff
changeset
|
1990 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1991 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \ |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1992 > -s test -r 0:1 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1993 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1994 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1995 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1996 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1997 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1998 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1999 displaying [PATCH 0 of 2] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2000 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2001 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2002 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2003 Subject: [PATCH 0 of 2] test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2004 Message-Id: <patchbomb.60@*> (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2005 In-Reply-To: <baz> |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2006 References: <baz> |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2007 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2008 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2009 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2010 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2011 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2012 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2013 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2014 displaying [PATCH 1 of 2] a ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2015 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2016 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2017 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2018 Subject: [PATCH 1 of 2] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2019 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2020 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2021 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2022 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2023 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2024 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2025 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2026 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2027 Date: Thu, 01 Jan 1970 00:01:01 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2028 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2029 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2030 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2031 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2032 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2033 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2034 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2035 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2036 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2037 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2038 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2039 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2040 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2041 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2042 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2043 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2044 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2045 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2046 displaying [PATCH 2 of 2] b ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2047 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2048 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2049 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2050 Subject: [PATCH 2 of 2] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2051 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2052 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2053 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2054 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2055 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2056 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2057 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2058 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2059 Date: Thu, 01 Jan 1970 00:01:02 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2060 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2061 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2062 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2063 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2064 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2065 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2066 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2067 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2068 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2069 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2070 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2071 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2072 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2073 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2074 +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2075 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2076 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2077 |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
2078 |
21055
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2079 test single flag for single patch (and no warning when not mailing dirty rev): |
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2080 $ hg up -qr1 |
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2081 $ echo dirt > a |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2082 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \ |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
2083 > -r 2 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2084 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2085 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2086 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2087 displaying [PATCH fooFlag] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2088 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2089 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2090 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2091 Subject: [PATCH fooFlag] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2092 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2093 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2094 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2095 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
2096 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2097 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2098 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2099 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2100 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2101 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2102 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2103 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2104 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2105 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2106 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2107 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2108 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2109 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2110 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2111 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2112 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2113 +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2114 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2115 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2116 |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
2117 |
21055
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2118 test single flag for multiple patches (and warning when mailing dirty rev): |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2119 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \ |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2120 > -r 0:1 |
21055
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2121 warning: working directory has uncommitted changes |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2122 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2123 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2124 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2125 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2126 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2127 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2128 displaying [PATCH 0 of 2 fooFlag] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2129 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2130 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2131 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2132 Subject: [PATCH 0 of 2 fooFlag] test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2133 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2134 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2135 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2136 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2137 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2138 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2139 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2140 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2141 displaying [PATCH 1 of 2 fooFlag] a ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2142 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2143 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2144 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2145 Subject: [PATCH 1 of 2 fooFlag] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2146 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2147 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2148 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2149 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2150 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2151 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2152 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2153 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2154 Date: Thu, 01 Jan 1970 00:01:01 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2155 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2156 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2157 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2158 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2159 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2160 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2161 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2162 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2163 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2164 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2165 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2166 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2167 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2168 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2169 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2170 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2171 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2172 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2173 displaying [PATCH 2 of 2 fooFlag] b ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2174 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2175 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2176 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2177 Subject: [PATCH 2 of 2 fooFlag] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2178 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2179 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2180 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2181 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2182 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2183 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2184 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2185 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2186 Date: Thu, 01 Jan 1970 00:01:02 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2187 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2188 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2189 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2190 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2191 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2192 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2193 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2194 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2195 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2196 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2197 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2198 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2199 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2200 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2201 +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2202 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2203 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2204 |
21055
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2205 $ hg revert --no-b a |
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2206 $ hg up -q |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
2207 |
17502 | 2208 test multiple flags for single patch: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2209 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \ |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2210 > -c bar -s test -r 2 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2211 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2212 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2213 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2214 displaying [PATCH fooFlag barFlag] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2215 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2216 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2217 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2218 Subject: [PATCH fooFlag barFlag] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2219 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2220 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2221 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2222 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
2223 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2224 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2225 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2226 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2227 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2228 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2229 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2230 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2231 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2232 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2233 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2234 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2235 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2236 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2237 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2238 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2239 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2240 +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2241 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2242 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2243 |
9346
bb3f8f692bc6
patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
8514
diff
changeset
|
2244 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2245 test multiple flags for multiple patches: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2246 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \ |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2247 > -c bar -s test -r 0:1 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2248 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2249 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2250 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2251 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2252 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2253 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2254 displaying [PATCH 0 of 2 fooFlag barFlag] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2255 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2256 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2257 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2258 Subject: [PATCH 0 of 2 fooFlag barFlag] test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2259 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2260 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2261 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2262 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2263 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2264 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2265 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2266 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2267 displaying [PATCH 1 of 2 fooFlag barFlag] a ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2268 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2269 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2270 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2271 Subject: [PATCH 1 of 2 fooFlag barFlag] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2272 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2273 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2274 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2275 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2276 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2277 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2278 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2279 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2280 Date: Thu, 01 Jan 1970 00:01:01 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2281 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2282 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2283 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2284 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2285 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2286 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2287 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2288 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2289 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2290 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2291 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2292 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2293 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2294 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2295 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2296 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2297 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2298 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2299 displaying [PATCH 2 of 2 fooFlag barFlag] b ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2300 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2301 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2302 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2303 Subject: [PATCH 2 of 2 fooFlag barFlag] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2304 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2305 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2306 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2307 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2308 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2309 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2310 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2311 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2312 Date: Thu, 01 Jan 1970 00:01:02 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2313 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2314 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2315 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2316 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2317 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2318 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2319 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2320 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2321 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2322 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2323 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2324 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2325 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2326 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2327 +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2328 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2329 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2330 |
9346
bb3f8f692bc6
patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
8514
diff
changeset
|
2331 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2332 test multi-address parsing: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2333 $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t 'spam<spam><eggs>' \ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2334 > -t toast -c 'foo,bar@example.com' -c '"A, B <>" <a@example.com>' -s test -r 0 \ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2335 > --config email.bcc='"Quux, A." <quux>' |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2336 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2337 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2338 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2339 sending [PATCH] test ... |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2340 $ cat < tmp.mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
2341 From quux ... ... .. ..:..:.. .... (re) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2342 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2343 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2344 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2345 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2346 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2347 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2348 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2349 Message-Id: <8580ff50825a50c8f716.315532860@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
2350 X-Mercurial-Series-Id: <8580ff50825a50c8f716.315532860@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2351 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2352 Date: Tue, 01 Jan 1980 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2353 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2354 To: spam <spam>, eggs, toast |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2355 Cc: foo, bar@example.com, "A, B <>" <a@example.com> |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2356 Bcc: "Quux, A." <quux> |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2357 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2358 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2359 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2360 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2361 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2362 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2363 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2364 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2365 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2366 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2367 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2368 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2369 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2370 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2371 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2372 |
9346
bb3f8f692bc6
patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
8514
diff
changeset
|
2373 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2374 test multi-byte domain parsing: |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
2375 $ UUML=`$PYTHON -c 'import sys; sys.stdout.write("\374")'` |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2376 $ HGENCODING=iso-8859-1 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2377 $ export HGENCODING |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2378 $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t "bar@${UUML}nicode.com" -s test -r 0 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2379 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2380 |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2381 Cc: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2382 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2383 sending [PATCH] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2384 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2385 $ cat tmp.mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
2386 From quux ... ... .. ..:..:.. .... (re) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2387 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2388 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2389 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2390 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2391 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2392 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2393 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2394 Message-Id: <8580ff50825a50c8f716.315532860@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
2395 X-Mercurial-Series-Id: <8580ff50825a50c8f716.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2396 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2397 Date: Tue, 01 Jan 1980 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2398 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2399 To: bar@xn--nicode-2ya.com |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2400 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2401 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2402 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2403 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2404 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2405 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2406 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2407 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2408 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2409 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2410 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2411 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2412 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2413 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2414 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2415 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2416 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2417 test outgoing: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2418 $ hg up 1 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2419 0 files updated, 0 files merged, 6 files removed, 0 files unresolved |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2420 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2421 $ hg branch test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2422 marked working directory as branch test |
15615 | 2423 (branches are permanent and global, did you want a bookmark?) |
9346
bb3f8f692bc6
patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
8514
diff
changeset
|
2424 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2425 $ echo d > d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2426 $ hg add d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2427 $ hg ci -md -d '4 0' |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2428 $ echo d >> d |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2429 $ hg ci -mdd -d '5 0' |
20117
aa9385f983fa
tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents:
18648
diff
changeset
|
2430 $ hg log -G --template "{rev}:{node|short} {desc|firstline}\n" |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2431 @ 10:3b6f1ec9dde9 dd |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2432 | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2433 o 9:2f9fa9b998c5 d |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2434 | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2435 | o 8:7aead2484924 Added tag two, two.diff for changeset ff2c9fa2018b |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2436 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2437 | o 7:045ca29b1ea2 Added tag one, one.patch for changeset 97d72e5f12c7 |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2438 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2439 | o 6:5d5ef15dfe5e Added tag zero, zero.foo for changeset 8580ff50825a |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2440 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2441 | o 5:240fb913fc1b isolatin 8-bit encoding |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2442 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2443 | o 4:a2ea8fc83dd8 long line |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2444 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2445 | o 3:909a00e13e9d utf-8 content |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2446 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2447 | o 2:ff2c9fa2018b c |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2448 |/ |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2449 o 1:97d72e5f12c7 b |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2450 | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2451 o 0:8580ff50825a a |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2452 |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2453 $ hg phase --force --secret -r 10 |
17177
ef507130fc92
patchbomb: support --outgoing and revsets
Patrick Mezard <patrick@mezard.eu>
parents:
17176
diff
changeset
|
2454 $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t -r 'rev(10) or rev(6)' |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2455 comparing with ../t |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2456 From [test]: test |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2457 this patch series consists of 6 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2458 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2459 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2460 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2461 |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2462 Cc: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2463 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2464 displaying [PATCH 0 of 6] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2465 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2466 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2467 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2468 Subject: [PATCH 0 of 6] test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2469 Message-Id: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2470 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2471 Date: Tue, 01 Jan 1980 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2472 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2473 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2474 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2475 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2476 displaying [PATCH 1 of 6] c ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2477 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2478 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2479 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2480 Subject: [PATCH 1 of 6] c |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2481 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2482 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2483 X-Mercurial-Series-Total: 6 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2484 Message-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2485 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2486 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2487 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2488 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2489 Date: Tue, 01 Jan 1980 00:01:01 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2490 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2491 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2492 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2493 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2494 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2495 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2496 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2497 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2498 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2499 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2500 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2501 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2502 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2503 +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2504 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2505 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2506 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2507 displaying [PATCH 2 of 6] utf-8 content ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2508 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2509 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2510 Content-Transfer-Encoding: 8bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2511 Subject: [PATCH 2 of 6] utf-8 content |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2512 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2513 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2514 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2515 Message-Id: <909a00e13e9d78b575ae.315532862@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2516 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2517 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2518 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2519 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2520 Date: Tue, 01 Jan 1980 00:01:02 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2521 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2522 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2523 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2524 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2525 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2526 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2527 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2528 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2529 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2530 utf-8 content |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2531 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2532 diff -r ff2c9fa2018b -r 909a00e13e9d description |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2533 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2534 +++ b/description Thu Jan 01 00:00:04 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2535 @@ -0,0 +1,3 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2536 +a multiline |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2537 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2538 +description |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2539 diff -r ff2c9fa2018b -r 909a00e13e9d utf |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2540 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2541 +++ b/utf Thu Jan 01 00:00:04 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2542 @@ -0,0 +1,1 @@ |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12941
diff
changeset
|
2543 +h\xc3\xb6mma! (esc) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2544 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2545 displaying [PATCH 3 of 6] long line ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2546 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2547 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2548 Content-Transfer-Encoding: quoted-printable |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2549 Subject: [PATCH 3 of 6] long line |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2550 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2551 X-Mercurial-Series-Index: 3 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2552 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2553 Message-Id: <a2ea8fc83dd8b93cfd86.315532863@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2554 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2555 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2556 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2557 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2558 Date: Tue, 01 Jan 1980 00:01:03 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2559 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2560 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2561 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2562 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2563 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2564 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2565 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2566 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2567 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2568 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2569 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2570 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2571 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2572 +++ b/long Thu Jan 01 00:00:04 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2573 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2574 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2575 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2576 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2577 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2578 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2579 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2580 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2581 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2582 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2583 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2584 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2585 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2586 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2587 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2588 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2589 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2590 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2591 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2592 displaying [PATCH 4 of 6] isolatin 8-bit encoding ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2593 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2594 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2595 Content-Transfer-Encoding: 8bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2596 Subject: [PATCH 4 of 6] isolatin 8-bit encoding |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2597 X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2598 X-Mercurial-Series-Index: 4 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2599 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2600 Message-Id: <240fb913fc1b7ff15ddb.315532864@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2601 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2602 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2603 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2604 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2605 Date: Tue, 01 Jan 1980 00:01:04 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2606 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2607 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2608 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2609 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2610 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2611 # Date 5 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2612 # Thu Jan 01 00:00:05 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2613 # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2614 # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2615 isolatin 8-bit encoding |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2616 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2617 diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2618 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2619 +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2620 @@ -0,0 +1,1 @@ |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12941
diff
changeset
|
2621 +h\xf6mma! (esc) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2622 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2623 displaying [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2624 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2625 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2626 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2627 Subject: [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2628 X-Mercurial-Node: 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2629 X-Mercurial-Series-Index: 5 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2630 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2631 Message-Id: <5d5ef15dfe5e7bd3a4ee.315532865@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2632 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2633 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2634 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2635 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2636 Date: Tue, 01 Jan 1980 00:01:05 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2637 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2638 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2639 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2640 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2641 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2642 # Date 0 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2643 # Thu Jan 01 00:00:00 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2644 # Node ID 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2645 # Parent 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2646 Added tag zero, zero.foo for changeset 8580ff50825a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2647 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2648 diff -r 240fb913fc1b -r 5d5ef15dfe5e .hgtags |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2649 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2650 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2651 @@ -0,0 +1,2 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2652 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2653 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2654 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2655 displaying [PATCH 6 of 6] d ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2656 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2657 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2658 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2659 Subject: [PATCH 6 of 6] d |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2660 X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2661 X-Mercurial-Series-Index: 6 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2662 X-Mercurial-Series-Total: 6 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2663 Message-Id: <2f9fa9b998c5fe3ac2bd.315532866@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2664 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2665 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2666 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2667 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2668 Date: Tue, 01 Jan 1980 00:01:06 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2669 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2670 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2671 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2672 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2673 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2674 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2675 # Thu Jan 01 00:00:04 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2676 # Branch test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2677 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2678 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2679 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2680 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2681 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2682 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2683 +++ b/d Thu Jan 01 00:00:04 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2684 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2685 +d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2686 |
9947
4600e6222efb
patchbomb: fix parsing of multiple addresses, allow multiple addrs in --to/cc/bcc
Marti Raudsepp <marti@juffo.org>
parents:
9913
diff
changeset
|
2687 |
27697
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2688 Don't prompt for a CC header. |
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2689 |
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2690 $ echo "[email]" >> $HGRCPATH |
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2691 $ echo "cc=" >> $HGRCPATH |
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2692 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2693 dest#branch URIs: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2694 $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t#test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2695 comparing with ../t |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2696 From [test]: test |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2697 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2698 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2699 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2700 displaying [PATCH] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2701 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2702 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2703 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2704 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2705 X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2706 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2707 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2708 Message-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
2709 X-Mercurial-Series-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2710 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2711 Date: Tue, 01 Jan 1980 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2712 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2713 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2714 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2715 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2716 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2717 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2718 # Thu Jan 01 00:00:04 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2719 # Branch test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2720 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2721 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2722 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2723 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2724 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2725 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2726 +++ b/d Thu Jan 01 00:00:04 1970 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2727 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2728 +d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2729 |
16913
f2719b387380
tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents:
16901
diff
changeset
|
2730 |
27658
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2731 Set up a fake sendmail program |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2732 |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2733 $ cat > pretendmail.sh << 'EOF' |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2734 > #!/bin/sh |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2735 > echo "$@" |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2736 > cat |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2737 > EOF |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2738 $ chmod +x pretendmail.sh |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2739 |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2740 $ echo '[email]' >> $HGRCPATH |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2741 $ echo "method=`pwd`/pretendmail.sh" >> $HGRCPATH |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2742 |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2743 Test introduction configuration |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2744 ================================= |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2745 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2746 $ echo '[patchbomb]' >> $HGRCPATH |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2747 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2748 "auto" setting |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2749 ---------------- |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2750 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2751 $ echo 'intro=auto' >> $HGRCPATH |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2752 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2753 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2754 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2755 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2756 [1] |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2757 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2758 single rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2759 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2760 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2761 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2762 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2763 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2764 Multi rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2765 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2766 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2767 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2768 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2769 "never" setting |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2770 ----------------- |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2771 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2772 $ echo 'intro=never' >> $HGRCPATH |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2773 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2774 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2775 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2776 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2777 [1] |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2778 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2779 single rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2780 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2781 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2782 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2783 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2784 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2785 Multi rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2786 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2787 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2788 [1] |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2789 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2790 Multi rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2791 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2792 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' --intro | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2793 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2794 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2795 "always" setting |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2796 ----------------- |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2797 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2798 $ echo 'intro=always' >> $HGRCPATH |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2799 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2800 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2801 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2802 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2803 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2804 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2805 single rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2806 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2807 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2808 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2809 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2810 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2811 Multi rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2812 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2813 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2814 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2815 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2816 Multi rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2817 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2818 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' --intro | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2819 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2820 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2821 bad value setting |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2822 ----------------- |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2823 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2824 $ echo 'intro=mpmwearaclownnose' >> $HGRCPATH |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2825 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2826 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2827 |
27658
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2828 $ hg email --date '1980-1-1 0:1' -v -t foo -s test -r '10' |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2829 From [test]: test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2830 this patch series consists of 1 patches. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2831 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2832 warning: invalid patchbomb.intro value "mpmwearaclownnose" |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2833 (should be one of always, never, auto) |
27658
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2834 -f test foo |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2835 Content-Type: text/plain; charset="us-ascii" |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2836 MIME-Version: 1.0 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2837 Content-Transfer-Encoding: 7bit |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2838 Subject: [PATCH] test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2839 X-Mercurial-Node: 3b6f1ec9dde933a40a115a7990f8b320477231af |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2840 X-Mercurial-Series-Index: 1 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2841 X-Mercurial-Series-Total: 1 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2842 Message-Id: <3b6f1ec9dde933a40a11*> (glob) |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2843 X-Mercurial-Series-Id: <3b6f1ec9dde933a40a11.*> (glob) |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2844 User-Agent: Mercurial-patchbomb/* (glob) |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2845 Date: Tue, 01 Jan 1980 00:01:00 +0000 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2846 From: test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2847 To: foo |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2848 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2849 # HG changeset patch |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2850 # User test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2851 # Date 5 0 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2852 # Thu Jan 01 00:00:05 1970 +0000 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2853 # Branch test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2854 # Node ID 3b6f1ec9dde933a40a115a7990f8b320477231af |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2855 # Parent 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2856 dd |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2857 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2858 diff -r 2f9fa9b998c5 -r 3b6f1ec9dde9 d |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2859 --- a/d Thu Jan 01 00:00:04 1970 +0000 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2860 +++ b/d Thu Jan 01 00:00:05 1970 +0000 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2861 @@ -1,1 +1,2 @@ |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2862 d |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2863 +d |
27658
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2864 |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2865 sending [PATCH] test ... |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2866 sending mail: $TESTTMP/t2/pretendmail.sh -f test foo |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2867 |
26546
500386e65759
patchbomb: add experimental config of a "pullurl" and export it
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25482
diff
changeset
|
2868 Test pull url header |
500386e65759
patchbomb: add experimental config of a "pullurl" and export it
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25482
diff
changeset
|
2869 ================================= |
500386e65759
patchbomb: add experimental config of a "pullurl" and export it
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25482
diff
changeset
|
2870 |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2871 basic version |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2872 |
26546
500386e65759
patchbomb: add experimental config of a "pullurl" and export it
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25482
diff
changeset
|
2873 $ echo 'intro=auto' >> $HGRCPATH |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2874 $ echo "publicurl=$TESTTMP/t2" >> $HGRCPATH |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2875 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep '^#' |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2876 abort: public url $TESTTMP/t2 is missing 3b6f1ec9dde9 |
28981
7b188bc23942
patchbomb: use single quotes around command hint
timeless <timeless@mozdev.org>
parents:
28907
diff
changeset
|
2877 (use 'hg push $TESTTMP/t2 -r 3b6f1ec9dde9') |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2878 [1] |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2879 |
28906
ac1bb8ca6d39
tests: clarify patchbomb repo is public not remote
timeless <timeless@mozdev.org>
parents:
28051
diff
changeset
|
2880 public missing |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2881 |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2882 $ echo 'publicurl=$TESTTMP/missing' >> $HGRCPATH |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2883 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2884 unable to access public repo: $TESTTMP/missing |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2885 abort: repository $TESTTMP/missing not found! |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2886 [255] |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2887 |
28906
ac1bb8ca6d39
tests: clarify patchbomb repo is public not remote
timeless <timeless@mozdev.org>
parents:
28051
diff
changeset
|
2888 node missing at public |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2889 |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2890 $ hg clone -r '9' . ../t3 |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2891 adding changesets |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2892 adding manifests |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2893 adding file changes |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2894 added 3 changesets with 3 changes to 3 files |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2895 updating to branch test |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2896 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2897 $ echo 'publicurl=$TESTTMP/t3' >> $HGRCPATH |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2898 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2899 abort: public url $TESTTMP/t3 is missing 3b6f1ec9dde9 |
28981
7b188bc23942
patchbomb: use single quotes around command hint
timeless <timeless@mozdev.org>
parents:
28907
diff
changeset
|
2900 (use 'hg push $TESTTMP/t3 -r 3b6f1ec9dde9') |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2901 [255] |
28907
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
2902 |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
2903 multiple heads are missing at public |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
2904 |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
2905 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '2+10' |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
2906 abort: public "$TESTTMP/t3" is missing ff2c9fa2018b and 1 others |
28981
7b188bc23942
patchbomb: use single quotes around command hint
timeless <timeless@mozdev.org>
parents:
28907
diff
changeset
|
2907 (use 'hg push $TESTTMP/t3 -r ff2c9fa2018b -r 3b6f1ec9dde9') |
28907
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
2908 [255] |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
2909 |