annotate tests/test-patchbomb.t @ 17474:f85816af6294

obsolete: add a high level function to create an obsolete marker This function is designed to be used by all code that creates new obsolete markers in the local repository. It is not used by debugobsolete because debugobsolete allows the use of an unknown hash as argument.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Fri, 24 Aug 2012 21:16:23 +0200
parents ef507130fc92
children 6fcdcdd32a6a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1 $ echo "[extensions]" >> $HGRCPATH
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2 $ echo "patchbomb=" >> $HGRCPATH
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
3
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
4 $ hg init t
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
5 $ cd t
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
6 $ echo a > a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
7 $ hg commit -Ama -d '1 0'
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
8 adding a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
10 $ 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
11 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
12
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
13
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
14 displaying [PATCH] a ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
15 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
16 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
17 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
18 Subject: [PATCH] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
19 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
20 Message-Id: <8580ff50825a50c8f716.60@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
21 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
22 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
23 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
24 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
25 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
26
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
27 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
28 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
29 # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
30 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
31 # Parent 0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
32 a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
33
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
34 diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
35 --- /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
36 +++ 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
37 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
38 +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
39
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
40
12201
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
41 $ 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
42 > n
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
43 > EOF
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
44 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
45
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
46
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
47 Final summary:
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
48
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
49 From: quux
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
50 To: foo
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
51 Cc: bar
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
52 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
53 a | 1 +
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
54 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
55
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
56 are you sure you want to send (yn)? abort: patchbomb canceled
12316
4134686b83e1 tests: add exit codes to unified tests
Matt Mackall <mpm@selenic.com>
parents: 12201
diff changeset
57 [255]
12201
5bfa45651cf6 patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents: 12200
diff changeset
58
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
59 $ echo b > b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
60 $ hg commit -Amb -d '2 0'
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
61 adding b
4420
b0656b33cc02 add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
62
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
63 $ 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
64 this patch series consists of 2 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
65
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
66
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
67 Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
68
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
69
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
70 displaying [PATCH 0 of 2] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
71 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
72 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
73 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
74 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
75 Message-Id: <patchbomb.120@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
76 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
77 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
78 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
79 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
80 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
81
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
82
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
83 displaying [PATCH 1 of 2] a ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
84 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
85 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
86 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
87 Subject: [PATCH 1 of 2] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
88 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
89 Message-Id: <8580ff50825a50c8f716.121@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
90 In-Reply-To: <patchbomb.120@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
91 References: <patchbomb.120@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
92 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
93 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
94 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
95 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
96 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
97
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
98 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
99 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
100 # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
101 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
102 # Parent 0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
103 a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
104
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
105 diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
106 --- /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
107 +++ 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
108 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
109 +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
110
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
111 displaying [PATCH 2 of 2] b ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
112 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
113 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
114 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
115 Subject: [PATCH 2 of 2] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
116 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
117 Message-Id: <97d72e5f12c7e84f8506.122@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
118 In-Reply-To: <patchbomb.120@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
119 References: <patchbomb.120@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
120 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
121 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
122 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
123 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
124 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
125
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
126 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
127 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
128 # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
129 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
130 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
131 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
132
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
133 diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
134 --- /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
135 +++ 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
136 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
137 +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
138
5753
ea1016b32e94 patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents: 4597
diff changeset
139
13198
e71b2aa74ce3 patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 12942
diff changeset
140 .hg/last-email.txt
e71b2aa74ce3 patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 12942
diff changeset
141
16901
5b89700cce30 tests: consistently use a HGEDITOR pattern that works with msys on windows
Mads Kiilerich <mads@kiilerich.com>
parents: 16351
diff changeset
142 $ 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
143 > 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
144 > __EOF__
16901
5b89700cce30 tests: consistently use a HGEDITOR pattern that works with msys on windows
Mads Kiilerich <mads@kiilerich.com>
parents: 16351
diff changeset
145 $ 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
146 $ 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
147 a precious introductory message
e71b2aa74ce3 patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 12942
diff changeset
148
12845
685d884fd2b6 test-patchbomb: add test for progress support (1ed2dc9d4368)
Yuya Nishihara <yuya@tcha.org>
parents: 12376
diff changeset
149 $ 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
150 > --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
151 > --config progress.delay=0 --config progress.refresh=0 \
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
152 > --config progress.width=60 2>&1 | \
16350
4f795f5fbb0b tests: make tests work if directory contains special characters
Thomas Arendsen Hein <thomas@intevation.de>
parents: 15623
diff changeset
153 > python "$TESTDIR/filtercr.py"
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
154 this patch series consists of 2 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
155
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
156
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
157 Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
158
14101
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
159
15559
1830d0cc4bc1 patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents: 15547
diff changeset
160 sending [ ] 0/3
1830d0cc4bc1 patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents: 15547
diff changeset
161 sending [ ] 0/3
14101
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
162
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
163
15559
1830d0cc4bc1 patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents: 15547
diff changeset
164 sending [==============> ] 1/3
1830d0cc4bc1 patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents: 15547
diff changeset
165 sending [==============> ] 1/3
14101
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
166
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
167
15559
1830d0cc4bc1 patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents: 15547
diff changeset
168 sending [=============================> ] 2/3
1830d0cc4bc1 patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents: 15547
diff changeset
169 sending [=============================> ] 2/3
14101
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
170 \r (esc)
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
171 sending [PATCH 0 of 2] test ...
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
172 sending [PATCH 1 of 2] a ...
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
173 sending [PATCH 2 of 2] b ...
14101
0c5228836fcd test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents: 13439
diff changeset
174
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
175
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
176 $ cd ..
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
177
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
178 $ hg clone -q t t2
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
179 $ cd t2
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
180 $ echo c > c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
181 $ hg commit -Amc -d '3 0'
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
182 adding c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
183
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
184 $ cat > description <<EOF
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
185 > a multiline
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
186 >
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
187 > description
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
188 > EOF
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
189
4420
b0656b33cc02 add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
190
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
191 test bundle and description:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
192 $ hg email --date '1970-1-1 0:3' -n -f quux -t foo \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
193 > -c bar -s test -r tip -b --desc description
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
194 searching for changes
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
195 1 changesets found
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
196
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
197 displaying test ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
198 Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
199 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
200 Subject: test
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
201 Message-Id: <patchbomb.180@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
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:03: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
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
208 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
209 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
210 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
211 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
212
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
213 a multiline
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
214
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
215 description
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
216
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
217 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
218 Content-Type: application/x-mercurial-bundle
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
219 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
220 Content-Disposition: attachment; filename="bundle.hg"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
221 Content-Transfer-Encoding: base64
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
222
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
223 SEcxMEJaaDkxQVkmU1nvR7I3AAAN////lFYQWj1/4HwRkdC/AywIAk0E4pfoSIIIgQCgGEQOcLAA
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
224 2tA1VPyp4mkeoG0EaaPU0GTT1GjRiNPIg9CZGBqZ6UbU9J+KFU09DNUaGgAAAAAANAGgAAAAA1U8
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
225 oGgAADQGgAANNANAAAAAAZipFLz3XoakCEQB3PVPyHJVi1iYkAAKQAZQGpQGZESInRnCFMqLDla2
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
226 Bx3qfRQeA2N4lnzKkAmP8kR2asievLLXXebVU8Vg4iEBqcJNJAxIapSU6SM4888ZAciRG6MYAIEE
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
227 SlIBpFisgGkyRjX//TMtfcUAEsGu56+YnE1OlTZmzKm8BSu2rvo4rHAYYaadIFFuTy0LYgIkgLVD
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
228 sgVa2F19D1tx9+hgbAygLgQwaIqcDdgA4BjQgIiz/AEP72++llgDKhKducqodGE4B0ETqF3JFOFC
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
229 Q70eyNw=
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
230 --===*-- (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
231
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
232 utf-8 patch:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
233 $ 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
234 $ 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
235 adding description
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
236 adding utf
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
237
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
238 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
239 $ 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
240 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
241
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
242
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
243 displaying [PATCH] utf-8 content ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
244 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
245 MIME-Version: 1.0
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
246 Content-Transfer-Encoding: 8bit
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
247 Subject: [PATCH] utf-8 content
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
248 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
249 Message-Id: <909a00e13e9d78b575ae.240@*> (glob)
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
250 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
251 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
252 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
253 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
254 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
255
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
256 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
257 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
258 # Date 4 0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
259 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
260 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
261 utf-8 content
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
262
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
263 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
264 --- /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
265 +++ 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
266 @@ -0,0 +1,3 @@
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
267 +a multiline
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
268 +
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
269 +description
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
270 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
271 --- /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
272 +++ 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
273 @@ -0,0 +1,1 @@
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
274 +h\xc3\xb6mma! (esc)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
275
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
276
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
277 mime encoded mbox (base64):
15559
1830d0cc4bc1 patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents: 15547
diff changeset
278 $ 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
279 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
280
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
281
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
282 sending [PATCH] utf-8 content ...
4420
b0656b33cc02 add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
283
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
284 $ cat mbox
15559
1830d0cc4bc1 patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents: 15547
diff changeset
285 From quux ... ... .. ..:..:.. .... (re)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
286 Content-Type: text/plain; charset="utf-8"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
287 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
288 Content-Transfer-Encoding: base64
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
289 Subject: [PATCH] utf-8 content
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
290 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
291 Message-Id: <909a00e13e9d78b575ae.240@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
292 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
293 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
294 From: Q <quux>
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
295 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
296 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
297
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
298 IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojIE5vZGUgSUQgOTA5
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
299 YTAwZTEzZTlkNzhiNTc1YWVlZTIzZGRkYmFkYTQ2ZDVhMTQzZgojIFBhcmVudCAgZmYyYzlmYTIw
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
300 MThiMTVmYTc0YjMzMzYzYmRhOTUyNzMyM2UyYTk5Zgp1dGYtOCBjb250ZW50CgpkaWZmIC1yIGZm
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
301 MmM5ZmEyMDE4YiAtciA5MDlhMDBlMTNlOWQgZGVzY3JpcHRpb24KLS0tIC9kZXYvbnVsbAlUaHUg
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
302 SmFuIDAxIDAwOjAwOjAwIDE5NzAgKzAwMDAKKysrIGIvZGVzY3JpcHRpb24JVGh1IEphbiAwMSAw
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
303 MDowMDowNCAxOTcwICswMDAwCkBAIC0wLDAgKzEsMyBAQAorYSBtdWx0aWxpbmUKKworZGVzY3Jp
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
304 cHRpb24KZGlmZiAtciBmZjJjOWZhMjAxOGIgLXIgOTA5YTAwZTEzZTlkIHV0ZgotLS0gL2Rldi9u
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
305 dWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3MCArMDAwMAorKysgYi91dGYJVGh1IEphbiAwMSAw
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
306 MDowMDowNCAxOTcwICswMDAwCkBAIC0wLDAgKzEsMSBAQAoraMO2bW1hIQo=
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
307
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
308
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
309 $ python -c 'print open("mbox").read().split("\n\n")[1].decode("base64")'
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
310 # HG changeset patch
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
311 # User test
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
312 # Date 4 0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
313 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
314 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
315 utf-8 content
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
316
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
317 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
318 --- /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
319 +++ 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
320 @@ -0,0 +1,3 @@
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
321 +a multiline
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
322 +
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
323 +description
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
324 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
325 --- /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
326 +++ 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
327 @@ -0,0 +1,1 @@
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
328 +h\xc3\xb6mma! (esc)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
329
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
330 $ rm mbox
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
331
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
332 mime encoded mbox (quoted-printable):
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
333 $ python -c 'fp = open("long", "wb"); fp.write("%s\nfoo\n\nbar\n" % ("x" * 1024)); fp.close();'
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
334 $ hg commit -A -d '4 0' -m 'long line'
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
335 adding long
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
336
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
337 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
338 $ 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
339 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
340
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
341
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
342 displaying [PATCH] long line ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
343 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
344 MIME-Version: 1.0
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
345 Content-Transfer-Encoding: quoted-printable
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
346 Subject: [PATCH] long line
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
347 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
348 Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob)
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
349 User-Agent: Mercurial-patchbomb/* (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
350 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
351 From: quux
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
352 To: foo
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
353 Cc: bar
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
354
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
355 # HG changeset patch
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
356 # User test
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
357 # Date 4 0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
358 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
359 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
360 long line
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
361
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
362 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
363 --- /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
364 +++ 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
365 @@ -0,0 +1,4 @@
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
366 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
367 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
368 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
369 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
370 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
371 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
372 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
373 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
374 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
375 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
376 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
377 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
378 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
379 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
380 +foo
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
381 +
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
382 +bar
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
383
4420
b0656b33cc02 add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
384
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
385 mime encoded mbox (quoted-printable):
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
386 $ 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
387 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
388
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
389
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
390 sending [PATCH] long line ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
391 $ cat mbox
15559
1830d0cc4bc1 patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents: 15547
diff changeset
392 From quux ... ... .. ..:..:.. .... (re)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
393 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
394 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
395 Content-Transfer-Encoding: quoted-printable
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
396 Subject: [PATCH] long line
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
397 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
398 Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob)
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
399 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
400 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
401 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
402 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
403 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
404
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
405 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
406 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
407 # Date 4 0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
408 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
409 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
410 long line
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
411
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
412 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
413 --- /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
414 +++ 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
415 @@ -0,0 +1,4 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
416 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
417 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
418 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
419 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
420 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
421 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
422 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
423 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
424 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
425 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
426 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
427 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
428 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
429 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
430 +foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
431 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
432 +bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
433
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
434
4565
1cf908c00479 Don't validate email config if we're not sending email.
Bryan O'Sullivan <bos@serpentine.com>
parents: 4420
diff changeset
435
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
436 $ rm mbox
5753
ea1016b32e94 patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents: 4597
diff changeset
437
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
438 iso-8859-1 patch:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
439 $ 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
440 $ 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
441 adding isolatin
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
442
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
443 fake ascii mbox:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
444 $ 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
445 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
446
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
447
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
448 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
449 $ cat mbox
15559
1830d0cc4bc1 patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents: 15547
diff changeset
450 From quux ... ... .. ..:..:.. .... (re)
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
451 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
452 MIME-Version: 1.0
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
453 Content-Transfer-Encoding: 8bit
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
454 Subject: [PATCH] isolatin 8-bit encoding
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
455 X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
456 Message-Id: <240fb913fc1b7ff15ddb.300@*> (glob)
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
457 User-Agent: Mercurial-patchbomb/* (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
458 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
459 From: quux
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
460 To: foo
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
461 Cc: bar
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
462
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
463 # HG changeset patch
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
464 # User test
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
465 # Date 5 0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
466 # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
467 # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
468 isolatin 8-bit encoding
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
469
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
470 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
471 --- /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
472 +++ 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
473 @@ -0,0 +1,1 @@
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
474 +h\xf6mma! (esc)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
475
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
476
5753
ea1016b32e94 patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents: 4597
diff changeset
477
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
478 test diffstat for single patch:
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
479 $ 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
480 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
481
12200
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
482
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
483 Final summary:
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
484
12200
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
485 From: quux
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
486 To: foo
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
487 Cc: bar
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
488 Subject: [PATCH] test
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
489 c | 1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
490 1 files changed, 1 insertions(+), 0 deletions(-)
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
491
12200
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
492 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
493
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
494 displaying [PATCH] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
495 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
496 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
497 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
498 Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
499 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
500 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
501 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
502 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
503 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
504 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
505 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
506
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
507 c | 1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
508 1 files changed, 1 insertions(+), 0 deletions(-)
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
509
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 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
512 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
513 # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
514 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
515 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
516 c
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 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
519 --- /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
520 +++ 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
521 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
522 +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
523
5753
ea1016b32e94 patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents: 4597
diff changeset
524
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
525 test diffstat for multiple patches:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
526 $ 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
527 > -r 0:1
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
528 this patch series consists of 2 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
529
12200
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
530
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
531 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
532
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
533
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
534 Final summary:
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
535
12200
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
536 From: quux
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
537 To: foo
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
538 Cc: bar
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
539 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
540 a | 1 +
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
541 b | 1 +
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
542 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
543 Subject: [PATCH 1 of 2] a
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
544 a | 1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
545 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
546 Subject: [PATCH 2 of 2] b
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
547 b | 1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
548 1 files changed, 1 insertions(+), 0 deletions(-)
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
549
12200
aebb39d45500 patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents: 12197
diff changeset
550 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
551
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
552 displaying [PATCH 0 of 2] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
553 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
554 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
555 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
556 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
557 Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
558 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
559 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
560 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
561 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
562 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
563
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
564
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
565 a | 1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
566 b | 1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
567 2 files changed, 2 insertions(+), 0 deletions(-)
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
568
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
569 displaying [PATCH 1 of 2] a ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
570 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
571 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
572 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
573 Subject: [PATCH 1 of 2] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
574 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
575 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
576 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
577 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
578 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
579 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
580 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
581 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
582 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
583
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
584 a | 1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
585 1 files changed, 1 insertions(+), 0 deletions(-)
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
586
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
587
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
588 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
589 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
590 # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
591 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
592 # Parent 0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
593 a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
594
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
595 diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
596 --- /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
597 +++ 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
598 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
599 +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
600
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
601 displaying [PATCH 2 of 2] b ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
602 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
603 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
604 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
605 Subject: [PATCH 2 of 2] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
606 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
607 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
608 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
609 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
610 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
611 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
612 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
613 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
614 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
615
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
616 b | 1 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
617 1 files changed, 1 insertions(+), 0 deletions(-)
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
618
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
619
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
620 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
621 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
622 # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
623 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
624 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
625 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
626
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
627 diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
628 --- /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
629 +++ 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
630 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
631 +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
632
5753
ea1016b32e94 patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents: 4597
diff changeset
633
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
634 test inline for single patch:
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
635 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
636 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
637
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
638
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
639 displaying [PATCH] test ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
640 Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
641 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
642 Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
643 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
644 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
645 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
646 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
647 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
648 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
649 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
650
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
651 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
652 Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
653 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
654 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
655 Content-Disposition: inline; filename=t2.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
656
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
657 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
658 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
659 # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
660 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
661 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
662 c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
663
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
664 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
665 --- /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
666 +++ 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
667 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
668 +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
669
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
670 --===*-- (glob)
5753
ea1016b32e94 patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents: 4597
diff changeset
671
7193
12fc42c78598 mail: test patch mime encoding for patchbomb
Christian Ebert <blacktrash@gmx.net>
parents: 5753
diff changeset
672
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
673 test inline for single patch (quoted-printable):
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
674 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 4
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
675 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
676
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
677
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
678 displaying [PATCH] test ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
679 Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
680 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
681 Subject: [PATCH] test
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
682 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
683 Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob)
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
684 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
685 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
686 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
687 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
688 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
689
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
690 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
691 Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
692 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
693 Content-Transfer-Encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
694 Content-Disposition: inline; filename=t2.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
695
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
696 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
697 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
698 # Date 4 0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
699 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
700 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
701 long line
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
702
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
703 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
704 --- /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
705 +++ 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
706 @@ -0,0 +1,4 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
707 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
708 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
709 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
710 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
711 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
712 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
713 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
714 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
715 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
716 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
717 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
718 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
719 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
720 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
721 +foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
722 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
723 +bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
724
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
725 --===*-- (glob)
8332
3e544c074459 patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents: 8160
diff changeset
726
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
727 test inline for multiple patches:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
728 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
729 > -r 0:1 -r 4
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
730 this patch series consists of 3 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
731
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
732
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
733 Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
734
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
735
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
736 displaying [PATCH 0 of 3] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
737 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
738 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
739 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
740 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
741 Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
742 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
743 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
744 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
745 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
746 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
747
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 1 of 3] a ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
750 Content-Type: multipart/mixed; boundary="===*" (glob)
11910
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 Subject: [PATCH 1 of 3] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
753 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
754 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
755 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
756 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
757 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
758 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
759 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
760 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
761 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
762
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
763 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
764 Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
765 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
766 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
767 Content-Disposition: inline; filename=t2-1.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
768
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
769 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
770 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
771 # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
772 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
773 # Parent 0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
774 a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
775
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
776 diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
777 --- /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
778 +++ 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
779 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
780 +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
781
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
782 --===*-- (glob)
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
783 displaying [PATCH 2 of 3] b ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
784 Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
785 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
786 Subject: [PATCH 2 of 3] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
787 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
788 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
789 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
790 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
791 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
792 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
793 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
794 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
795 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
796
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
797 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
798 Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
799 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
800 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
801 Content-Disposition: inline; filename=t2-2.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
802
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
803 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
804 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
805 # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
806 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
807 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
808 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
809
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
810 diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
811 --- /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
812 +++ 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
813 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
814 +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
815
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
816 --===*-- (glob)
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
817 displaying [PATCH 3 of 3] long line ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
818 Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
819 MIME-Version: 1.0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
820 Subject: [PATCH 3 of 3] long line
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
821 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
822 Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob)
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
823 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
824 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
825 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
826 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
827 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
828 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
829 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
830
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
831 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
832 Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
833 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
834 Content-Transfer-Encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
835 Content-Disposition: inline; filename=t2-3.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
836
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
837 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
838 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
839 # Date 4 0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
840 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
841 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
842 long line
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
843
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
844 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
845 --- /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
846 +++ 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
847 @@ -0,0 +1,4 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
848 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
849 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
850 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
851 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
852 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
853 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
854 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
855 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
856 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
857 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
858 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
859 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
860 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
861 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
862 +foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
863 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
864 +bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
865
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
866 --===*-- (glob)
8332
3e544c074459 patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents: 8160
diff changeset
867
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
868 test attach for single patch:
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
869 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 2
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
870 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
871
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
872
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
873 displaying [PATCH] test ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
874 Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
875 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
876 Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
877 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
878 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
879 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
880 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
881 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
882 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
883 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
884
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
885 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
886 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
887 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
888 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
889
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
890 Patch subject is complete summary.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
891
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
892
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
893
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
894 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
895 Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
896 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
897 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
898 Content-Disposition: attachment; filename=t2.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
899
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
900 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
901 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
902 # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
903 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
904 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
905 c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
906
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
907 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
908 --- /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
909 +++ 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
910 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
911 +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
912
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
913 --===*-- (glob)
8332
3e544c074459 patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents: 8160
diff changeset
914
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
915 test attach for single patch (quoted-printable):
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
916 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 4
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
917 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
918
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
919
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
920 displaying [PATCH] test ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
921 Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
922 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
923 Subject: [PATCH] test
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
924 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
925 Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob)
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
926 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
927 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
928 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
929 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
930 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
931
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
932 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
933 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
934 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
935 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
936
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
937 Patch subject is complete summary.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
938
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
939
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
940
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
941 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
942 Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
943 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
944 Content-Transfer-Encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
945 Content-Disposition: attachment; filename=t2.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
946
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
947 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
948 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
949 # Date 4 0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
950 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
951 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
952 long line
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
953
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
954 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
955 --- /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
956 +++ 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
957 @@ -0,0 +1,4 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
958 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
959 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
960 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
961 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
962 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
963 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
964 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
965 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
966 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
967 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
968 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
969 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
970 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
971 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
972 +foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
973 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
974 +bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
975
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
976 --===*-- (glob)
7193
12fc42c78598 mail: test patch mime encoding for patchbomb
Christian Ebert <blacktrash@gmx.net>
parents: 5753
diff changeset
977
16307
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
978 test attach and body for single patch:
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
979 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a --body -r 2
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
980 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
981
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
982
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
983 displaying [PATCH] test ...
16307
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
984 Content-Type: multipart/mixed; boundary="===*" (glob)
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
985 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
986 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
987 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
988 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
989 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
990 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
991 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
992 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
993 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
994
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
995 --===* (glob)
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
996 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
997 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
998 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
999
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
1000 # 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
1001 # 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
1002 # Date 3 0
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
1003 # 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
1004 # 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
1005 c
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
1006
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
1007 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
1008 --- /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
1009 +++ 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
1010 @@ -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
1011 +c
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
1012
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
1013 --===* (glob)
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
1014 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
1015 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
1016 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
1017 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
1018
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
1019 # 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
1020 # 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
1021 # Date 3 0
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
1022 # 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
1023 # 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
1024 c
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
1025
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
1026 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
1027 --- /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
1028 +++ 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
1029 @@ -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
1030 +c
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
1031
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
1032 --===*-- (glob)
17a9a1f5cee2 patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 16233
diff changeset
1033
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1034 test attach for multiple patches:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1035 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a \
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1036 > -r 0:1 -r 4
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1037 this patch series consists of 3 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1038
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1039
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1040 Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1041
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1042
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1043 displaying [PATCH 0 of 3] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1044 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1045 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1046 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1047 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
1048 Message-Id: <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:00 +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
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1055
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1056 displaying [PATCH 1 of 3] a ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1057 Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1058 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1059 Subject: [PATCH 1 of 3] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1060 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1061 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1062 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1063 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1064 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1065 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
1066 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1067 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1068 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1069
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1070 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1071 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1072 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1073 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1074
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1075 Patch subject is complete summary.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1076
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1077
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1078
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1079 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1080 Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1081 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1082 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1083 Content-Disposition: attachment; filename=t2-1.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1084
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1085 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1086 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1087 # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1088 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1089 # Parent 0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1090 a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1091
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1092 diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1093 --- /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
1094 +++ 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
1095 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1096 +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1097
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1098 --===*-- (glob)
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1099 displaying [PATCH 2 of 3] b ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1100 Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1101 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1102 Subject: [PATCH 2 of 3] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1103 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1104 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1105 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1106 References: <patchbomb.60@*> (glob)
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:02 +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
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
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
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
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-2.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 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1131 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1132 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1133 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1134
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1135 diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1136 --- /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
1137 +++ 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
1138 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1139 +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1140
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1141 --===*-- (glob)
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1142 displaying [PATCH 3 of 3] long line ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1143 Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1144 MIME-Version: 1.0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
1145 Subject: [PATCH 3 of 3] long line
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
1146 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
1147 Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob)
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1148 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1149 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1150 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1151 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
1152 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1153 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1154 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1155
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1156 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1157 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1158 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1159 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1160
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1161 Patch subject is complete summary.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1162
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1163
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1164
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1165 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1166 Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1167 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1168 Content-Transfer-Encoding: quoted-printable
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1169 Content-Disposition: attachment; filename=t2-3.patch
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 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1172 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1173 # Date 4 0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
1174 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
1175 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
1176 long line
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1177
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
1178 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1179 --- /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
1180 +++ 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
1181 @@ -0,0 +1,4 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1182 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1183 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1184 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1185 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1186 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1187 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1188 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1189 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1190 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1191 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1196 +foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1197 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1198 +bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1199
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1200 --===*-- (glob)
7358
3c2ed7c2dcb4 patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 7357
diff changeset
1201
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1202 test intro for single patch:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1203 $ 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
1204 > -r 2
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1205 this patch series consists of 1 patches.
11910
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
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1208 Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1209
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1210
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1211 displaying [PATCH 0 of 1] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1212 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1213 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1214 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1215 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
1216 Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1217 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1218 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
1219 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1220 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1221 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1222
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1223
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1224 displaying [PATCH 1 of 1] c ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1225 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1226 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1227 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1228 Subject: [PATCH 1 of 1] c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1229 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1230 Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1231 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1232 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1233 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1234 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
1235 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1236 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1237 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1238
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1239 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1240 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1241 # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1242 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1243 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1244 c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1245
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1246 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1247 --- /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
1248 +++ 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
1249 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1250 +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1251
7358
3c2ed7c2dcb4 patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 7357
diff changeset
1252
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1253 test --desc without --intro for a single patch:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1254 $ echo foo > intro.text
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1255 $ 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
1256 > -s test -r 2
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1257 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1258
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1259
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1260 displaying [PATCH 0 of 1] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1261 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1262 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1263 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1264 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
1265 Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1266 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1267 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
1268 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1269 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1270 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1271
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1272 foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1273
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1274 displaying [PATCH 1 of 1] c ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1275 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1276 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1277 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1278 Subject: [PATCH 1 of 1] c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1279 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1280 Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1281 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1282 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1283 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1284 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
1285 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1286 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1287 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1288
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1289 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1290 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1291 # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1292 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1293 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1294 c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1295
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1296 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1297 --- /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
1298 +++ 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
1299 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1300 +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1301
7358
3c2ed7c2dcb4 patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 7357
diff changeset
1302
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1303 test intro for multiple patches:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1304 $ 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
1305 > -r 0:1
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1306 this patch series consists of 2 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1307
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1308
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1309 Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1310
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1311
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1312 displaying [PATCH 0 of 2] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1313 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1314 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1315 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1316 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
1317 Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1318 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1319 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
1320 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1321 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1322 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1323
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1324
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1325 displaying [PATCH 1 of 2] a ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1326 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1327 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1328 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1329 Subject: [PATCH 1 of 2] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1330 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1331 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1332 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1333 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1334 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1335 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
1336 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1337 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1338 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1339
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1340 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1341 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1342 # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1343 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1344 # Parent 0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1345 a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1346
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1347 diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1348 --- /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
1349 +++ 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
1350 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1351 +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1352
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1353 displaying [PATCH 2 of 2] b ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1354 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1355 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1356 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1357 Subject: [PATCH 2 of 2] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1358 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1359 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1360 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1361 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1362 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1363 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
1364 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1365 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1366 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1367
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1368 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1369 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1370 # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1371 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1372 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1373 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1374
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1375 diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1376 --- /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
1377 +++ 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
1378 @@ -0,0 +1,1 @@
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
8332
3e544c074459 patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents: 8160
diff changeset
1381
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1382 test reply-to via config:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1383 $ 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
1384 > --config patchbomb.reply-to='baz@example.com'
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1385 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1386
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1387
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1388 displaying [PATCH] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1389 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1390 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1391 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1392 Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1393 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1394 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1395 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1396 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
1397 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1398 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1399 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1400 Reply-To: baz@example.com
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1401
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1402 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1403 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1404 # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1405 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1406 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1407 c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1408
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1409 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1410 --- /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
1411 +++ 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
1412 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1413 +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1414
7358
3c2ed7c2dcb4 patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 7357
diff changeset
1415
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1416 test reply-to via command line:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1417 $ 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
1418 > --reply-to baz --reply-to fred
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1419 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1420
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1421
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1422 displaying [PATCH] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1423 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1424 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1425 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1426 Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1427 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1428 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1429 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1430 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
1431 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1432 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1433 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1434 Reply-To: baz, fred
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1435
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1436 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1437 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1438 # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1439 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1440 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1441 c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1442
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1443 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1444 --- /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
1445 +++ 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
1446 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1447 +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1448
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1449
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1450 tagging csets:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1451 $ hg tag -r0 zero zero.foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1452 $ hg tag -r1 one one.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1453 $ hg tag -r2 two two.diff
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1454
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1455 test inline for single named patch:
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1456 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1457 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1458
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1459
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1460 displaying [PATCH] test ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1461 Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1462 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1463 Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1464 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1465 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1466 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1467 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
1468 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1469 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1470 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1471
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1472 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1473 Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1474 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1475 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1476 Content-Disposition: inline; filename=two.diff
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1477
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1478 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1479 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1480 # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1481 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1482 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1483 c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1484
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1485 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1486 --- /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
1487 +++ 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
1488 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1489 +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1490
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1491 --===*-- (glob)
7360
42f1b8cb9a60 patchbomb: add option to send intro email for a single patch (issue1120)
Chris Winter <elwintro@gmail.com>
parents: 7358
diff changeset
1492
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1493 test inline for multiple named/unnamed patches:
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1494 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 0:1
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1495 this patch series consists of 2 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1496
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1497
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1498 Write the introductory message for the patch series.
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
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1501 displaying [PATCH 0 of 2] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1502 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1503 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1504 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1505 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
1506 Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1507 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1508 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
1509 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1510 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1511 Cc: bar
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 1 of 2] a ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1515 Content-Type: multipart/mixed; boundary="===*" (glob)
11910
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 Subject: [PATCH 1 of 2] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1518 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1519 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1520 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1521 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1522 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1523 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
1524 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1525 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1526 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1527
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1528 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1529 Content-Type: text/x-patch; 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 Content-Disposition: inline; filename=t2-1.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1533
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1534 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1535 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1536 # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1537 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1538 # Parent 0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1539 a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1540
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1541 diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1542 --- /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
1543 +++ 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
1544 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1545 +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1546
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1547 --===*-- (glob)
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1548 displaying [PATCH 2 of 2] b ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1549 Content-Type: multipart/mixed; boundary="===*" (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1550 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1551 Subject: [PATCH 2 of 2] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1552 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1553 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1554 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1555 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1556 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1557 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
1558 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1559 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1560 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1561
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1562 --===* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1563 Content-Type: text/x-patch; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1564 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1565 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1566 Content-Disposition: inline; filename=one.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1567
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1568 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1569 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1570 # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1571 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1572 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1573 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1574
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1575 diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1576 --- /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
1577 +++ 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
1578 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1579 +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1580
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1581 --===*-- (glob)
10734
7a0502a6f9a1 patchbomb: --desc implies --intro
Cédric Duval <cedricduval@free.fr>
parents: 10257
diff changeset
1582
11150
f66ca4431eb9 patchbomb: Reply-To support
Cédric Duval <cedricduval@free.fr>
parents: 10734
diff changeset
1583
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1584 test inreplyto:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1585 $ 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
1586 > -r tip
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1587 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1588
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1589
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1590 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
1591 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1592 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1593 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1594 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
1595 X-Mercurial-Node: 7aead2484924c445ad8ce2613df91f52f9e502ed
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
1596 Message-Id: <7aead2484924c445ad8c.60@*> (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1597 In-Reply-To: <baz>
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1598 References: <baz>
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1599 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1600 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
1601 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1602 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1603 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1604
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1605 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1606 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1607 # Date 0 0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
1608 # Node ID 7aead2484924c445ad8ce2613df91f52f9e502ed
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
1609 # Parent 045ca29b1ea20e4940411e695e20e521f2f0f98e
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1610 Added tag two, two.diff for changeset ff2c9fa2018b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1611
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
1612 diff -r 045ca29b1ea2 -r 7aead2484924 .hgtags
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1613 --- 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
1614 +++ 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
1615 @@ -2,3 +2,5 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1616 8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1617 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1618 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1619 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1620 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two.diff
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1621
15164
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
1622 no intro message in non-interactive mode
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1623 $ 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
1624 > -r 0:1
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1625 this patch series consists of 2 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1626
16233
3f79b110c4f0 patchbomb: add (optional) note to 0 of 0 prompt
Matt Mackall <mpm@selenic.com>
parents: 15623
diff changeset
1627 (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
1628
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1629 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
1630 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
1631 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
1632 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
1633 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
1634 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1635 Message-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
1636 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
1637 References: <baz>
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1638 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
1639 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
1640 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
1641 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
1642 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
1643
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
1644 # 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
1645 # 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
1646 # Date 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
1647 # 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
1648 # 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
1649 a
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
1650
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
1651 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
1652 --- /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
1653 +++ 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
1654 @@ -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
1655 +a
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
1656
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1657 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
1658 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
1659 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
1660 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
1661 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
1662 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1663 Message-Id: <97d72e5f12c7e84f8506.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1664 In-Reply-To: <8580ff50825a50c8f716.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1665 References: <8580ff50825a50c8f716.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1666 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
1667 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
1668 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
1669 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
1670 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
1671
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
1672 # 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
1673 # 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
1674 # Date 2 0
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
1675 # 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
1676 # 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
1677 b
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
1678
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
1679 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
1680 --- /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
1681 +++ 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
1682 @@ -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
1683 +b
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
1684
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
1685
7bddec632821 patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents: 14101
diff changeset
1686
11150
f66ca4431eb9 patchbomb: Reply-To support
Cédric Duval <cedricduval@free.fr>
parents: 10734
diff changeset
1687
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1688 $ 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
1689 > -s test -r 0:1
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1690 this patch series consists of 2 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1691
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1692
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1693 Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1694
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1695
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1696 displaying [PATCH 0 of 2] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1697 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1698 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1699 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1700 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
1701 Message-Id: <patchbomb.60@*> (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1702 In-Reply-To: <baz>
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1703 References: <baz>
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1704 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1705 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
1706 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1707 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1708 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1709
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1710
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1711 displaying [PATCH 1 of 2] a ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1712 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1713 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1714 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1715 Subject: [PATCH 1 of 2] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1716 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1717 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1718 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1719 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1720 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1721 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
1722 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1723 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1724 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1725
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1726 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1727 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1728 # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1729 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1730 # Parent 0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1731 a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1732
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1733 diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1734 --- /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
1735 +++ 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
1736 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1737 +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1738
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1739 displaying [PATCH 2 of 2] b ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1740 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1741 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1742 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1743 Subject: [PATCH 2 of 2] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1744 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1745 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1746 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1747 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1748 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1749 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
1750 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1751 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1752 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1753
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1754 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1755 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1756 # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1757 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1758 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1759 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1760
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1761 diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1762 --- /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
1763 +++ 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
1764 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1765 +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1766
7358
3c2ed7c2dcb4 patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 7357
diff changeset
1767
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1768 test single flag for single patch:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1769 $ 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
1770 > -r 2
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1771 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1772
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1773
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1774 displaying [PATCH fooFlag] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1775 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1776 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1777 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1778 Subject: [PATCH fooFlag] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1779 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1780 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1781 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1782 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
1783 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1784 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1785 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1786
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1787 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1788 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1789 # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1790 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1791 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1792 c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1793
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1794 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1795 --- /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
1796 +++ 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
1797 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1798 +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1799
7358
3c2ed7c2dcb4 patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 7357
diff changeset
1800
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1801 test single flag for multiple patches:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1802 $ 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
1803 > -r 0:1
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1804 this patch series consists of 2 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1805
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1806
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1807 Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1808
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1809
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1810 displaying [PATCH 0 of 2 fooFlag] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1811 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1812 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1813 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1814 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
1815 Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1816 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1817 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
1818 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1819 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1820 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1821
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1822
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1823 displaying [PATCH 1 of 2 fooFlag] a ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1824 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1825 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1826 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1827 Subject: [PATCH 1 of 2 fooFlag] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1828 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1829 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1830 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1831 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1832 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1833 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
1834 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1835 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1836 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1837
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1838 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1839 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1840 # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1841 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1842 # Parent 0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1843 a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1844
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1845 diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1846 --- /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
1847 +++ 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
1848 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1849 +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1850
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1851 displaying [PATCH 2 of 2 fooFlag] b ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1852 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1853 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1854 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1855 Subject: [PATCH 2 of 2 fooFlag] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1856 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1857 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1858 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1859 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1860 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1861 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
1862 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1863 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1864 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1865
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1866 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1867 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1868 # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1869 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1870 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1871 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1872
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1873 diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1874 --- /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
1875 +++ 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
1876 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1877 +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1878
7358
3c2ed7c2dcb4 patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 7357
diff changeset
1879
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1880 test mutiple flags for single patch:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1881 $ 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
1882 > -c bar -s test -r 2
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1883 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1884
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1885
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1886 displaying [PATCH fooFlag barFlag] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1887 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1888 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1889 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1890 Subject: [PATCH fooFlag barFlag] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1891 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1892 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1893 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1894 Date: Thu, 01 Jan 1970 00:01:00 +0000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1895 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1896 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1897 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1898
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1899 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1900 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1901 # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1902 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1903 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1904 c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1905
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1906 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1907 --- /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
1908 +++ 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
1909 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1910 +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1911
9346
bb3f8f692bc6 patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 8514
diff changeset
1912
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1913 test multiple flags for multiple patches:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1914 $ 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
1915 > -c bar -s test -r 0:1
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1916 this patch series consists of 2 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1917
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1918
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1919 Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1920
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1921
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1922 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
1923 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1924 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1925 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1926 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
1927 Message-Id: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1928 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1929 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
1930 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1931 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1932 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1933
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1934
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1935 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
1936 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1937 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1938 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1939 Subject: [PATCH 1 of 2 fooFlag barFlag] a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1940 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1941 Message-Id: <8580ff50825a50c8f716.61@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1942 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1943 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1944 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1945 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
1946 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1947 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1948 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1949
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1950 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1951 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1952 # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1953 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1954 # Parent 0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1955 a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1956
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1957 diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1958 --- /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
1959 +++ 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
1960 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1961 +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1962
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1963 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
1964 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1965 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1966 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1967 Subject: [PATCH 2 of 2 fooFlag barFlag] b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1968 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1969 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1970 In-Reply-To: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1971 References: <patchbomb.60@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
1972 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1973 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
1974 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1975 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1976 Cc: bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1977
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1978 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1979 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1980 # Date 2 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1981 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1982 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1983 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1984
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1985 diff -r 8580ff50825a -r 97d72e5f12c7 b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1986 --- /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
1987 +++ 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
1988 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1989 +b
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1990
9346
bb3f8f692bc6 patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 8514
diff changeset
1991
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1992 test multi-address parsing:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1993 $ 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
1994 > -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
1995 > --config email.bcc='"Quux, A." <quux>'
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1996 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1997
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
1998
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
1999 sending [PATCH] test ...
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2000 $ cat < tmp.mbox
15559
1830d0cc4bc1 patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents: 15547
diff changeset
2001 From quux ... ... .. ..:..:.. .... (re)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2002 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2003 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2004 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2005 Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2006 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2007 Message-Id: <8580ff50825a50c8f716.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2008 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2009 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
2010 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2011 To: spam <spam>, eggs, toast
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2012 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
2013 Bcc: "Quux, A." <quux>
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2014
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2015 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2016 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2017 # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2018 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2019 # Parent 0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2020 a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2021
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2022 diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2023 --- /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
2024 +++ 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
2025 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2026 +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2027
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2028
9346
bb3f8f692bc6 patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 8514
diff changeset
2029
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2030 test multi-byte domain parsing:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2031 $ UUML=`python -c 'import sys; sys.stdout.write("\374")'`
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2032 $ HGENCODING=iso-8859-1
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2033 $ export HGENCODING
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2034 $ 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
2035 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2036
15165
3a55cee825ba patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents: 15164
diff changeset
2037 Cc:
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2038
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
2039 sending [PATCH] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2040
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2041 $ cat tmp.mbox
15559
1830d0cc4bc1 patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents: 15547
diff changeset
2042 From quux ... ... .. ..:..:.. .... (re)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2043 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2044 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2045 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2046 Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2047 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2048 Message-Id: <8580ff50825a50c8f716.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
2049 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2050 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
2051 From: quux
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2052 To: bar@xn--nicode-2ya.com
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2053
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2054 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2055 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2056 # Date 1 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2057 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2058 # Parent 0000000000000000000000000000000000000000
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2059 a
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 diff -r 000000000000 -r 8580ff50825a a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2062 --- /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
2063 +++ 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
2064 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2065 +a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2066
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2067
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 test outgoing:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2070 $ hg up 1
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2071 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
2072
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2073 $ hg branch test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2074 marked working directory as branch test
15615
41885892796e branch: warn on branching
Matt Mackall <mpm@selenic.com>
parents: 15165
diff changeset
2075 (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
2076
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2077 $ echo d > d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2078 $ hg add d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2079 $ hg ci -md -d '4 0'
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2080 $ echo d >> d
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2081 $ hg ci -mdd -d '5 0'
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2082 $ hg --config extensions.graphlog= glog --template "{rev}:{node|short} {desc|firstline}\n"
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2083 @ 10:3b6f1ec9dde9 dd
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2084 |
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2085 o 9:2f9fa9b998c5 d
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2086 |
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2087 | 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
2088 | |
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2089 | 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
2090 | |
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2091 | 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
2092 | |
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2093 | o 5:240fb913fc1b isolatin 8-bit encoding
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2094 | |
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2095 | o 4:a2ea8fc83dd8 long line
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2096 | |
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2097 | o 3:909a00e13e9d utf-8 content
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2098 | |
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2099 | o 2:ff2c9fa2018b c
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2100 |/
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2101 o 1:97d72e5f12c7 b
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2102 |
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2103 o 0:8580ff50825a a
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2104
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2105 $ hg phase --force --secret -r 10
17177
ef507130fc92 patchbomb: support --outgoing and revsets
Patrick Mezard <patrick@mezard.eu>
parents: 17176
diff changeset
2106 $ 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
2107 comparing with ../t
15165
3a55cee825ba patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents: 15164
diff changeset
2108 From [test]: test
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2109 this patch series consists of 6 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2110
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2111
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2112 Write the introductory message for the patch series.
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2113
15165
3a55cee825ba patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents: 15164
diff changeset
2114 Cc:
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2115
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2116 displaying [PATCH 0 of 6] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2117 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2118 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2119 Content-Transfer-Encoding: 7bit
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2120 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
2121 Message-Id: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
2122 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2123 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
2124 From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2125 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2126
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2127
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2128 displaying [PATCH 1 of 6] c ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2129 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2130 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2131 Content-Transfer-Encoding: 7bit
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2132 Subject: [PATCH 1 of 6] c
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2133 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2134 Message-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2135 In-Reply-To: <patchbomb.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2136 References: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
2137 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2138 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
2139 From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2140 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2141
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2142 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2143 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2144 # Date 3 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2145 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2146 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2147 c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2148
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2149 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2150 --- /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
2151 +++ 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
2152 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2153 +c
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2154
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2155 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
2156 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2157 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2158 Content-Transfer-Encoding: 8bit
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2159 Subject: [PATCH 2 of 6] utf-8 content
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2160 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2161 Message-Id: <909a00e13e9d78b575ae.315532862@*> (glob)
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2162 In-Reply-To: <patchbomb.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2163 References: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
2164 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2165 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
2166 From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2167 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2168
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2169 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2170 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2171 # Date 4 0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2172 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2173 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2174 utf-8 content
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2175
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2176 diff -r ff2c9fa2018b -r 909a00e13e9d description
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2177 --- /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
2178 +++ 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
2179 @@ -0,0 +1,3 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2180 +a multiline
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2181 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2182 +description
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2183 diff -r ff2c9fa2018b -r 909a00e13e9d utf
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2184 --- /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
2185 +++ 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
2186 @@ -0,0 +1,1 @@
12942
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12941
diff changeset
2187 +h\xc3\xb6mma! (esc)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2188
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2189 displaying [PATCH 3 of 6] long line ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2190 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2191 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2192 Content-Transfer-Encoding: quoted-printable
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2193 Subject: [PATCH 3 of 6] long line
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2194 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2195 Message-Id: <a2ea8fc83dd8b93cfd86.315532863@*> (glob)
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2196 In-Reply-To: <patchbomb.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2197 References: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
2198 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2199 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
2200 From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2201 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2202
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2203 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2204 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2205 # Date 4 0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2206 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2207 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2208 long line
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2209
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2210 diff -r 909a00e13e9d -r a2ea8fc83dd8 long
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2211 --- /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
2212 +++ 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
2213 @@ -0,0 +1,4 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2214 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2215 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2216 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2217 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2218 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2219 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2220 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2221 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2222 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2223 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2224 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2225 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2226 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2227 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2228 +foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2229 +
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2230 +bar
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2231
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2232 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
2233 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2234 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2235 Content-Transfer-Encoding: 8bit
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2236 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
2237 X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2238 Message-Id: <240fb913fc1b7ff15ddb.315532864@*> (glob)
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2239 In-Reply-To: <patchbomb.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2240 References: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
2241 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2242 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
2243 From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2244 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2245
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2246 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2247 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2248 # Date 5 0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2249 # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2250 # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2251 isolatin 8-bit encoding
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2252
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2253 diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2254 --- /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
2255 +++ 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
2256 @@ -0,0 +1,1 @@
12942
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12941
diff changeset
2257 +h\xf6mma! (esc)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2258
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2259 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
2260 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2261 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2262 Content-Transfer-Encoding: 7bit
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2263 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
2264 X-Mercurial-Node: 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2265 Message-Id: <5d5ef15dfe5e7bd3a4ee.315532865@*> (glob)
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2266 In-Reply-To: <patchbomb.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2267 References: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
2268 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2269 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
2270 From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2271 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2272
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2273 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2274 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2275 # Date 0 0
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2276 # Node ID 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2277 # Parent 240fb913fc1b7ff15ddb9f33e73d82bf5277c720
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2278 Added tag zero, zero.foo for changeset 8580ff50825a
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2279
15547
7f1d263a1bcb tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 15546
diff changeset
2280 diff -r 240fb913fc1b -r 5d5ef15dfe5e .hgtags
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2281 --- /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
2282 +++ 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
2283 @@ -0,0 +1,2 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2284 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2285 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2286
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2287 displaying [PATCH 6 of 6] d ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2288 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2289 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2290 Content-Transfer-Encoding: 7bit
17176
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2291 Subject: [PATCH 6 of 6] d
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2292 X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2ab165cf3d8a patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents: 16931
diff changeset
2293 Message-Id: <2f9fa9b998c5fe3ac2bd.315532866@*> (glob)
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2294 In-Reply-To: <patchbomb.315532860@*> (glob)
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2295 References: <patchbomb.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
2296 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2297 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
2298 From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2299 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2300
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2301 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2302 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2303 # Date 4 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2304 # Branch test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2305 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2306 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2307 d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2308
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2309 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2310 --- /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
2311 +++ 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
2312 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2313 +d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2314
9947
4600e6222efb patchbomb: fix parsing of multiple addresses, allow multiple addrs in --to/cc/bcc
Marti Raudsepp <marti@juffo.org>
parents: 9913
diff changeset
2315
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2316 dest#branch URIs:
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2317 $ 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
2318 comparing with ../t
15165
3a55cee825ba patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents: 15164
diff changeset
2319 From [test]: test
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
2320 this patch series consists of 1 patches.
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2321
15165
3a55cee825ba patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents: 15164
diff changeset
2322 Cc:
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2323
16931
ee388b0a6f67 patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents: 16913
diff changeset
2324 displaying [PATCH] test ...
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2325 Content-Type: text/plain; charset="us-ascii"
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2326 MIME-Version: 1.0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2327 Content-Transfer-Encoding: 7bit
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2328 Subject: [PATCH] test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2329 X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
15546
1346bf5ff901 tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents: 15519
diff changeset
2330 Message-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob)
12376
97ffc68f71d3 tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents: 12375
diff changeset
2331 User-Agent: Mercurial-patchbomb/* (glob)
11910
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2332 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
2333 From: test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2334 To: foo
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2335
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2336 # HG changeset patch
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2337 # User test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2338 # Date 4 0
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2339 # Branch test
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2340 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2341 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2342 d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2343
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2344 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2345 --- /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
2346 +++ 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
2347 @@ -0,0 +1,1 @@
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2348 +d
2afefc01259e tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents: 11150
diff changeset
2349
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16901
diff changeset
2350
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16901
diff changeset
2351 $ cd ..