Mercurial > hg
annotate tests/test-patchbomb.t @ 31315:78ac7061f840
util: add debugstacktrace depth limit
Useful when you don't care about the start of the stack, but only want to see
the last entries.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 14 Jan 2015 01:15:26 +0100 |
parents | 6b8e1a08ef1d |
children | 5b2e1689b24d |
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 |
30211
6b0741d6d234
changegroup: skip delta when the underlying revlog do not use them
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
30089
diff
changeset
|
355 SEcyMAAAAA5Db21wcmVzc2lvbj1CWkJaaDkxQVkmU1nYvy2xAAAJf//7vFYQXD1/4H7R09C/470I |
6b0741d6d234
changegroup: skip delta when the underlying revlog do not use them
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
30089
diff
changeset
|
356 Ak0E4pe4SIIIgQSgGEQOcLAA5VBKqeppMxTI0YjQNBgQMQDI0GgMhtR6I0GI2p6I0yeSEVT9MiYn |
6b0741d6d234
changegroup: skip delta when the underlying revlog do not use them
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
30089
diff
changeset
|
357 qjCYQwCBtARptARgBNDEwAGiDCMA40NGjQaNA0AAAAADIAAAA0BkABktCk6qObVxZ2A/33KHibLr |
6b0741d6d234
changegroup: skip delta when the underlying revlog do not use them
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
30089
diff
changeset
|
358 UQ4BwkgcPcmuCUAQZCztIWgR1SpBS6IqbIij4UFwhnnMkElcFTqoucIWbsBPK3l+6c+xYaVBWsJo |
6b0741d6d234
changegroup: skip delta when the underlying revlog do not use them
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
30089
diff
changeset
|
359 aT0OV/YAOvLrziifDQMJOMIaaYce9agtI2EwQBAq089UiRU+evFHSLRBT7Wa/D/YBaUtU5ezvtr3 |
6b0741d6d234
changegroup: skip delta when the underlying revlog do not use them
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
30089
diff
changeset
|
360 6yrIS4Iyp9VWESdWPEi6VjRjdcEY4HvbmDIVEAEVJIUrHNIBx/MmnBBRkw8tSlCQ8ABZxf5ejgBI |
6b0741d6d234
changegroup: skip delta when the underlying revlog do not use them
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
30089
diff
changeset
|
361 pP5TSQPLVMYbq1qbBPmWN0LYVlAvRbP4X512kDQZ9y4TQbvoZmhe+54sRsEJ8GW3hMJjERh0NNlg |
6b0741d6d234
changegroup: skip delta when the underlying revlog do not use them
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
30089
diff
changeset
|
362 aB+3Cw/4u5IpwoSGxfltiA== |
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 |
30089
040f23ed6963
mail: take --encoding and HGENCODING into account
Gábor Stefanik <gabor.stefanik@nng.com>
parents:
29593
diff
changeset
|
635 iso-8859-1 mbox: |
11910
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) |
30089
040f23ed6963
mail: take --encoding and HGENCODING into account
Gábor Stefanik <gabor.stefanik@nng.com>
parents:
29593
diff
changeset
|
643 Content-Type: text/plain; charset="iso-8859-1" |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
644 MIME-Version: 1.0 |
30089
040f23ed6963
mail: take --encoding and HGENCODING into account
Gábor Stefanik <gabor.stefanik@nng.com>
parents:
29593
diff
changeset
|
645 Content-Transfer-Encoding: quoted-printable |
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 @@ |
30089
040f23ed6963
mail: take --encoding and HGENCODING into account
Gábor Stefanik <gabor.stefanik@nng.com>
parents:
29593
diff
changeset
|
670 +h=F6mma! |
15546
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 |
31187
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2374 test flag template: |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2375 $ echo foo > intro.text |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2376 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -r 0:1 \ |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2377 > --desc intro.text --subject test \ |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2378 > --config patchbomb.flagtemplate='R{rev}' |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2379 this patch series consists of 2 patches. |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2380 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2381 Cc: |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2382 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2383 displaying [PATCH 0 of 2 R1] test ... |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2384 Content-Type: text/plain; charset="us-ascii" |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2385 MIME-Version: 1.0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2386 Content-Transfer-Encoding: 7bit |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2387 Subject: [PATCH 0 of 2 R1] test |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2388 Message-Id: <patchbomb.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2389 User-Agent: Mercurial-patchbomb/* (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2390 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2391 From: quux |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2392 To: foo |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2393 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2394 foo |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2395 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2396 displaying [PATCH 1 of 2 R0] a ... |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2397 Content-Type: text/plain; charset="us-ascii" |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2398 MIME-Version: 1.0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2399 Content-Transfer-Encoding: 7bit |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2400 Subject: [PATCH 1 of 2 R0] a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2401 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2402 X-Mercurial-Series-Index: 1 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2403 X-Mercurial-Series-Total: 2 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2404 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2405 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2406 In-Reply-To: <patchbomb.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2407 References: <patchbomb.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2408 User-Agent: Mercurial-patchbomb/* (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2409 Date: Thu, 01 Jan 1970 00:01:01 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2410 From: quux |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2411 To: foo |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2412 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2413 # HG changeset patch |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2414 # User test |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2415 # Date 1 0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2416 # Thu Jan 01 00:00:01 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2417 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2418 # Parent 0000000000000000000000000000000000000000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2419 a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2420 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2421 diff -r 000000000000 -r 8580ff50825a a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2422 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2423 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2424 @@ -0,0 +1,1 @@ |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2425 +a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2426 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2427 displaying [PATCH 2 of 2 R1] b ... |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2428 Content-Type: text/plain; charset="us-ascii" |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2429 MIME-Version: 1.0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2430 Content-Transfer-Encoding: 7bit |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2431 Subject: [PATCH 2 of 2 R1] b |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2432 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2433 X-Mercurial-Series-Index: 2 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2434 X-Mercurial-Series-Total: 2 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2435 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2436 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2437 In-Reply-To: <patchbomb.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2438 References: <patchbomb.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2439 User-Agent: Mercurial-patchbomb/* (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2440 Date: Thu, 01 Jan 1970 00:01:02 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2441 From: quux |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2442 To: foo |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2443 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2444 # HG changeset patch |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2445 # User test |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2446 # Date 2 0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2447 # Thu Jan 01 00:00:02 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2448 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2449 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2450 b |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2451 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2452 diff -r 8580ff50825a -r 97d72e5f12c7 b |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2453 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2454 +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2455 @@ -0,0 +1,1 @@ |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2456 +b |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2457 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2458 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2459 test flag template plus --flag: |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2460 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -r 0 --flag 'V2' \ |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2461 > --config patchbomb.flagtemplate='{branch} {flags}' |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2462 this patch series consists of 1 patches. |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2463 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2464 Cc: |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2465 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2466 displaying [PATCH default V2] a ... |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2467 Content-Type: text/plain; charset="us-ascii" |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2468 MIME-Version: 1.0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2469 Content-Transfer-Encoding: 7bit |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2470 Subject: [PATCH default V2] a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2471 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2472 X-Mercurial-Series-Index: 1 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2473 X-Mercurial-Series-Total: 1 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2474 Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2475 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2476 User-Agent: Mercurial-patchbomb/* (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2477 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2478 From: quux |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2479 To: foo |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2480 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2481 # HG changeset patch |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2482 # User test |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2483 # Date 1 0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2484 # Thu Jan 01 00:00:01 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2485 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2486 # Parent 0000000000000000000000000000000000000000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2487 a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2488 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2489 diff -r 000000000000 -r 8580ff50825a a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2490 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2491 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2492 @@ -0,0 +1,1 @@ |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2493 +a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2494 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2495 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2496 test multi-byte domain parsing: |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
2497 $ 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
|
2498 $ HGENCODING=iso-8859-1 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2499 $ export HGENCODING |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2500 $ 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
|
2501 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2502 |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2503 Cc: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2504 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2505 sending [PATCH] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2506 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2507 $ cat tmp.mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
2508 From quux ... ... .. ..:..:.. .... (re) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2509 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2510 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2511 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2512 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2513 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
|
2514 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
|
2515 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2516 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
|
2517 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
|
2518 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2519 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
|
2520 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2521 To: bar@xn--nicode-2ya.com |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2522 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2523 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2524 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2525 # 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
|
2526 # 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
|
2527 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2528 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2529 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2530 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2531 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2532 --- /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
|
2533 +++ 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
|
2534 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2535 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2536 |
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 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2539 test outgoing: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2540 $ hg up 1 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2541 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
|
2542 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2543 $ hg branch test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2544 marked working directory as branch test |
15615 | 2545 (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
|
2546 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2547 $ echo d > d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2548 $ hg add d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2549 $ hg ci -md -d '4 0' |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2550 $ echo d >> d |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2551 $ hg ci -mdd -d '5 0' |
20117
aa9385f983fa
tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents:
18648
diff
changeset
|
2552 $ 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
|
2553 @ 10:3b6f1ec9dde9 dd |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2554 | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2555 o 9:2f9fa9b998c5 d |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2556 | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2557 | 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
|
2558 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2559 | 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
|
2560 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2561 | 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
|
2562 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2563 | o 5:240fb913fc1b isolatin 8-bit encoding |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2564 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2565 | o 4:a2ea8fc83dd8 long line |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2566 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2567 | o 3:909a00e13e9d utf-8 content |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2568 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2569 | o 2:ff2c9fa2018b c |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2570 |/ |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2571 o 1:97d72e5f12c7 b |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2572 | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2573 o 0:8580ff50825a a |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2574 |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2575 $ hg phase --force --secret -r 10 |
17177
ef507130fc92
patchbomb: support --outgoing and revsets
Patrick Mezard <patrick@mezard.eu>
parents:
17176
diff
changeset
|
2576 $ 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
|
2577 comparing with ../t |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2578 From [test]: test |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2579 this patch series consists of 6 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2580 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2581 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2582 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2583 |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2584 Cc: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2585 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2586 displaying [PATCH 0 of 6] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2587 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2588 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2589 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2590 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
|
2591 Message-Id: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2592 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2593 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
|
2594 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2595 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2596 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2597 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2598 displaying [PATCH 1 of 6] c ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2599 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2600 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2601 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2602 Subject: [PATCH 1 of 6] c |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2603 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
|
2604 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
|
2605 X-Mercurial-Series-Total: 6 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2606 Message-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2607 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
|
2608 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2609 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2610 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2611 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
|
2612 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2613 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2614 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2615 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2616 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2617 # 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
|
2618 # 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
|
2619 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2620 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2621 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2622 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2623 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2624 --- /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
|
2625 +++ 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
|
2626 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2627 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2628 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2629 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
|
2630 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2631 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2632 Content-Transfer-Encoding: 8bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2633 Subject: [PATCH 2 of 6] utf-8 content |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2634 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
|
2635 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
|
2636 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2637 Message-Id: <909a00e13e9d78b575ae.315532862@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2638 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
|
2639 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2640 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2641 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2642 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
|
2643 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2644 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2645 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2646 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2647 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2648 # 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
|
2649 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2650 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2651 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2652 utf-8 content |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2653 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2654 diff -r ff2c9fa2018b -r 909a00e13e9d description |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2655 --- /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
|
2656 +++ 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
|
2657 @@ -0,0 +1,3 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2658 +a multiline |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2659 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2660 +description |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2661 diff -r ff2c9fa2018b -r 909a00e13e9d utf |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2662 --- /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
|
2663 +++ 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
|
2664 @@ -0,0 +1,1 @@ |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12941
diff
changeset
|
2665 +h\xc3\xb6mma! (esc) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2666 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2667 displaying [PATCH 3 of 6] long line ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2668 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2669 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2670 Content-Transfer-Encoding: quoted-printable |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2671 Subject: [PATCH 3 of 6] long line |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2672 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
|
2673 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
|
2674 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2675 Message-Id: <a2ea8fc83dd8b93cfd86.315532863@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2676 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
|
2677 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2678 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2679 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2680 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
|
2681 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2682 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2683 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2684 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2685 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2686 # 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
|
2687 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2688 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2689 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2690 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2691 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2692 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2693 --- /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
|
2694 +++ 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
|
2695 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2696 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2697 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2698 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2699 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2700 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2701 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2702 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2703 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2704 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2705 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2706 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2707 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2708 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2709 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2710 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2711 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2712 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2713 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2714 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
|
2715 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2716 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2717 Content-Transfer-Encoding: 8bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2718 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
|
2719 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
|
2720 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
|
2721 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2722 Message-Id: <240fb913fc1b7ff15ddb.315532864@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2723 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
|
2724 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2725 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2726 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2727 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
|
2728 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2729 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2730 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2731 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2732 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2733 # 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
|
2734 # Thu Jan 01 00:00:05 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2735 # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2736 # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2737 isolatin 8-bit encoding |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2738 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2739 diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2740 --- /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
|
2741 +++ 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
|
2742 @@ -0,0 +1,1 @@ |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12941
diff
changeset
|
2743 +h\xf6mma! (esc) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2744 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2745 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
|
2746 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2747 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2748 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2749 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
|
2750 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
|
2751 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
|
2752 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2753 Message-Id: <5d5ef15dfe5e7bd3a4ee.315532865@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2754 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
|
2755 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2756 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2757 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2758 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
|
2759 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2760 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2761 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2762 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2763 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2764 # 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
|
2765 # Thu Jan 01 00:00:00 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2766 # Node ID 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2767 # Parent 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2768 Added tag zero, zero.foo for changeset 8580ff50825a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2769 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2770 diff -r 240fb913fc1b -r 5d5ef15dfe5e .hgtags |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2771 --- /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
|
2772 +++ 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
|
2773 @@ -0,0 +1,2 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2774 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2775 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2776 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2777 displaying [PATCH 6 of 6] d ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2778 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2779 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2780 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2781 Subject: [PATCH 6 of 6] d |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2782 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
|
2783 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
|
2784 X-Mercurial-Series-Total: 6 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2785 Message-Id: <2f9fa9b998c5fe3ac2bd.315532866@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2786 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
|
2787 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2788 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2789 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2790 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
|
2791 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2792 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2793 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2794 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2795 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2796 # 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
|
2797 # 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
|
2798 # Branch test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2799 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2800 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2801 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2802 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2803 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2804 --- /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
|
2805 +++ 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
|
2806 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2807 +d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2808 |
9947
4600e6222efb
patchbomb: fix parsing of multiple addresses, allow multiple addrs in --to/cc/bcc
Marti Raudsepp <marti@juffo.org>
parents:
9913
diff
changeset
|
2809 |
27697
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2810 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
|
2811 |
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2812 $ echo "[email]" >> $HGRCPATH |
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2813 $ echo "cc=" >> $HGRCPATH |
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2814 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2815 dest#branch URIs: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2816 $ 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
|
2817 comparing with ../t |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2818 From [test]: test |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2819 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2820 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2821 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2822 displaying [PATCH] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2823 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2824 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2825 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2826 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2827 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
|
2828 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
|
2829 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2830 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
|
2831 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
|
2832 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2833 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
|
2834 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2835 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2836 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2837 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2838 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2839 # 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
|
2840 # 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
|
2841 # Branch test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2842 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2843 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2844 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2845 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2846 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2847 --- /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
|
2848 +++ 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
|
2849 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2850 +d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2851 |
16913
f2719b387380
tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents:
16901
diff
changeset
|
2852 |
27658
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2853 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
|
2854 |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2855 $ cat > pretendmail.sh << 'EOF' |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2856 > #!/bin/sh |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2857 > echo "$@" |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2858 > cat |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2859 > EOF |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2860 $ chmod +x pretendmail.sh |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2861 |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2862 $ echo '[email]' >> $HGRCPATH |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2863 $ 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
|
2864 |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2865 Test introduction configuration |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2866 ================================= |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2867 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2868 $ echo '[patchbomb]' >> $HGRCPATH |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2869 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2870 "auto" setting |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2871 ---------------- |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2872 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2873 $ echo 'intro=auto' >> $HGRCPATH |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2874 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2875 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2876 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2877 $ 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
|
2878 [1] |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2879 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2880 single rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2881 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2882 $ 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
|
2883 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
|
2884 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2885 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2886 Multi rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2887 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2888 $ 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
|
2889 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
|
2890 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2891 "never" setting |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2892 ----------------- |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2893 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2894 $ echo 'intro=never' >> $HGRCPATH |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2895 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2896 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2897 |
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' | 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
|
2899 [1] |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2900 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2901 single rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2902 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2903 $ 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
|
2904 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
|
2905 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2906 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2907 Multi rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2908 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2909 $ 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
|
2910 [1] |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2911 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2912 Multi rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2913 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2914 $ 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
|
2915 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
|
2916 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2917 "always" setting |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2918 ----------------- |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2919 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2920 $ echo 'intro=always' >> $HGRCPATH |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2921 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2922 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2923 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2924 $ 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
|
2925 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
|
2926 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2927 single rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2928 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2929 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2930 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
|
2931 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2932 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2933 Multi rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2934 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2935 $ 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
|
2936 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
|
2937 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2938 Multi rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2939 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2940 $ 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
|
2941 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
|
2942 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2943 bad value setting |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2944 ----------------- |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2945 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2946 $ echo 'intro=mpmwearaclownnose' >> $HGRCPATH |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2947 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2948 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2949 |
27658
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2950 $ 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
|
2951 From [test]: test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2952 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
|
2953 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2954 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
|
2955 (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
|
2956 -f test foo |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2957 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
|
2958 MIME-Version: 1.0 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2959 Content-Transfer-Encoding: 7bit |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2960 Subject: [PATCH] test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2961 X-Mercurial-Node: 3b6f1ec9dde933a40a115a7990f8b320477231af |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2962 X-Mercurial-Series-Index: 1 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2963 X-Mercurial-Series-Total: 1 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2964 Message-Id: <3b6f1ec9dde933a40a11*> (glob) |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2965 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
|
2966 User-Agent: Mercurial-patchbomb/* (glob) |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2967 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
|
2968 From: test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2969 To: foo |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2970 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2971 # HG changeset patch |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2972 # User test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2973 # Date 5 0 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2974 # 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
|
2975 # Branch test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2976 # Node ID 3b6f1ec9dde933a40a115a7990f8b320477231af |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2977 # Parent 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2978 dd |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2979 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2980 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
|
2981 --- 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
|
2982 +++ 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
|
2983 @@ -1,1 +1,2 @@ |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2984 d |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2985 +d |
27658
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2986 |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2987 sending [PATCH] test ... |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2988 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
|
2989 |
26546
500386e65759
patchbomb: add experimental config of a "pullurl" and export it
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25482
diff
changeset
|
2990 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
|
2991 ================================= |
500386e65759
patchbomb: add experimental config of a "pullurl" and export it
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25482
diff
changeset
|
2992 |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2993 basic version |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2994 |
26546
500386e65759
patchbomb: add experimental config of a "pullurl" and export it
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25482
diff
changeset
|
2995 $ 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
|
2996 $ 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
|
2997 $ 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
|
2998 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
|
2999 (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
|
3000 [1] |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3001 |
28906
ac1bb8ca6d39
tests: clarify patchbomb repo is public not remote
timeless <timeless@mozdev.org>
parents:
28051
diff
changeset
|
3002 public missing |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3003 |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3004 $ 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
|
3005 $ 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
|
3006 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
|
3007 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
|
3008 [255] |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3009 |
28906
ac1bb8ca6d39
tests: clarify patchbomb repo is public not remote
timeless <timeless@mozdev.org>
parents:
28051
diff
changeset
|
3010 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
|
3011 |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3012 $ 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
|
3013 adding changesets |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3014 adding manifests |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3015 adding file changes |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3016 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
|
3017 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
|
3018 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
|
3019 $ 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
|
3020 $ 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
|
3021 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
|
3022 (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
|
3023 [255] |
28907
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
3024 |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
3025 multiple heads are missing at public |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
3026 |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
3027 $ 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
|
3028 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
|
3029 (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
|
3030 [255] |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
3031 |