Mercurial > hg
annotate tests/test-patchbomb.t @ 33401:960350659fa5
configitems: register the 'bugzilla.fixstatus' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 07 Jul 2017 10:03:57 +0200 |
parents | 75be14993fda |
children | 99e3227c83b5 |
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 |
32940
75be14993fda
cleanup: use $PYTHON to run python in many more tests
Augie Fackler <augie@google.com>
parents:
31860
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 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
31 $ hg init t |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
32 $ cd t |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
33 $ echo a > a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
34 $ hg commit -Ama -d '1 0' |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
35 adding a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
36 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
37 $ 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
|
38 this patch series consists of 1 patches. |
11910
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 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
41 displaying [PATCH] a ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
42 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
43 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
44 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
45 Subject: [PATCH] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
46 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
|
47 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
|
48 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
49 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
|
50 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
|
51 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
52 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
|
53 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
54 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
55 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
56 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
57 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
58 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
59 # 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
|
60 # 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
|
61 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
62 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
63 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
64 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
65 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
66 --- /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
|
67 +++ 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
|
68 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
69 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
70 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
71 |
12201
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
72 $ 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
|
73 > n |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
74 > EOF |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
75 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
|
76 |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
77 |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
78 Final summary: |
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 From: quux |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
81 To: foo |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
82 Cc: bar |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
83 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
|
84 a | 1 + |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
85 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
|
86 |
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
|
87 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
|
88 abort: patchbomb canceled |
12316
4134686b83e1
tests: add exit codes to unified tests
Matt Mackall <mpm@selenic.com>
parents:
12201
diff
changeset
|
89 [255] |
12201
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
90 |
23488
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
91 $ 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
|
92 > n |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
93 > EOF |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
94 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
|
95 |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
96 |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
97 Final summary: |
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 From: quux |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
100 To: foo |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
101 Cc: bar |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
102 Subject: [PATCH] a |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
103 a | 1 + |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
104 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
|
105 |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
106 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
|
107 abort: patchbomb canceled |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
108 [255] |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
109 |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
110 |
23450
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
111 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
|
112 $ 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
|
113 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
|
114 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
115 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
116 displaying [PATCH] a ... |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
117 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
|
118 MIME-Version: 1.0 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
119 Content-Transfer-Encoding: 7bit |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
120 Subject: [PATCH] a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
121 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
122 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
|
123 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
|
124 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
|
125 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
|
126 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
|
127 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
|
128 From: quux |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
129 To: foo |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
130 Cc: bar |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
131 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
132 # HG changeset patch |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
133 # User test |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
134 # Date 1 0 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
135 # 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
|
136 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
137 # Parent 0000000000000000000000000000000000000000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
138 a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
139 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
140 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
|
141 new file mode 100644 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
142 --- /dev/null |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
143 +++ b/a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
144 @@ -0,0 +1,1 @@ |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
145 +a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
146 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
147 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
148 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
149 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
|
150 $ 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
|
151 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
|
152 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
153 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
154 displaying [PATCH] a ... |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
155 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
|
156 MIME-Version: 1.0 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
157 Content-Transfer-Encoding: 7bit |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
158 Subject: [PATCH] a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
159 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
160 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
|
161 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
|
162 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
|
163 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
|
164 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
|
165 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
|
166 From: quux |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
167 To: foo |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
168 Cc: bar |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
169 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
170 # HG changeset patch |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
171 # User test |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
172 # Date 1 0 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
173 # 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
|
174 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
175 # Parent 0000000000000000000000000000000000000000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
176 a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
177 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
178 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
|
179 --- /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
|
180 +++ 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
|
181 @@ -0,0 +1,1 @@ |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
182 +a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
183 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
184 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
185 $ echo b > b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
186 $ hg commit -Amb -d '2 0' |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
187 adding b |
4420
b0656b33cc02
add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
188 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
189 $ 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
|
190 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
191 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
192 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
193 Write the introductory message for the patch series. |
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 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
196 displaying [PATCH 0 of 2] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
197 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
198 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
199 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
200 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
|
201 Message-Id: <patchbomb.120@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
202 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
203 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
|
204 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
205 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
206 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
207 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
208 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
209 displaying [PATCH 1 of 2] a ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
210 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
211 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
212 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
213 Subject: [PATCH 1 of 2] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
214 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
|
215 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
|
216 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
217 Message-Id: <8580ff50825a50c8f716.121@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
218 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
|
219 In-Reply-To: <patchbomb.120@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
220 References: <patchbomb.120@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
221 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
222 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
|
223 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
224 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
225 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
226 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
227 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
228 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
229 # 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
|
230 # 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
|
231 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
232 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
233 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
234 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
235 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
236 --- /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
|
237 +++ 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
|
238 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
239 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
240 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
241 displaying [PATCH 2 of 2] b ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
242 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
243 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
244 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
245 Subject: [PATCH 2 of 2] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
246 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
|
247 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
|
248 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
249 Message-Id: <97d72e5f12c7e84f8506.122@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
250 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
|
251 In-Reply-To: <patchbomb.120@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
252 References: <patchbomb.120@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
253 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
254 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
|
255 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
256 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
257 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
258 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
259 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
260 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
261 # 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
|
262 # 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
|
263 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
264 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
265 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
266 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
267 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
268 --- /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
|
269 +++ 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
|
270 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
271 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
272 |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
273 |
13198
e71b2aa74ce3
patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
12942
diff
changeset
|
274 .hg/last-email.txt |
e71b2aa74ce3
patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
12942
diff
changeset
|
275 |
16901
5b89700cce30
tests: consistently use a HGEDITOR pattern that works with msys on windows
Mads Kiilerich <mads@kiilerich.com>
parents:
16351
diff
changeset
|
276 $ 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
|
277 > 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
|
278 > __EOF__ |
16901
5b89700cce30
tests: consistently use a HGEDITOR pattern that works with msys on windows
Mads Kiilerich <mads@kiilerich.com>
parents:
16351
diff
changeset
|
279 $ 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
|
280 $ 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
|
281 a precious introductory message |
e71b2aa74ce3
patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
12942
diff
changeset
|
282 |
12845
685d884fd2b6
test-patchbomb: add test for progress support (1ed2dc9d4368)
Yuya Nishihara <yuya@tcha.org>
parents:
12376
diff
changeset
|
283 $ 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
|
284 > --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
|
285 > --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
|
286 > --config progress.width=60 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
287 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
288 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
289 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
290 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
291 |
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
|
292 \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
|
293 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
|
294 \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
|
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 [==============> ] 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
|
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 [=============================> ] 2/3\r (no-eol) (esc) |
14101
0c5228836fcd
test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents:
13439
diff
changeset
|
300 \r (esc) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
301 sending [PATCH 0 of 2] test ... |
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
302 sending [PATCH 1 of 2] a ... |
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
303 sending [PATCH 2 of 2] b ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
304 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
305 $ cd .. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
306 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
307 $ hg clone -q t t2 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
308 $ cd t2 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
309 $ echo c > c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
310 $ hg commit -Amc -d '3 0' |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
311 adding c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
312 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
313 $ cat > description <<EOF |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
314 > a multiline |
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 > description |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
317 > EOF |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
318 |
4420
b0656b33cc02
add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
319 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
320 test bundle and description: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
321 $ 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
|
322 > -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
|
323 searching for changes |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
324 1 changesets found |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
325 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
326 displaying test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
327 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
328 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
329 Subject: test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
330 Message-Id: <patchbomb.180@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
331 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
332 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
|
333 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
334 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
335 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
336 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
337 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
338 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
339 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
340 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
341 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
342 a multiline |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
343 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
344 description |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
345 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
346 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
347 Content-Type: application/x-mercurial-bundle |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
348 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
349 Content-Disposition: attachment; filename="bundle.hg" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
350 Content-Transfer-Encoding: base64 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
351 |
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
|
352 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
|
353 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
|
354 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
|
355 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
|
356 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
|
357 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
|
358 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
|
359 aB+3Cw/4u5IpwoSGxfltiA== |
26924
45494030bb70
test: use generaldelta in 'test-patchbomb.t'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26626
diff
changeset
|
360 --===============*==-- (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
361 |
26563
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
362 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
|
363 (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
|
364 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
365 $ 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
|
366 > -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
|
367 > --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
|
368 searching for changes |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
369 1 changesets found |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
370 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
371 displaying test ... |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
372 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
|
373 MIME-Version: 1.0 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
374 Subject: test |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
375 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
|
376 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
|
377 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
|
378 From: quux |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
379 To: foo |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
380 Cc: bar |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
381 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
382 --===*= (glob) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
383 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
|
384 MIME-Version: 1.0 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
385 Content-Transfer-Encoding: 7bit |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
386 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
387 a multiline |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
388 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
389 description |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
390 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
391 --===*= (glob) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
392 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
|
393 MIME-Version: 1.0 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
394 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
|
395 Content-Transfer-Encoding: base64 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
396 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
397 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
|
398 wKYXKqUJwqnG5sYWSWmmJsaWlqYWaRaWJpaWiWamZpYWRgZGxolJiabmSQbmZqlcQMV6QGwCxGzG |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
399 CgZcySARUyA2A2LGZKiZ3Y+Lu786z4z4MWXmsrAZCsqrl1az5y21PMcjpbThzWeXGT+/nutbmvvz |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
400 zXYS3BoGxdrJDIYmlimJJiZpRokmqYYmaSYWFknmSSkmhqbmliamiZYWxuYmBhbJBgZcUBNZQe5K |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
401 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
|
402 --===============*==-- (glob) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
403 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
404 utf-8 patch: |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
405 $ $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
|
406 $ 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
|
407 adding description |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
408 adding utf |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
409 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
410 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
|
411 $ 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
|
412 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
413 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
414 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
415 displaying [PATCH] utf-8 content ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
416 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
417 MIME-Version: 1.0 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
418 Content-Transfer-Encoding: 8bit |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
419 Subject: [PATCH] utf-8 content |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
420 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
|
421 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
|
422 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
423 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
|
424 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
|
425 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
426 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
|
427 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
428 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
429 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
430 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
431 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
432 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
433 # 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
|
434 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
435 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
436 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
437 utf-8 content |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
438 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
439 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
|
440 --- /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
|
441 +++ 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
|
442 @@ -0,0 +1,3 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
443 +a multiline |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
444 + |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
445 +description |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
446 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
|
447 --- /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
|
448 +++ 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
|
449 @@ -0,0 +1,1 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
450 +h\xc3\xb6mma! (esc) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
451 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
452 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
453 mime encoded mbox (base64): |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
454 $ 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
|
455 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
456 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
457 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
458 sending [PATCH] utf-8 content ... |
4420
b0656b33cc02
add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
459 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
460 $ cat mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
461 From quux ... ... .. ..:..:.. .... (re) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
462 Content-Type: text/plain; charset="utf-8" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
463 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
464 Content-Transfer-Encoding: base64 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
465 Subject: [PATCH] utf-8 content |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
466 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
|
467 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
|
468 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
469 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
|
470 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
|
471 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
472 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
|
473 From: Q <quux> |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
474 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
475 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
476 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
477 IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojICAgICAgVGh1IEph |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
478 biAwMSAwMDowMDowNCAxOTcwICswMDAwCiMgTm9kZSBJRCA5MDlhMDBlMTNlOWQ3OGI1NzVhZWVl |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
479 MjNkZGRiYWRhNDZkNWExNDNmCiMgUGFyZW50ICBmZjJjOWZhMjAxOGIxNWZhNzRiMzMzNjNiZGE5 |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
480 NTI3MzIzZTJhOTlmCnV0Zi04IGNvbnRlbnQKCmRpZmYgLXIgZmYyYzlmYTIwMThiIC1yIDkwOWEw |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
481 MGUxM2U5ZCBkZXNjcmlwdGlvbgotLS0gL2Rldi9udWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3 |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
482 MCArMDAwMAorKysgYi9kZXNjcmlwdGlvbglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
483 QEAgLTAsMCArMSwzIEBACithIG11bHRpbGluZQorCitkZXNjcmlwdGlvbgpkaWZmIC1yIGZmMmM5 |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
484 ZmEyMDE4YiAtciA5MDlhMDBlMTNlOWQgdXRmCi0tLSAvZGV2L251bGwJVGh1IEphbiAwMSAwMDow |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
485 MDowMCAxOTcwICswMDAwCisrKyBiL3V0ZglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
486 QEAgLTAsMCArMSwxIEBACitow7ZtbWEhCg== |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
487 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
488 |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
489 $ $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
|
490 # HG changeset patch |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
491 # User test |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
492 # 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
|
493 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
494 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
495 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
496 utf-8 content |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
497 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
498 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
|
499 --- /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
|
500 +++ 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
|
501 @@ -0,0 +1,3 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
502 +a multiline |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
503 + |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
504 +description |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
505 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
|
506 --- /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
|
507 +++ 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
|
508 @@ -0,0 +1,1 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
509 +h\xc3\xb6mma! (esc) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
510 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
511 $ rm mbox |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
512 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
513 mime encoded mbox (quoted-printable): |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
514 $ $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
|
515 $ hg commit -A -d '4 0' -m 'long line' |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
516 adding long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
517 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
518 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
|
519 $ 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
|
520 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
|
521 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
522 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
523 displaying [PATCH] long line ... |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
524 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
|
525 MIME-Version: 1.0 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
526 Content-Transfer-Encoding: quoted-printable |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
527 Subject: [PATCH] long line |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
528 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
|
529 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
|
530 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
531 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
|
532 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
|
533 User-Agent: Mercurial-patchbomb/* (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
534 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
|
535 From: quux |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
536 To: foo |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
537 Cc: bar |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
538 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
539 # HG changeset patch |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
540 # User test |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
541 # 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
|
542 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
543 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
544 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
545 long line |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
546 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
547 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
548 --- /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
|
549 +++ 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
|
550 @@ -0,0 +1,4 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
551 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
552 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
553 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
554 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
565 +foo |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
566 + |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
567 +bar |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
568 |
4420
b0656b33cc02
add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
569 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
570 mime encoded mbox (quoted-printable): |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
571 $ 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
|
572 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
573 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
574 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
575 sending [PATCH] long line ... |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
576 $ cat mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
577 From quux ... ... .. ..:..:.. .... (re) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
578 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
579 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
580 Content-Transfer-Encoding: quoted-printable |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
581 Subject: [PATCH] long line |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
582 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
|
583 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
|
584 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
585 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
|
586 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
|
587 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
588 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
|
589 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
590 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
591 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
592 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
593 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
594 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
595 # 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
|
596 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
597 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
598 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
599 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
600 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
601 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
602 --- /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
|
603 +++ 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
|
604 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
605 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
606 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
607 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
608 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
619 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
620 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
621 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
622 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
623 |
4565
1cf908c00479
Don't validate email config if we're not sending email.
Bryan O'Sullivan <bos@serpentine.com>
parents:
4420
diff
changeset
|
624 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
625 $ rm mbox |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
626 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
627 iso-8859-1 patch: |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
628 $ $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
|
629 $ 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
|
630 adding isolatin |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
631 |
30089
040f23ed6963
mail: take --encoding and HGENCODING into account
Gábor Stefanik <gabor.stefanik@nng.com>
parents:
29593
diff
changeset
|
632 iso-8859-1 mbox: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
633 $ 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
|
634 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
635 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
636 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
637 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
|
638 $ cat mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
639 From quux ... ... .. ..:..:.. .... (re) |
30089
040f23ed6963
mail: take --encoding and HGENCODING into account
Gábor Stefanik <gabor.stefanik@nng.com>
parents:
29593
diff
changeset
|
640 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
|
641 MIME-Version: 1.0 |
30089
040f23ed6963
mail: take --encoding and HGENCODING into account
Gábor Stefanik <gabor.stefanik@nng.com>
parents:
29593
diff
changeset
|
642 Content-Transfer-Encoding: quoted-printable |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
643 Subject: [PATCH] isolatin 8-bit encoding |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
644 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
|
645 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
|
646 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
647 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
|
648 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
|
649 User-Agent: Mercurial-patchbomb/* (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
650 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
|
651 From: quux |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
652 To: foo |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
653 Cc: bar |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
654 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
655 # HG changeset patch |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
656 # User test |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
657 # 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
|
658 # Thu Jan 01 00:00:05 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
659 # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
660 # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
661 isolatin 8-bit encoding |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
662 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
663 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
|
664 --- /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
|
665 +++ 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
|
666 @@ -0,0 +1,1 @@ |
30089
040f23ed6963
mail: take --encoding and HGENCODING into account
Gábor Stefanik <gabor.stefanik@nng.com>
parents:
29593
diff
changeset
|
667 +h=F6mma! |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
668 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
669 |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
670 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
671 test diffstat for single patch: |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
672 $ 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
|
673 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
674 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
675 |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
676 Final summary: |
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 From: quux |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
679 To: foo |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
680 Cc: bar |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
681 Subject: [PATCH] test |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
682 c | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
683 1 files changed, 1 insertions(+), 0 deletions(-) |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
684 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
685 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
|
686 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
687 displaying [PATCH] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
688 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
689 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
690 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
691 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
692 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
|
693 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
|
694 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
695 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
|
696 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
|
697 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
698 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
|
699 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
700 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
701 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
702 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
703 c | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
704 1 files changed, 1 insertions(+), 0 deletions(-) |
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 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
707 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
708 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
709 # 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
|
710 # 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
|
711 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
712 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
713 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
714 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
715 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
716 --- /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
|
717 +++ 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
|
718 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
719 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
720 |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
721 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
722 test diffstat for multiple patches: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
723 $ 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
|
724 > -r 0:1 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
725 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
726 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
727 |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
728 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
|
729 |
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 Final summary: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
732 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
733 From: quux |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
734 To: foo |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
735 Cc: bar |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
736 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
|
737 a | 1 + |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
738 b | 1 + |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
739 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
|
740 Subject: [PATCH 1 of 2] a |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
741 a | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
742 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
|
743 Subject: [PATCH 2 of 2] b |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
744 b | 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(-) |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
746 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
747 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
|
748 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
749 displaying [PATCH 0 of 2] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
750 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
751 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
752 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
753 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
|
754 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
755 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
756 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
|
757 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
758 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
759 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
760 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
761 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
762 a | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
763 b | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
764 2 files changed, 2 insertions(+), 0 deletions(-) |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
765 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
766 displaying [PATCH 1 of 2] a ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
767 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
768 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
769 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
770 Subject: [PATCH 1 of 2] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
771 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
|
772 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
|
773 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
774 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
775 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
|
776 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
777 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
778 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
779 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
|
780 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
781 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
782 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
783 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
784 a | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
785 1 files changed, 1 insertions(+), 0 deletions(-) |
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 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
788 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
789 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
790 # 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
|
791 # 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
|
792 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
793 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
794 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
795 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
796 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
797 --- /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
|
798 +++ 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
|
799 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
800 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
801 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
802 displaying [PATCH 2 of 2] b ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
803 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
804 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
805 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
806 Subject: [PATCH 2 of 2] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
807 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
|
808 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
|
809 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
810 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
811 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
|
812 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
813 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
814 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
815 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
|
816 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
817 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
818 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
819 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
820 b | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
821 1 files changed, 1 insertions(+), 0 deletions(-) |
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 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
824 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
825 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
826 # 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
|
827 # 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
|
828 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
829 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
830 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
831 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
832 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
833 --- /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
|
834 +++ 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
|
835 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
836 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
837 |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
838 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
839 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
|
840 $ 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
|
841 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
842 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
843 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
844 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
845 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
846 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
847 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
848 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
|
849 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
|
850 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
851 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
|
852 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
|
853 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
854 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
|
855 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
856 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
857 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
858 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
859 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
860 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
861 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
862 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
863 Content-Disposition: inline; filename=t2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
864 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
865 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
866 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
867 # 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
|
868 # 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
|
869 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
870 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
871 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
872 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
873 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
874 --- /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
|
875 +++ 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
|
876 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
877 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
878 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
879 --===*=-- (glob) |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
880 |
7193
12fc42c78598
mail: test patch mime encoding for patchbomb
Christian Ebert <blacktrash@gmx.net>
parents:
5753
diff
changeset
|
881 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
882 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
|
883 $ 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
|
884 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
885 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
886 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
887 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
888 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
889 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
890 Subject: [PATCH] test |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
891 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
|
892 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
|
893 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
894 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
|
895 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
|
896 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
897 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
|
898 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
899 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
900 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
901 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
902 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
903 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
904 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
905 Content-Transfer-Encoding: quoted-printable |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
906 Content-Disposition: inline; filename=t2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
907 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
908 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
909 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
910 # 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
|
911 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
912 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
913 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
914 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
915 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
916 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
917 --- /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
|
918 +++ 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
|
919 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
920 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
921 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
922 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
923 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
934 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
935 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
936 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
937 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
938 --===*=-- (glob) |
8332
3e544c074459
patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents:
8160
diff
changeset
|
939 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
940 test inline for multiple patches: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
941 $ 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
|
942 > -r 0:1 -r 4 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
943 this patch series consists of 3 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
944 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
945 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
946 Write the introductory message for the patch series. |
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 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
949 displaying [PATCH 0 of 3] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
950 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
951 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
952 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
953 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
|
954 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
955 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
956 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
|
957 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
958 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
959 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
960 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
961 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
962 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
|
963 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
964 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
965 Subject: [PATCH 1 of 3] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
966 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
|
967 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
|
968 X-Mercurial-Series-Total: 3 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
969 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
970 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
|
971 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
972 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
973 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
974 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
|
975 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
976 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
977 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
978 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
979 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
980 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
981 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
982 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
983 Content-Disposition: inline; filename=t2-1.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
984 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
985 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
986 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
987 # 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
|
988 # 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
|
989 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
990 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
991 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
992 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
993 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
994 --- /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
|
995 +++ 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
|
996 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
997 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
998 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
999 --===*=-- (glob) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1000 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
|
1001 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1002 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1003 Subject: [PATCH 2 of 3] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1004 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
|
1005 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
|
1006 X-Mercurial-Series-Total: 3 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1007 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1008 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
|
1009 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1010 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1011 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1012 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
|
1013 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1014 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1015 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1016 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1017 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1018 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1019 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1020 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1021 Content-Disposition: inline; filename=t2-2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1022 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1023 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1024 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1025 # 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
|
1026 # 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
|
1027 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1028 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1029 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1030 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1031 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1032 --- /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
|
1033 +++ 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
|
1034 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1035 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1036 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1037 --===*=-- (glob) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1038 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
|
1039 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1040 MIME-Version: 1.0 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1041 Subject: [PATCH 3 of 3] long line |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1042 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
|
1043 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
|
1044 X-Mercurial-Series-Total: 3 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1045 Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1046 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
|
1047 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1048 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1049 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1050 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
|
1051 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1052 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1053 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1054 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1055 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1056 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1057 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1058 Content-Transfer-Encoding: quoted-printable |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1059 Content-Disposition: inline; filename=t2-3.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1060 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1061 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1062 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1063 # 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
|
1064 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1065 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1066 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1067 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1068 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1069 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1070 --- /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
|
1071 +++ 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
|
1072 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1073 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1074 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1075 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1076 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1087 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1088 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1089 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1090 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1091 --===*=-- (glob) |
8332
3e544c074459
patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents:
8160
diff
changeset
|
1092 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1093 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
|
1094 $ 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
|
1095 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1096 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1097 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1098 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1099 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1100 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1101 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1102 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
|
1103 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
|
1104 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1105 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
|
1106 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
|
1107 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1108 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
|
1109 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1110 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1111 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1112 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1113 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1114 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1115 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1116 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1117 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1118 Patch subject is complete summary. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1119 |
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 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1122 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1123 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1124 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1125 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1126 Content-Disposition: attachment; filename=t2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1127 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1128 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1129 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1130 # 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
|
1131 # 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
|
1132 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1133 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1134 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1135 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1136 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1137 --- /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
|
1138 +++ 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
|
1139 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1140 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1141 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1142 --===*=-- (glob) |
8332
3e544c074459
patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents:
8160
diff
changeset
|
1143 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1144 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
|
1145 $ 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
|
1146 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1147 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1148 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1149 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1150 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1151 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1152 Subject: [PATCH] test |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1153 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
|
1154 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
|
1155 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1156 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
|
1157 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
|
1158 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1159 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
|
1160 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1161 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1162 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1163 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1164 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1165 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1166 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1167 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1168 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1169 Patch subject is complete summary. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1170 |
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 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1173 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1174 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1175 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1176 Content-Transfer-Encoding: quoted-printable |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1177 Content-Disposition: attachment; filename=t2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1178 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1179 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1180 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1181 # 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
|
1182 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1183 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1184 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1185 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1186 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1187 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1188 --- /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
|
1189 +++ 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
|
1190 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1191 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1192 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1193 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1194 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1205 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1206 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1207 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1208 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1209 --===*=-- (glob) |
7193
12fc42c78598
mail: test patch mime encoding for patchbomb
Christian Ebert <blacktrash@gmx.net>
parents:
5753
diff
changeset
|
1210 |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1211 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
|
1212 $ 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
|
1213 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
|
1214 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1215 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1216 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1217 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
|
1218 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
|
1219 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
|
1220 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
|
1221 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
|
1222 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
|
1223 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
|
1224 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
|
1225 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
|
1226 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
|
1227 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
|
1228 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
|
1229 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
|
1230 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1231 --===*= (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
|
1232 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
|
1233 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
|
1234 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
|
1235 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1236 # 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
|
1237 # 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
|
1238 # 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
|
1239 # 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
|
1240 # 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
|
1241 # 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
|
1242 c |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1243 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1244 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
|
1245 --- /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
|
1246 +++ 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
|
1247 @@ -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
|
1248 +c |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1249 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1250 --===*= (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
|
1251 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
|
1252 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
|
1253 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
|
1254 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
|
1255 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1256 # 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
|
1257 # 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
|
1258 # 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
|
1259 # 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
|
1260 # 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
|
1261 # 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
|
1262 c |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1263 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1264 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
|
1265 --- /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
|
1266 +++ 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
|
1267 @@ -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
|
1268 +c |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1269 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1270 --===*=-- (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
|
1271 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1272 test attach for multiple patches: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1273 $ 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
|
1274 > -r 0:1 -r 4 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1275 this patch series consists of 3 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1276 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1277 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1278 Write the introductory message for the patch series. |
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 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1281 displaying [PATCH 0 of 3] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1282 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1283 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1284 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1285 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
|
1286 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1287 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1288 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
|
1289 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1290 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1291 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1292 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1293 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1294 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
|
1295 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1296 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1297 Subject: [PATCH 1 of 3] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1298 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
|
1299 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
|
1300 X-Mercurial-Series-Total: 3 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1301 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1302 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
|
1303 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1304 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1305 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1306 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
|
1307 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1308 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1309 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1310 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1311 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1312 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1313 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1314 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1315 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1316 Patch subject is complete summary. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1317 |
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 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1320 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1321 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1322 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1323 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1324 Content-Disposition: attachment; filename=t2-1.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1325 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1326 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1327 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1328 # 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
|
1329 # 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
|
1330 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1331 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1332 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1333 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1334 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1335 --- /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
|
1336 +++ 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
|
1337 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1338 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1339 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1340 --===*=-- (glob) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1341 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
|
1342 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1343 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1344 Subject: [PATCH 2 of 3] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1345 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
|
1346 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
|
1347 X-Mercurial-Series-Total: 3 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1348 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1349 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
|
1350 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1351 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1352 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1353 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
|
1354 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1355 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1356 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1357 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1358 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1359 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1360 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1361 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1362 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1363 Patch subject is complete summary. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1364 |
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 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1367 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1368 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1369 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1370 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1371 Content-Disposition: attachment; filename=t2-2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1372 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1373 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1374 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1375 # 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
|
1376 # 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
|
1377 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1378 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1379 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1380 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1381 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1382 --- /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
|
1383 +++ 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
|
1384 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1385 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1386 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1387 --===*=-- (glob) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1388 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
|
1389 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1390 MIME-Version: 1.0 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1391 Subject: [PATCH 3 of 3] long line |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1392 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
|
1393 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
|
1394 X-Mercurial-Series-Total: 3 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1395 Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1396 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
|
1397 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1398 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1399 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1400 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
|
1401 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1402 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1403 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1404 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1405 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1406 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1407 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1408 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1409 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1410 Patch subject is complete summary. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1411 |
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 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1414 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1415 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1416 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1417 Content-Transfer-Encoding: quoted-printable |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1418 Content-Disposition: attachment; filename=t2-3.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1419 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1420 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1421 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1422 # 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
|
1423 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1424 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1425 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1426 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1427 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1428 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1429 --- /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
|
1430 +++ 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
|
1431 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1432 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1433 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1434 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1435 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1446 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1447 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1448 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1449 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1450 --===*=-- (glob) |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
1451 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1452 test intro for single patch: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1453 $ 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
|
1454 > -r 2 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1455 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1456 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1457 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1458 Write the introductory message for the patch series. |
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 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1461 displaying [PATCH 0 of 1] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1462 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1463 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1464 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1465 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
|
1466 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1467 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1468 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
|
1469 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1470 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1471 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1472 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1473 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1474 displaying [PATCH 1 of 1] c ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1475 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1476 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1477 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1478 Subject: [PATCH 1 of 1] c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1479 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
|
1480 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
|
1481 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1482 Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1483 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
|
1484 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1485 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1486 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1487 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
|
1488 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1489 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1490 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1491 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1492 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1493 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1494 # 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
|
1495 # 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
|
1496 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1497 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1498 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1499 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1500 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1501 --- /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
|
1502 +++ 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
|
1503 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1504 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1505 |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
1506 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1507 test --desc without --intro for a single patch: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1508 $ echo foo > intro.text |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1509 $ 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
|
1510 > -s test -r 2 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1511 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1512 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1513 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1514 displaying [PATCH 0 of 1] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1515 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1516 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1517 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1518 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
|
1519 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1520 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1521 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
|
1522 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1523 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1524 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1525 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1526 foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1527 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1528 displaying [PATCH 1 of 1] c ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1529 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1530 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1531 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1532 Subject: [PATCH 1 of 1] c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1533 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
|
1534 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
|
1535 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1536 Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1537 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
|
1538 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1539 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1540 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1541 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
|
1542 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1543 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1544 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1545 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1546 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1547 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1548 # 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
|
1549 # 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
|
1550 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1551 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1552 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1553 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1554 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1555 --- /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
|
1556 +++ 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
|
1557 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1558 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1559 |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
1560 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1561 test intro for multiple patches: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1562 $ 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
|
1563 > -r 0:1 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1564 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1565 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1566 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1567 Write the introductory message for the patch series. |
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 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1570 displaying [PATCH 0 of 2] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1571 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1572 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1573 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1574 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
|
1575 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1576 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1577 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
|
1578 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1579 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1580 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1581 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1582 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1583 displaying [PATCH 1 of 2] a ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1584 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1585 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1586 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1587 Subject: [PATCH 1 of 2] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1588 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
|
1589 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
|
1590 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1591 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1592 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
|
1593 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1594 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1595 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1596 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
|
1597 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1598 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1599 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1600 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1601 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1602 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1603 # 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
|
1604 # 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
|
1605 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1606 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1607 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1608 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1609 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1610 --- /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
|
1611 +++ 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
|
1612 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1613 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1614 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1615 displaying [PATCH 2 of 2] b ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1616 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1617 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1618 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1619 Subject: [PATCH 2 of 2] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1620 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
|
1621 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
|
1622 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1623 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1624 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
|
1625 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1626 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1627 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1628 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
|
1629 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1630 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1631 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1632 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1633 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1634 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1635 # 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
|
1636 # 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
|
1637 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1638 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1639 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1640 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1641 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1642 --- /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
|
1643 +++ 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
|
1644 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1645 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1646 |
8332
3e544c074459
patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents:
8160
diff
changeset
|
1647 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1648 test reply-to via config: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1649 $ 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
|
1650 > --config patchbomb.reply-to='baz@example.com' |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1651 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1652 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1653 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1654 displaying [PATCH] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1655 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1656 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1657 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1658 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1659 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
|
1660 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
|
1661 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1662 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
|
1663 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
|
1664 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1665 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
|
1666 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1667 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1668 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1669 Reply-To: baz@example.com |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1670 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1671 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1672 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1673 # 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
|
1674 # 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
|
1675 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1676 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1677 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1678 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1679 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1680 --- /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
|
1681 +++ 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
|
1682 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1683 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1684 |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
1685 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1686 test reply-to via command line: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1687 $ 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
|
1688 > --reply-to baz --reply-to fred |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1689 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1690 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1691 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1692 displaying [PATCH] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1693 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1694 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1695 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1696 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1697 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
|
1698 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
|
1699 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1700 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
|
1701 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
|
1702 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1703 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
|
1704 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1705 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1706 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1707 Reply-To: baz, fred |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1708 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1709 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1710 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1711 # 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
|
1712 # 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
|
1713 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1714 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1715 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1716 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1717 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1718 --- /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
|
1719 +++ 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
|
1720 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1721 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1722 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1723 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1724 tagging csets: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1725 $ hg tag -r0 zero zero.foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1726 $ hg tag -r1 one one.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1727 $ hg tag -r2 two two.diff |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1728 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1729 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
|
1730 $ 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
|
1731 > -r 2 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1732 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1733 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1734 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1735 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1736 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1737 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1738 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1739 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
|
1740 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
|
1741 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1742 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
|
1743 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
|
1744 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1745 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
|
1746 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1747 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1748 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1749 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1750 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1751 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1752 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1753 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1754 Content-Disposition: inline; filename=two.diff |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1755 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1756 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1757 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1758 # 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
|
1759 # 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
|
1760 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1761 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1762 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1763 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1764 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1765 --- /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
|
1766 +++ 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
|
1767 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1768 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1769 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1770 --===*=-- (glob) |
7360
42f1b8cb9a60
patchbomb: add option to send intro email for a single patch (issue1120)
Chris Winter <elwintro@gmail.com>
parents:
7358
diff
changeset
|
1771 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1772 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
|
1773 $ 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
|
1774 > -r 0:1 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1775 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1776 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1777 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1778 Write the introductory message for the patch series. |
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 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1781 displaying [PATCH 0 of 2] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1782 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1783 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1784 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1785 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
|
1786 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1787 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1788 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
|
1789 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1790 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1791 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1792 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1793 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1794 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
|
1795 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1796 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1797 Subject: [PATCH 1 of 2] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1798 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
|
1799 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
|
1800 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1801 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1802 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
|
1803 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1804 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1805 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1806 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
|
1807 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1808 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1809 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1810 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1811 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1812 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1813 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1814 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1815 Content-Disposition: inline; filename=t2-1.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1816 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1817 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1818 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1819 # 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
|
1820 # 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
|
1821 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1822 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1823 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1824 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1825 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1826 --- /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
|
1827 +++ 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
|
1828 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1829 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1830 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1831 --===*=-- (glob) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1832 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
|
1833 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1834 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1835 Subject: [PATCH 2 of 2] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1836 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
|
1837 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
|
1838 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1839 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1840 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
|
1841 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1842 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1843 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1844 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
|
1845 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1846 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1847 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1848 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1849 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1850 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1851 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1852 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1853 Content-Disposition: inline; filename=one.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1854 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1855 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1856 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1857 # 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
|
1858 # 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
|
1859 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1860 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1861 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1862 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1863 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1864 --- /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
|
1865 +++ 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
|
1866 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1867 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1868 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1869 --===*=-- (glob) |
10734
7a0502a6f9a1
patchbomb: --desc implies --intro
Cédric Duval <cedricduval@free.fr>
parents:
10257
diff
changeset
|
1870 |
11150
f66ca4431eb9
patchbomb: Reply-To support
Cédric Duval <cedricduval@free.fr>
parents:
10734
diff
changeset
|
1871 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1872 test inreplyto: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1873 $ 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
|
1874 > -r tip |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1875 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1876 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1877 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1878 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
|
1879 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1880 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1881 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1882 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
|
1883 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
|
1884 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
|
1885 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1886 Message-Id: <7aead2484924c445ad8c.60@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1887 X-Mercurial-Series-Id: <7aead2484924c445ad8c.60@*> (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1888 In-Reply-To: <baz> |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1889 References: <baz> |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1890 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1891 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
|
1892 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1893 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1894 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1895 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1896 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1897 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1898 # 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
|
1899 # Thu Jan 01 00:00:00 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1900 # Node ID 7aead2484924c445ad8ce2613df91f52f9e502ed |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1901 # Parent 045ca29b1ea20e4940411e695e20e521f2f0f98e |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1902 Added tag two, two.diff for changeset ff2c9fa2018b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1903 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1904 diff -r 045ca29b1ea2 -r 7aead2484924 .hgtags |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1905 --- 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
|
1906 +++ 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
|
1907 @@ -2,3 +2,5 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1908 8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1909 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1910 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1911 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1912 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two.diff |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1913 |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1914 no intro message in non-interactive mode |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1915 $ 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
|
1916 > -r 0:1 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1917 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1918 |
16233
3f79b110c4f0
patchbomb: add (optional) note to 0 of 0 prompt
Matt Mackall <mpm@selenic.com>
parents:
15623
diff
changeset
|
1919 (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
|
1920 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1921 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
|
1922 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
|
1923 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
|
1924 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
|
1925 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
|
1926 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
|
1927 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
|
1928 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1929 Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1930 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
|
1931 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
|
1932 References: <baz> |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1933 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
|
1934 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
|
1935 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
|
1936 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
|
1937 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
|
1938 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1939 # 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
|
1940 # 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
|
1941 # 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
|
1942 # 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
|
1943 # 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
|
1944 # 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
|
1945 a |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1946 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1947 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
|
1948 --- /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
|
1949 +++ 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
|
1950 @@ -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
|
1951 +a |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1952 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1953 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
|
1954 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
|
1955 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
|
1956 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
|
1957 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
|
1958 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
|
1959 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
|
1960 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1961 Message-Id: <97d72e5f12c7e84f8506.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1962 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
|
1963 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
|
1964 References: <baz> |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1965 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
|
1966 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
|
1967 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
|
1968 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
|
1969 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
|
1970 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1971 # 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
|
1972 # 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
|
1973 # 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
|
1974 # 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
|
1975 # 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
|
1976 # 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
|
1977 b |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1978 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1979 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
|
1980 --- /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
|
1981 +++ 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
|
1982 @@ -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
|
1983 +b |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1984 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1985 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1986 |
11150
f66ca4431eb9
patchbomb: Reply-To support
Cédric Duval <cedricduval@free.fr>
parents:
10734
diff
changeset
|
1987 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1988 $ 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
|
1989 > -s test -r 0:1 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1990 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1991 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1992 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1993 Write the introductory message for the patch series. |
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 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1996 displaying [PATCH 0 of 2] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1997 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1998 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1999 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2000 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
|
2001 Message-Id: <patchbomb.60@*> (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2002 In-Reply-To: <baz> |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2003 References: <baz> |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2004 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2005 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
|
2006 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2007 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2008 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2009 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2010 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2011 displaying [PATCH 1 of 2] a ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2012 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2013 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2014 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2015 Subject: [PATCH 1 of 2] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2016 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
|
2017 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
|
2018 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2019 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2020 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
|
2021 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2022 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2023 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2024 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
|
2025 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2026 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2027 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2028 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2029 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2030 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2031 # 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
|
2032 # 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
|
2033 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2034 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2035 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2036 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2037 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2038 --- /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
|
2039 +++ 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
|
2040 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2041 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2042 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2043 displaying [PATCH 2 of 2] b ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2044 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2045 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2046 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2047 Subject: [PATCH 2 of 2] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2048 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
|
2049 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
|
2050 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2051 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2052 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
|
2053 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2054 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2055 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2056 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
|
2057 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2058 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2059 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2060 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2061 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2062 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2063 # 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
|
2064 # 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
|
2065 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2066 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2067 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2068 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2069 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2070 --- /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
|
2071 +++ 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
|
2072 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2073 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2074 |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
2075 |
21055
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2076 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
|
2077 $ hg up -qr1 |
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2078 $ echo dirt > a |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2079 $ 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
|
2080 > -r 2 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2081 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2082 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2083 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2084 displaying [PATCH fooFlag] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2085 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2086 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2087 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2088 Subject: [PATCH fooFlag] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2089 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
|
2090 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
|
2091 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2092 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
|
2093 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
|
2094 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2095 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
|
2096 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2097 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2098 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2099 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2100 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2101 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2102 # 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
|
2103 # 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
|
2104 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2105 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2106 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2107 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2108 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2109 --- /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
|
2110 +++ 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
|
2111 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2112 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2113 |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
2114 |
21055
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2115 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
|
2116 $ 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
|
2117 > -r 0:1 |
21055
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2118 warning: working directory has uncommitted changes |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2119 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2120 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2121 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2122 Write the introductory message for the patch series. |
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 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2125 displaying [PATCH 0 of 2 fooFlag] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2126 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2127 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2128 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2129 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
|
2130 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2131 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2132 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
|
2133 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2134 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2135 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2136 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2137 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2138 displaying [PATCH 1 of 2 fooFlag] a ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2139 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2140 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2141 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2142 Subject: [PATCH 1 of 2 fooFlag] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2143 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
|
2144 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
|
2145 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2146 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2147 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
|
2148 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2149 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2150 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2151 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
|
2152 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2153 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2154 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2155 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2156 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2157 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2158 # 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
|
2159 # 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
|
2160 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2161 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2162 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2163 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2164 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2165 --- /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
|
2166 +++ 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
|
2167 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2168 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2169 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2170 displaying [PATCH 2 of 2 fooFlag] b ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2171 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2172 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2173 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2174 Subject: [PATCH 2 of 2 fooFlag] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2175 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
|
2176 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
|
2177 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2178 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2179 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
|
2180 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2181 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2182 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2183 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
|
2184 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2185 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2186 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2187 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2188 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2189 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2190 # 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
|
2191 # 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
|
2192 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2193 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2194 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2195 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2196 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2197 --- /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
|
2198 +++ 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
|
2199 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2200 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2201 |
21055
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2202 $ hg revert --no-b a |
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2203 $ hg up -q |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
2204 |
17502 | 2205 test multiple flags for single patch: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2206 $ 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
|
2207 > -c bar -s test -r 2 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2208 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2209 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2210 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2211 displaying [PATCH fooFlag barFlag] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2212 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2213 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2214 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2215 Subject: [PATCH fooFlag barFlag] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2216 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
|
2217 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
|
2218 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2219 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
|
2220 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
|
2221 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2222 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
|
2223 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2224 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2225 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2226 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2227 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2228 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2229 # 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
|
2230 # 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
|
2231 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2232 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2233 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2234 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2235 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2236 --- /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
|
2237 +++ 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
|
2238 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2239 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2240 |
9346
bb3f8f692bc6
patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
8514
diff
changeset
|
2241 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2242 test multiple flags for multiple patches: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2243 $ 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
|
2244 > -c bar -s test -r 0:1 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2245 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2246 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2247 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2248 Write the introductory message for the patch series. |
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 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2251 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
|
2252 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2253 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2254 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2255 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
|
2256 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2257 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2258 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
|
2259 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2260 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2261 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2262 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2263 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2264 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
|
2265 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2266 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2267 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2268 Subject: [PATCH 1 of 2 fooFlag barFlag] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2269 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
|
2270 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
|
2271 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2272 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2273 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
|
2274 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2275 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2276 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2277 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
|
2278 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2279 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2280 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2281 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2282 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2283 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2284 # 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
|
2285 # 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
|
2286 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2287 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2288 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2289 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2290 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2291 --- /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
|
2292 +++ 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
|
2293 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2294 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2295 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2296 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
|
2297 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2298 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2299 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2300 Subject: [PATCH 2 of 2 fooFlag barFlag] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2301 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
|
2302 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
|
2303 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2304 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2305 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
|
2306 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2307 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2308 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2309 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
|
2310 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2311 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2312 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2313 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2314 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2315 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2316 # 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
|
2317 # 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
|
2318 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2319 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2320 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2321 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2322 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2323 --- /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
|
2324 +++ 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
|
2325 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2326 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2327 |
9346
bb3f8f692bc6
patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
8514
diff
changeset
|
2328 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2329 test multi-address parsing: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2330 $ 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
|
2331 > -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
|
2332 > --config email.bcc='"Quux, A." <quux>' |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2333 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2334 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2335 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2336 sending [PATCH] test ... |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2337 $ cat < tmp.mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
2338 From quux ... ... .. ..:..:.. .... (re) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2339 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2340 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2341 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2342 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2343 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
|
2344 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
|
2345 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2346 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
|
2347 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
|
2348 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2349 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
|
2350 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2351 To: spam <spam>, eggs, toast |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2352 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
|
2353 Bcc: "Quux, A." <quux> |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2354 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2355 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2356 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2357 # 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
|
2358 # 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
|
2359 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2360 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2361 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2362 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2363 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2364 --- /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
|
2365 +++ 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
|
2366 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2367 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2368 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2369 |
9346
bb3f8f692bc6
patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
8514
diff
changeset
|
2370 |
31187
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2371 test flag template: |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2372 $ echo foo > intro.text |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2373 $ 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
|
2374 > --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
|
2375 > --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
|
2376 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
|
2377 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2378 Cc: |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2379 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2380 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
|
2381 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
|
2382 MIME-Version: 1.0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2383 Content-Transfer-Encoding: 7bit |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2384 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
|
2385 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
|
2386 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
|
2387 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
|
2388 From: quux |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2389 To: foo |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2390 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2391 foo |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2392 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2393 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
|
2394 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
|
2395 MIME-Version: 1.0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2396 Content-Transfer-Encoding: 7bit |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2397 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
|
2398 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2399 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
|
2400 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
|
2401 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
|
2402 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
|
2403 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
|
2404 References: <patchbomb.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2405 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
|
2406 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
|
2407 From: quux |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2408 To: foo |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2409 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2410 # HG changeset patch |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2411 # User test |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2412 # Date 1 0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2413 # 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
|
2414 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2415 # Parent 0000000000000000000000000000000000000000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2416 a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2417 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2418 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
|
2419 --- /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
|
2420 +++ 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
|
2421 @@ -0,0 +1,1 @@ |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2422 +a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2423 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2424 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
|
2425 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
|
2426 MIME-Version: 1.0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2427 Content-Transfer-Encoding: 7bit |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2428 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
|
2429 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2430 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
|
2431 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
|
2432 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
|
2433 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
|
2434 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
|
2435 References: <patchbomb.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2436 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
|
2437 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
|
2438 From: quux |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2439 To: foo |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2440 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2441 # HG changeset patch |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2442 # User test |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2443 # Date 2 0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2444 # 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
|
2445 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2446 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2447 b |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2448 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2449 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
|
2450 --- /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
|
2451 +++ 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
|
2452 @@ -0,0 +1,1 @@ |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2453 +b |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2454 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2455 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2456 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
|
2457 $ 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
|
2458 > --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
|
2459 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
|
2460 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2461 Cc: |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2462 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2463 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
|
2464 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
|
2465 MIME-Version: 1.0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2466 Content-Transfer-Encoding: 7bit |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2467 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
|
2468 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2469 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
|
2470 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
|
2471 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
|
2472 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
|
2473 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
|
2474 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
|
2475 From: quux |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2476 To: foo |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2477 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2478 # HG changeset patch |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2479 # User test |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2480 # Date 1 0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2481 # 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
|
2482 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2483 # Parent 0000000000000000000000000000000000000000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2484 a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2485 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2486 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
|
2487 --- /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
|
2488 +++ 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
|
2489 @@ -0,0 +1,1 @@ |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2490 +a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2491 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2492 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2493 test multi-byte domain parsing: |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
2494 $ 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
|
2495 $ HGENCODING=iso-8859-1 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2496 $ export HGENCODING |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2497 $ 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
|
2498 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2499 |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2500 Cc: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2501 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2502 sending [PATCH] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2503 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2504 $ cat tmp.mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
2505 From quux ... ... .. ..:..:.. .... (re) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2506 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2507 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2508 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2509 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2510 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
|
2511 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
|
2512 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2513 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
|
2514 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
|
2515 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2516 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
|
2517 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2518 To: bar@xn--nicode-2ya.com |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2519 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2520 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2521 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2522 # 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
|
2523 # 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
|
2524 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2525 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2526 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2527 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2528 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2529 --- /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
|
2530 +++ 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
|
2531 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2532 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2533 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2534 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2535 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2536 test outgoing: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2537 $ hg up 1 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2538 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
|
2539 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2540 $ hg branch test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2541 marked working directory as branch test |
15615 | 2542 (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
|
2543 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2544 $ echo d > d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2545 $ hg add d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2546 $ hg ci -md -d '4 0' |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2547 $ echo d >> d |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2548 $ hg ci -mdd -d '5 0' |
20117
aa9385f983fa
tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents:
18648
diff
changeset
|
2549 $ 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
|
2550 @ 10:3b6f1ec9dde9 dd |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2551 | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2552 o 9:2f9fa9b998c5 d |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2553 | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2554 | 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
|
2555 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2556 | 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
|
2557 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2558 | 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
|
2559 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2560 | o 5:240fb913fc1b isolatin 8-bit encoding |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2561 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2562 | o 4:a2ea8fc83dd8 long line |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2563 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2564 | o 3:909a00e13e9d utf-8 content |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2565 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2566 | o 2:ff2c9fa2018b c |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2567 |/ |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2568 o 1:97d72e5f12c7 b |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2569 | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2570 o 0:8580ff50825a a |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2571 |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2572 $ hg phase --force --secret -r 10 |
17177
ef507130fc92
patchbomb: support --outgoing and revsets
Patrick Mezard <patrick@mezard.eu>
parents:
17176
diff
changeset
|
2573 $ 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
|
2574 comparing with ../t |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2575 From [test]: test |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2576 this patch series consists of 6 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2577 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2578 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2579 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2580 |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2581 Cc: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2582 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2583 displaying [PATCH 0 of 6] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2584 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2585 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2586 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2587 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
|
2588 Message-Id: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2589 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2590 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
|
2591 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2592 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2593 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2594 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2595 displaying [PATCH 1 of 6] c ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2596 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2597 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2598 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2599 Subject: [PATCH 1 of 6] c |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2600 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
|
2601 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
|
2602 X-Mercurial-Series-Total: 6 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2603 Message-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2604 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
|
2605 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2606 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2607 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2608 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
|
2609 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2610 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2611 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2612 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2613 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2614 # 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
|
2615 # 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
|
2616 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2617 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2618 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2619 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2620 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2621 --- /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
|
2622 +++ 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
|
2623 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2624 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2625 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2626 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
|
2627 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2628 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2629 Content-Transfer-Encoding: 8bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2630 Subject: [PATCH 2 of 6] utf-8 content |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2631 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
|
2632 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
|
2633 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2634 Message-Id: <909a00e13e9d78b575ae.315532862@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2635 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
|
2636 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2637 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2638 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2639 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
|
2640 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2641 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2642 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2643 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2644 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2645 # 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
|
2646 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2647 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2648 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2649 utf-8 content |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2650 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2651 diff -r ff2c9fa2018b -r 909a00e13e9d description |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2652 --- /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
|
2653 +++ 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
|
2654 @@ -0,0 +1,3 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2655 +a multiline |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2656 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2657 +description |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2658 diff -r ff2c9fa2018b -r 909a00e13e9d utf |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2659 --- /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
|
2660 +++ 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
|
2661 @@ -0,0 +1,1 @@ |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12941
diff
changeset
|
2662 +h\xc3\xb6mma! (esc) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2663 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2664 displaying [PATCH 3 of 6] long line ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2665 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2666 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2667 Content-Transfer-Encoding: quoted-printable |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2668 Subject: [PATCH 3 of 6] long line |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2669 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
|
2670 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
|
2671 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2672 Message-Id: <a2ea8fc83dd8b93cfd86.315532863@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2673 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
|
2674 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2675 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2676 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2677 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
|
2678 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2679 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2680 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2681 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2682 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2683 # 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
|
2684 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2685 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2686 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2687 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2688 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2689 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2690 --- /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
|
2691 +++ 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
|
2692 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2693 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2694 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2695 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2696 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2707 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2708 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2709 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2710 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2711 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
|
2712 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2713 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2714 Content-Transfer-Encoding: 8bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2715 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
|
2716 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
|
2717 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
|
2718 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2719 Message-Id: <240fb913fc1b7ff15ddb.315532864@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2720 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
|
2721 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2722 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2723 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2724 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
|
2725 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2726 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2727 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2728 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2729 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2730 # 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
|
2731 # Thu Jan 01 00:00:05 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2732 # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2733 # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2734 isolatin 8-bit encoding |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2735 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2736 diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2737 --- /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
|
2738 +++ 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
|
2739 @@ -0,0 +1,1 @@ |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12941
diff
changeset
|
2740 +h\xf6mma! (esc) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2741 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2742 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
|
2743 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2744 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2745 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2746 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
|
2747 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
|
2748 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
|
2749 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2750 Message-Id: <5d5ef15dfe5e7bd3a4ee.315532865@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2751 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
|
2752 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2753 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2754 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2755 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
|
2756 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2757 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2758 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2759 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2760 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2761 # 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
|
2762 # Thu Jan 01 00:00:00 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2763 # Node ID 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2764 # Parent 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2765 Added tag zero, zero.foo for changeset 8580ff50825a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2766 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2767 diff -r 240fb913fc1b -r 5d5ef15dfe5e .hgtags |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2768 --- /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
|
2769 +++ 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
|
2770 @@ -0,0 +1,2 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2771 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2772 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2773 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2774 displaying [PATCH 6 of 6] d ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2775 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2776 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2777 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2778 Subject: [PATCH 6 of 6] d |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2779 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
|
2780 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
|
2781 X-Mercurial-Series-Total: 6 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2782 Message-Id: <2f9fa9b998c5fe3ac2bd.315532866@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2783 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
|
2784 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2785 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2786 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2787 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
|
2788 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2789 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2790 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2791 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2792 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2793 # 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
|
2794 # 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
|
2795 # Branch test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2796 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2797 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2798 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2799 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2800 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2801 --- /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
|
2802 +++ 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
|
2803 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2804 +d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2805 |
9947
4600e6222efb
patchbomb: fix parsing of multiple addresses, allow multiple addrs in --to/cc/bcc
Marti Raudsepp <marti@juffo.org>
parents:
9913
diff
changeset
|
2806 |
27697
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2807 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
|
2808 |
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2809 $ echo "[email]" >> $HGRCPATH |
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2810 $ echo "cc=" >> $HGRCPATH |
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2811 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2812 dest#branch URIs: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2813 $ 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
|
2814 comparing with ../t |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2815 From [test]: test |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2816 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2817 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2818 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2819 displaying [PATCH] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2820 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2821 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2822 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2823 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2824 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
|
2825 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
|
2826 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2827 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
|
2828 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
|
2829 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2830 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
|
2831 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2832 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2833 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2834 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2835 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2836 # 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
|
2837 # 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
|
2838 # Branch test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2839 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2840 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2841 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2842 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2843 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2844 --- /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
|
2845 +++ 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
|
2846 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2847 +d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2848 |
31860
56f58027a513
test-patchbomb: disable sendmail tests on Windows
Matt Harbison <matt_harbison@yahoo.com>
parents:
31489
diff
changeset
|
2849 #if no-windows |
16913
f2719b387380
tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents:
16901
diff
changeset
|
2850 |
27658
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2851 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
|
2852 |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2853 $ cat > pretendmail.sh << 'EOF' |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2854 > #!/bin/sh |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2855 > echo "$@" |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2856 > cat |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2857 > EOF |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2858 $ chmod +x pretendmail.sh |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2859 |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2860 $ echo '[email]' >> $HGRCPATH |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2861 $ 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
|
2862 |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2863 Test introduction configuration |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2864 ================================= |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2865 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2866 $ echo '[patchbomb]' >> $HGRCPATH |
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 "auto" setting |
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 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2871 $ echo 'intro=auto' >> $HGRCPATH |
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 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2874 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2875 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "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
|
2876 [1] |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2877 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2878 single rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2879 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2880 $ 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
|
2881 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
|
2882 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2883 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2884 Multi rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2885 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2886 $ 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
|
2887 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
|
2888 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2889 "never" setting |
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 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2892 $ echo 'intro=never' >> $HGRCPATH |
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 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2895 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2896 $ 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
|
2897 [1] |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2898 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2899 single rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2900 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2901 $ 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
|
2902 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
|
2903 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2904 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2905 Multi rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2906 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2907 $ 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
|
2908 [1] |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2909 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2910 Multi rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2911 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2912 $ 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
|
2913 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
|
2914 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2915 "always" setting |
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 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2918 $ echo 'intro=always' >> $HGRCPATH |
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 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2921 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2922 $ 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
|
2923 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
|
2924 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2925 single rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2926 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2927 $ 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
|
2928 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
|
2929 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2930 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2931 Multi rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2932 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2933 $ 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
|
2934 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
|
2935 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2936 Multi rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2937 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2938 $ 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
|
2939 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
|
2940 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2941 bad value setting |
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 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2944 $ echo 'intro=mpmwearaclownnose' >> $HGRCPATH |
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 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2947 |
27658
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2948 $ 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
|
2949 From [test]: test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2950 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
|
2951 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2952 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
|
2953 (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
|
2954 -f test foo |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2955 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
|
2956 MIME-Version: 1.0 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2957 Content-Transfer-Encoding: 7bit |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2958 Subject: [PATCH] test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2959 X-Mercurial-Node: 3b6f1ec9dde933a40a115a7990f8b320477231af |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2960 X-Mercurial-Series-Index: 1 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2961 X-Mercurial-Series-Total: 1 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2962 Message-Id: <3b6f1ec9dde933a40a11*> (glob) |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2963 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
|
2964 User-Agent: Mercurial-patchbomb/* (glob) |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2965 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
|
2966 From: test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2967 To: foo |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2968 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2969 # HG changeset patch |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2970 # User test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2971 # Date 5 0 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2972 # 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
|
2973 # Branch test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2974 # Node ID 3b6f1ec9dde933a40a115a7990f8b320477231af |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2975 # Parent 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2976 dd |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2977 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2978 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
|
2979 --- 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
|
2980 +++ 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
|
2981 @@ -1,1 +1,2 @@ |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2982 d |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2983 +d |
27658
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2984 |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2985 sending [PATCH] test ... |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2986 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
|
2987 |
26546
500386e65759
patchbomb: add experimental config of a "pullurl" and export it
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25482
diff
changeset
|
2988 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
|
2989 ================================= |
500386e65759
patchbomb: add experimental config of a "pullurl" and export it
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25482
diff
changeset
|
2990 |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2991 basic version |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2992 |
26546
500386e65759
patchbomb: add experimental config of a "pullurl" and export it
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25482
diff
changeset
|
2993 $ 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
|
2994 $ 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
|
2995 $ 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
|
2996 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
|
2997 (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
|
2998 [1] |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
2999 |
28906
ac1bb8ca6d39
tests: clarify patchbomb repo is public not remote
timeless <timeless@mozdev.org>
parents:
28051
diff
changeset
|
3000 public missing |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3001 |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3002 $ 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
|
3003 $ 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
|
3004 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
|
3005 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
|
3006 [255] |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3007 |
28906
ac1bb8ca6d39
tests: clarify patchbomb repo is public not remote
timeless <timeless@mozdev.org>
parents:
28051
diff
changeset
|
3008 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
|
3009 |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3010 $ 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
|
3011 adding changesets |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3012 adding manifests |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3013 adding file changes |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3014 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
|
3015 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
|
3016 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
|
3017 $ 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
|
3018 $ 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
|
3019 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
|
3020 (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
|
3021 [255] |
28907
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
3022 |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
3023 multiple heads are missing at public |
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 $ 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
|
3026 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
|
3027 (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
|
3028 [255] |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
3029 |
31860
56f58027a513
test-patchbomb: disable sendmail tests on Windows
Matt Harbison <matt_harbison@yahoo.com>
parents:
31489
diff
changeset
|
3030 #endif |