Mercurial > hg
annotate tests/test-patchbomb.t @ 38679:b3d0c97a0820
rebase: in --confirm option just abort if hit a conflict
Before this patch, it was prompting the user in both cases 1) when
there is no conflict 2) when there is at least one conflict. But
for simplicity we can just abort if we hit a conflict and no need to
prompt in that case.
Differential Revision: https://phab.mercurial-scm.org/D3944
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Sat, 14 Jul 2018 08:59:42 +0530 |
parents | 326b174c6a47 |
children | 1eb779a86c4e |
rev | line source |
---|---|
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1 Note for future hackers of patchbomb: this file is a bit heavy on |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
2 wildcards in test expectations due to how many things like hostnames |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
3 tend to make it into outputs. As a result, you may need to perform the |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
4 following regular expression substitutions: |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
5 @$HOSTNAME> -> @*> (glob) |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
6 Mercurial-patchbomb/.* -> Mercurial-patchbomb/* (glob) |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
7 /mixed; boundary="===+[0-9]+==" -> /mixed; boundary="===*== (glob)" |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
8 --===+[0-9]+=+--$ -> --===*=-- (glob) |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
9 --===+[0-9]+=+$ -> --===*= (glob) |
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
10 |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
11 $ cat > prune-blank-after-boundary.py <<EOF |
33983
99e3227c83b5
tests: update test-patchbomb to pass our import checker
Augie Fackler <raf@durin42.com>
parents:
32940
diff
changeset
|
12 > from __future__ import absolute_import, print_function |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
13 > import sys |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
14 > skipblank = False |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
15 > trim = lambda x: x.strip(' \r\n') |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
16 > for l in sys.stdin: |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
17 > if trim(l).endswith('=--') or trim(l).endswith('=='): |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
18 > skipblank = True |
33983
99e3227c83b5
tests: update test-patchbomb to pass our import checker
Augie Fackler <raf@durin42.com>
parents:
32940
diff
changeset
|
19 > print(l, end='') |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
20 > continue |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
21 > if not trim(l) and skipblank: |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
22 > continue |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
23 > skipblank = False |
33983
99e3227c83b5
tests: update test-patchbomb to pass our import checker
Augie Fackler <raf@durin42.com>
parents:
32940
diff
changeset
|
24 > print(l, end='') |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
25 > EOF |
32940
75be14993fda
cleanup: use $PYTHON to run python in many more tests
Augie Fackler <augie@google.com>
parents:
31860
diff
changeset
|
26 $ FILTERBOUNDARY="$PYTHON `pwd`/prune-blank-after-boundary.py" |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
27 $ echo "[extensions]" >> $HGRCPATH |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
28 $ echo "patchbomb=" >> $HGRCPATH |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
29 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
30 $ hg init t |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
31 $ cd t |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
32 $ echo a > a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
33 $ hg commit -Ama -d '1 0' |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
34 adding a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
35 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
36 $ 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
|
37 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
38 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
39 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
40 displaying [PATCH] a ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
41 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
42 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
43 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
44 Subject: [PATCH] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
45 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
46 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
47 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
48 Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
49 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
50 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
51 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
|
52 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
53 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
54 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
55 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
56 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
57 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
58 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
59 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
60 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
61 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
62 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
63 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
64 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
65 --- /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
|
66 +++ 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
|
67 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
68 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
69 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
70 |
34301
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
71 If --to is specified on the command line, it should override any |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
72 email.to config setting. Same for --cc: |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
73 |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
74 $ hg email --date '1970-1-1 0:1' -n -f quux --to foo --cc bar -r tip \ |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
75 > --config email.to=bob@example.com --config email.cc=alice@example.com |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
76 this patch series consists of 1 patches. |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
77 |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
78 |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
79 displaying [PATCH] a ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
80 MIME-Version: 1.0 |
34301
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
81 Content-Type: text/plain; charset="us-ascii" |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
82 Content-Transfer-Encoding: 7bit |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
83 Subject: [PATCH] a |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
84 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
85 X-Mercurial-Series-Index: 1 |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
86 X-Mercurial-Series-Total: 1 |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
87 Message-Id: <*@*> (glob) |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
88 X-Mercurial-Series-Id: <*@*> (glob) |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
89 User-Agent: Mercurial-patchbomb/* (glob) |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
90 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
91 From: quux |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
92 To: foo |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
93 Cc: bar |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
94 |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
95 # HG changeset patch |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
96 # User test |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
97 # Date 1 0 |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
98 # Thu Jan 01 00:00:01 1970 +0000 |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
99 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
100 # Parent 0000000000000000000000000000000000000000 |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
101 a |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
102 |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
103 diff -r 000000000000 -r 8580ff50825a a |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
104 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
105 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
106 @@ -0,0 +1,1 @@ |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
107 +a |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
108 |
3704d3f21136
patchbomb: add test that shows --to and --cc override matching config item
Augie Fackler <augie@google.com>
parents:
33983
diff
changeset
|
109 |
12201
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
110 $ 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
|
111 > n |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
112 > EOF |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
113 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
|
114 |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
115 |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
116 Final summary: |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
117 |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
118 From: quux |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
119 To: foo |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
120 Cc: bar |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
121 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
|
122 a | 1 + |
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
123 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
|
124 |
22589
9ab18a912c44
ui: show prompt choice if input is not a tty but is forced to be interactive
Mads Kiilerich <madski@unity3d.com>
parents:
22071
diff
changeset
|
125 are you sure you want to send (yn)? n |
9ab18a912c44
ui: show prompt choice if input is not a tty but is forced to be interactive
Mads Kiilerich <madski@unity3d.com>
parents:
22071
diff
changeset
|
126 abort: patchbomb canceled |
12316
4134686b83e1
tests: add exit codes to unified tests
Matt Mackall <mpm@selenic.com>
parents:
12201
diff
changeset
|
127 [255] |
12201
5bfa45651cf6
patchbomb: add --confirm option to show series details and ask for confirmation
Christian Ebert <blacktrash@gmx.net>
parents:
12200
diff
changeset
|
128 |
23488
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
129 $ hg --config ui.interactive=1 --config patchbomb.confirm=true email -n -f quux -t foo -c bar -r tip<<EOF |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
130 > n |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
131 > EOF |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
132 this patch series consists of 1 patches. |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
133 |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
134 |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
135 Final summary: |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
136 |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
137 From: quux |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
138 To: foo |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
139 Cc: bar |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
140 Subject: [PATCH] a |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
141 a | 1 + |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
142 1 files changed, 1 insertions(+), 0 deletions(-) |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
143 |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
144 are you sure you want to send (yn)? n |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
145 abort: patchbomb canceled |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
146 [255] |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
147 |
11b215731e74
patchbomb: introduce a 'patchbomb.confirm' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23487
diff
changeset
|
148 |
23450
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
149 Test diff.git is respected |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
150 $ hg --config diff.git=True email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
151 this patch series consists of 1 patches. |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
152 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
153 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
154 displaying [PATCH] a ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
155 MIME-Version: 1.0 |
23450
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
156 Content-Type: text/plain; charset="us-ascii" |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
157 Content-Transfer-Encoding: 7bit |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
158 Subject: [PATCH] a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
159 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
160 X-Mercurial-Series-Index: 1 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
161 X-Mercurial-Series-Total: 1 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
162 Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
163 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
164 User-Agent: Mercurial-patchbomb/* (glob) |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
165 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
166 From: quux |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
167 To: foo |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
168 Cc: bar |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
169 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
170 # HG changeset patch |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
171 # User test |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
172 # Date 1 0 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
173 # Thu Jan 01 00:00:01 1970 +0000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
174 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
175 # Parent 0000000000000000000000000000000000000000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
176 a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
177 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
178 diff --git a/a b/a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
179 new file mode 100644 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
180 --- /dev/null |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
181 +++ b/a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
182 @@ -0,0 +1,1 @@ |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
183 +a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
184 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
185 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
186 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
187 Test breaking format changes aren't |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
188 $ hg --config diff.noprefix=True email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
189 this patch series consists of 1 patches. |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
190 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
191 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
192 displaying [PATCH] a ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
193 MIME-Version: 1.0 |
23450
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
194 Content-Type: text/plain; charset="us-ascii" |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
195 Content-Transfer-Encoding: 7bit |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
196 Subject: [PATCH] a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
197 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
198 X-Mercurial-Series-Index: 1 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
199 X-Mercurial-Series-Total: 1 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
200 Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
201 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
202 User-Agent: Mercurial-patchbomb/* (glob) |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
203 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
204 From: quux |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
205 To: foo |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
206 Cc: bar |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
207 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
208 # HG changeset patch |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
209 # User test |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
210 # Date 1 0 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
211 # Thu Jan 01 00:00:01 1970 +0000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
212 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
213 # Parent 0000000000000000000000000000000000000000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
214 a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
215 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
216 diff -r 000000000000 -r 8580ff50825a a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
217 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
218 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
219 @@ -0,0 +1,1 @@ |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
220 +a |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
221 |
a074eeeabe32
patchbomb: don't honor whitespace and format-changing diffopts (BC)
Siddharth Agarwal <sid0@fb.com>
parents:
22947
diff
changeset
|
222 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
223 $ echo b > b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
224 $ hg commit -Amb -d '2 0' |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
225 adding b |
4420
b0656b33cc02
add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
226 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
227 $ 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
|
228 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
229 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
230 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
231 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
232 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
233 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
234 displaying [PATCH 0 of 2] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
235 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
236 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
237 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
238 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
|
239 Message-Id: <patchbomb.120@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
240 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
241 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
|
242 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
243 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
244 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
245 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
246 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
247 displaying [PATCH 1 of 2] a ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
248 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
249 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
250 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
251 Subject: [PATCH 1 of 2] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
252 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
253 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
254 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
255 Message-Id: <8580ff50825a50c8f716.121@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
256 X-Mercurial-Series-Id: <8580ff50825a50c8f716.121@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
257 In-Reply-To: <patchbomb.120@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
258 References: <patchbomb.120@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
259 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
260 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
|
261 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
262 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
263 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
264 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
265 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
266 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
267 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
268 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
269 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
270 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
271 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
272 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
273 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
274 --- /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
|
275 +++ 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
|
276 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
277 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
278 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
279 displaying [PATCH 2 of 2] b ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
280 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
281 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
282 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
283 Subject: [PATCH 2 of 2] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
284 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
285 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
286 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
287 Message-Id: <97d72e5f12c7e84f8506.122@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
288 X-Mercurial-Series-Id: <8580ff50825a50c8f716.121@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
289 In-Reply-To: <patchbomb.120@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
290 References: <patchbomb.120@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
291 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
292 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
|
293 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
294 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
295 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
296 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
297 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
298 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
299 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
300 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
301 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
302 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
303 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
304 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
305 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
306 --- /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
|
307 +++ 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
|
308 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
309 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
310 |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
311 |
13198
e71b2aa74ce3
patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
12942
diff
changeset
|
312 .hg/last-email.txt |
e71b2aa74ce3
patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
12942
diff
changeset
|
313 |
16901
5b89700cce30
tests: consistently use a HGEDITOR pattern that works with msys on windows
Mads Kiilerich <mads@kiilerich.com>
parents:
16351
diff
changeset
|
314 $ 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
|
315 > 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
|
316 > __EOF__ |
16901
5b89700cce30
tests: consistently use a HGEDITOR pattern that works with msys on windows
Mads Kiilerich <mads@kiilerich.com>
parents:
16351
diff
changeset
|
317 $ 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
|
318 $ 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
|
319 a precious introductory message |
e71b2aa74ce3
patchbomb: save introductory message in .hg/last-email.txt
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
12942
diff
changeset
|
320 |
12845
685d884fd2b6
test-patchbomb: add test for progress support (1ed2dc9d4368)
Yuya Nishihara <yuya@tcha.org>
parents:
12376
diff
changeset
|
321 $ 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
|
322 > --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
|
323 > --config progress.delay=0 --config progress.refresh=0 \ |
34316 | 324 > --config progress.width=60 \ |
325 > --config extensions.mocktime=$TESTDIR/mocktime.py | |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
326 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
327 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
328 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
329 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
330 |
17743
6047947afb6b
tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents:
17502
diff
changeset
|
331 \r (no-eol) (esc) |
6047947afb6b
tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents:
17502
diff
changeset
|
332 sending [ ] 0/3\r (no-eol) (esc) |
6047947afb6b
tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents:
17502
diff
changeset
|
333 \r (no-eol) (esc) |
6047947afb6b
tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents:
17502
diff
changeset
|
334 \r (no-eol) (esc) |
34315 | 335 sending [============> ] 1/3 01s\r (no-eol) (esc) |
17743
6047947afb6b
tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents:
17502
diff
changeset
|
336 \r (no-eol) (esc) |
6047947afb6b
tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents:
17502
diff
changeset
|
337 \r (no-eol) (esc) |
34315 | 338 sending [==========================> ] 2/3 01s\r (no-eol) (esc) |
14101
0c5228836fcd
test-patchbomb.t: clean up progress tests
Augie Fackler <durin42@gmail.com>
parents:
13439
diff
changeset
|
339 \r (esc) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
340 sending [PATCH 0 of 2] test ... |
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
341 sending [PATCH 1 of 2] a ... |
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
342 sending [PATCH 2 of 2] b ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
343 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
344 $ cd .. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
345 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
346 $ hg clone -q t t2 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
347 $ cd t2 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
348 $ echo c > c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
349 $ hg commit -Amc -d '3 0' |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
350 adding c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
351 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
352 $ cat > description <<EOF |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
353 > a multiline |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
354 > |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
355 > description |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
356 > EOF |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
357 |
4420
b0656b33cc02
add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
358 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
359 test bundle and description: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
360 $ hg email --date '1970-1-1 0:3' -n -f quux -t foo \ |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
361 > -c bar -s test -r tip -b --desc description | $FILTERBOUNDARY |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
362 searching for changes |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
363 1 changesets found |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
364 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
365 displaying test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
366 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
367 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
368 Subject: test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
369 Message-Id: <patchbomb.180@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
370 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
371 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
|
372 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
373 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
374 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
375 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
376 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
377 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
378 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
379 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
380 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
381 a multiline |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
382 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
383 description |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
384 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
385 --===*= (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
386 Content-Type: application/x-mercurial-bundle |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
387 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
388 Content-Disposition: attachment; filename="bundle.hg" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
389 Content-Transfer-Encoding: base64 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
390 |
37842
326b174c6a47
bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents:
37330
diff
changeset
|
391 SEcyMAAAAA5Db21wcmVzc2lvbj1CWkJaaDkxQVkmU1l91TAVAAAN////vFcSXL9/8H7R09C/578I |
326b174c6a47
bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents:
37330
diff
changeset
|
392 Ak0E4pe4SIIIgQSgGEQOcLABGYYNKgJgmhpp6mmjIZMCZNMhpgBBpkaYJpo9QaZMg02iaY2lCImK |
326b174c6a47
bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents:
37330
diff
changeset
|
393 emk02kmEAeoA0D01ANBoHqHqADTaj1NAAyZqA0Gg0KiYnqaepk0eoNDTCGj1A0eoyBoGjRkYBqAB |
326b174c6a47
bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents:
37330
diff
changeset
|
394 poNMmhkBhENSP0knlYZbqyEIYxkFdpDUS6roBDMgAGhkAqd92kEcgyeMo2MM366gpLNHjfKrhJPN |
326b174c6a47
bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents:
37330
diff
changeset
|
395 vdBCHAEDsYzAvzkHKxy5KWBAmh5e1nFttGChpsxrgmutRG0YrsSLWEBH9h95cbZEKFeUKYykRXHa |
326b174c6a47
bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents:
37330
diff
changeset
|
396 Bkt2OSgELsqqnWKeMudBR+YSZCOSHrwPz7B/Gfou7/L6QV6S0IgclBCitBVHMxMFq/vGwp5WHezM |
326b174c6a47
bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents:
37330
diff
changeset
|
397 JwhKTnH0OkMbmVjrAkQKR7VM2aNSXn+GzLOCzOQm0AJ1TLCpdSgnfFPcY7mGxAOyHXS1YEFVi5O9 |
326b174c6a47
bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents:
37330
diff
changeset
|
398 I4EVBBd8VRgN4n1MAm8l6QQ+yB60hkeX/0ZZmKoQRINkEBxEDZU2HjIZMcwWRvZtbRIa5kgkGIb/ |
326b174c6a47
bundle2: mark the bundle2 part as advisory (issue5872)
Boris Feld <boris.feld@octobus.net>
parents:
37330
diff
changeset
|
399 SkImFwIkDtQxyX+LuSKcKEg+6pgKgA== |
26924
45494030bb70
test: use generaldelta in 'test-patchbomb.t'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26626
diff
changeset
|
400 --===============*==-- (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
401 |
26563
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
402 with a specific bundle type |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
403 (binary part must be different) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
404 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
405 $ hg email --date '1970-1-1 0:3' -n -f quux -t foo \ |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
406 > -c bar -s test -r tip -b --desc description \ |
26924
45494030bb70
test: use generaldelta in 'test-patchbomb.t'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26626
diff
changeset
|
407 > --config patchbomb.bundletype=gzip-v1 | $FILTERBOUNDARY |
26563
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
408 searching for changes |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
409 1 changesets found |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
410 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
411 displaying test ... |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
412 Content-Type: multipart/mixed; boundary="===*==" (glob) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
413 MIME-Version: 1.0 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
414 Subject: test |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
415 Message-Id: <patchbomb.180@*> (glob) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
416 User-Agent: Mercurial-patchbomb/* (glob) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
417 Date: Thu, 01 Jan 1970 00:03:00 +0000 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
418 From: quux |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
419 To: foo |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
420 Cc: bar |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
421 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
422 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
423 MIME-Version: 1.0 |
26563
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
424 Content-Type: text/plain; charset="us-ascii" |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
425 Content-Transfer-Encoding: 7bit |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
426 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
427 a multiline |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
428 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
429 description |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
430 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
431 --===*= (glob) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
432 Content-Type: application/x-mercurial-bundle |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
433 MIME-Version: 1.0 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
434 Content-Disposition: attachment; filename="bundle.hg" |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
435 Content-Transfer-Encoding: base64 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
436 |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
437 SEcxMEdaeJxjYGBY8V9n/iLGbtFfJZuNk/euDCpWfrRy/vTrevFCx1/4t7J5LdeL0ix0Opx3kwEL |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
438 wKYXKqUJwqnG5sYWSWmmJsaWlqYWaRaWJpaWiWamZpYWRgZGxolJiabmSQbmZqlcQMV6QGwCxGzG |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
439 CgZcySARUyA2A2LGZKiZ3Y+Lu786z4z4MWXmsrAZCsqrl1az5y21PMcjpbThzWeXGT+/nutbmvvz |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
440 zXYS3BoGxdrJDIYmlimJJiZpRokmqYYmaSYWFknmSSkmhqbmliamiZYWxuYmBhbJBgZcUBNZQe5K |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
441 Epm7xF/LT+RLx/a9juFTomaYO/Rgsx4rwBN+IMCUDLOKAQBrsmti |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
442 --===============*==-- (glob) |
d4a1bfe1de63
patchbomb: add a 'bundletype' config under 'patchbomb'
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26546
diff
changeset
|
443 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
444 utf-8 patch: |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
445 $ $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
|
446 $ 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
|
447 adding description |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
448 adding utf |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
449 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
450 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
|
451 $ 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
|
452 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
453 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
454 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
455 displaying [PATCH] utf-8 content ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
456 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
457 Content-Type: text/plain; charset="us-ascii" |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
458 Content-Transfer-Encoding: 8bit |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
459 Subject: [PATCH] utf-8 content |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
460 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
461 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
462 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
463 Message-Id: <909a00e13e9d78b575ae.240@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
464 X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
465 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
466 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
|
467 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
468 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
469 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
470 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
471 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
472 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
473 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
474 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
475 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
476 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
477 utf-8 content |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
478 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
479 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
|
480 --- /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
|
481 +++ 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
|
482 @@ -0,0 +1,3 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
483 +a multiline |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
484 + |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
485 +description |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
486 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
|
487 --- /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
|
488 +++ 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
|
489 @@ -0,0 +1,1 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
490 +h\xc3\xb6mma! (esc) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
491 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
492 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
493 mime encoded mbox (base64): |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
494 $ 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
|
495 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
496 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
497 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
498 sending [PATCH] utf-8 content ... |
4420
b0656b33cc02
add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
499 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
500 $ cat mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
501 From quux ... ... .. ..:..:.. .... (re) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
502 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
503 Content-Type: text/plain; charset="utf-8" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
504 Content-Transfer-Encoding: base64 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
505 Subject: [PATCH] utf-8 content |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
506 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
507 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
508 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
509 Message-Id: <909a00e13e9d78b575ae.240@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
510 X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
511 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
512 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
|
513 From: Q <quux> |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
514 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
515 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
516 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
517 IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojICAgICAgVGh1IEph |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
518 biAwMSAwMDowMDowNCAxOTcwICswMDAwCiMgTm9kZSBJRCA5MDlhMDBlMTNlOWQ3OGI1NzVhZWVl |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
519 MjNkZGRiYWRhNDZkNWExNDNmCiMgUGFyZW50ICBmZjJjOWZhMjAxOGIxNWZhNzRiMzMzNjNiZGE5 |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
520 NTI3MzIzZTJhOTlmCnV0Zi04IGNvbnRlbnQKCmRpZmYgLXIgZmYyYzlmYTIwMThiIC1yIDkwOWEw |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
521 MGUxM2U5ZCBkZXNjcmlwdGlvbgotLS0gL2Rldi9udWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3 |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
522 MCArMDAwMAorKysgYi9kZXNjcmlwdGlvbglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
523 QEAgLTAsMCArMSwzIEBACithIG11bHRpbGluZQorCitkZXNjcmlwdGlvbgpkaWZmIC1yIGZmMmM5 |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
524 ZmEyMDE4YiAtciA5MDlhMDBlMTNlOWQgdXRmCi0tLSAvZGV2L251bGwJVGh1IEphbiAwMSAwMDow |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
525 MDowMCAxOTcwICswMDAwCisrKyBiL3V0ZglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK |
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
526 QEAgLTAsMCArMSwxIEBACitow7ZtbWEhCg== |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
527 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
528 |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
529 $ $PYTHON -c 'print open("mbox").read().split("\n\n")[1].decode("base64")' |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
530 # HG changeset patch |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
531 # User test |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
532 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
533 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
534 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
535 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
536 utf-8 content |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
537 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
538 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
|
539 --- /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
|
540 +++ 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
|
541 @@ -0,0 +1,3 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
542 +a multiline |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
543 + |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
544 +description |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
545 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
|
546 --- /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
|
547 +++ 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
|
548 @@ -0,0 +1,1 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
549 +h\xc3\xb6mma! (esc) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
550 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
551 $ rm mbox |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
552 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
553 mime encoded mbox (quoted-printable): |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
554 $ $PYTHON -c 'fp = open("long", "wb"); fp.write("%s\nfoo\n\nbar\n" % ("x" * 1024)); fp.close();' |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
555 $ hg commit -A -d '4 0' -m 'long line' |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
556 adding long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
557 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
558 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
|
559 $ 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
|
560 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
|
561 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
562 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
563 displaying [PATCH] long line ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
564 MIME-Version: 1.0 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
565 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
|
566 Content-Transfer-Encoding: quoted-printable |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
567 Subject: [PATCH] long line |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
568 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
569 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
570 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
571 Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
572 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
573 User-Agent: Mercurial-patchbomb/* (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
574 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
|
575 From: quux |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
576 To: foo |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
577 Cc: bar |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
578 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
579 # HG changeset patch |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
580 # User test |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
581 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
582 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
583 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
584 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
585 long line |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
586 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
587 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
588 --- /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
|
589 +++ 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
|
590 @@ -0,0 +1,4 @@ |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
591 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
592 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
593 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
594 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
595 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
596 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
597 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
598 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
599 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
600 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
601 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
602 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
603 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
604 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
605 +foo |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
606 + |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
607 +bar |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
608 |
4420
b0656b33cc02
add test for patchbomb extension.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
609 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
610 mime encoded mbox (quoted-printable): |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
611 $ 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
|
612 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
613 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
614 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
615 sending [PATCH] long line ... |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
616 $ cat mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
617 From quux ... ... .. ..:..:.. .... (re) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
618 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
619 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
620 Content-Transfer-Encoding: quoted-printable |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
621 Subject: [PATCH] long line |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
622 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
623 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
624 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
625 Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
626 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
627 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
628 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
|
629 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
630 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
631 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
632 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
633 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
634 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
635 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
636 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
637 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
638 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
639 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
640 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
641 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
642 --- /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
|
643 +++ 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
|
644 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
645 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
646 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
647 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
648 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
649 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
650 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
651 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
652 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
653 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
654 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
655 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
656 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
657 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
658 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
659 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
660 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
661 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
662 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
663 |
4565
1cf908c00479
Don't validate email config if we're not sending email.
Bryan O'Sullivan <bos@serpentine.com>
parents:
4420
diff
changeset
|
664 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
665 $ rm mbox |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
666 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
667 iso-8859-1 patch: |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
668 $ $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
|
669 $ 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
|
670 adding isolatin |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
671 |
30089
040f23ed6963
mail: take --encoding and HGENCODING into account
Gábor Stefanik <gabor.stefanik@nng.com>
parents:
29593
diff
changeset
|
672 iso-8859-1 mbox: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
673 $ 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
|
674 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
675 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
676 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
677 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
|
678 $ cat mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
679 From quux ... ... .. ..:..:.. .... (re) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
680 MIME-Version: 1.0 |
30089
040f23ed6963
mail: take --encoding and HGENCODING into account
Gábor Stefanik <gabor.stefanik@nng.com>
parents:
29593
diff
changeset
|
681 Content-Type: text/plain; charset="iso-8859-1" |
040f23ed6963
mail: take --encoding and HGENCODING into account
Gábor Stefanik <gabor.stefanik@nng.com>
parents:
29593
diff
changeset
|
682 Content-Transfer-Encoding: quoted-printable |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
683 Subject: [PATCH] isolatin 8-bit encoding |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
684 X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
685 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
686 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
687 Message-Id: <240fb913fc1b7ff15ddb.300@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
688 X-Mercurial-Series-Id: <240fb913fc1b7ff15ddb.300@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
689 User-Agent: Mercurial-patchbomb/* (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
690 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
|
691 From: quux |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
692 To: foo |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
693 Cc: bar |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
694 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
695 # HG changeset patch |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
696 # User test |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
697 # Date 5 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
698 # Thu Jan 01 00:00:05 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
699 # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
700 # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
701 isolatin 8-bit encoding |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
702 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
703 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
|
704 --- /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
|
705 +++ 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
|
706 @@ -0,0 +1,1 @@ |
30089
040f23ed6963
mail: take --encoding and HGENCODING into account
Gábor Stefanik <gabor.stefanik@nng.com>
parents:
29593
diff
changeset
|
707 +h=F6mma! |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
708 |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
709 |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
710 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
711 test diffstat for single patch: |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
712 $ 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
|
713 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
714 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
715 |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
716 Final summary: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
717 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
718 From: quux |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
719 To: foo |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
720 Cc: bar |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
721 Subject: [PATCH] test |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
722 c | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
723 1 files changed, 1 insertions(+), 0 deletions(-) |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
724 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
725 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
|
726 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
727 displaying [PATCH] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
728 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
729 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
730 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
731 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
732 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
733 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
734 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
735 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
736 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
737 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
738 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
|
739 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
740 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
741 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
742 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
743 c | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
744 1 files changed, 1 insertions(+), 0 deletions(-) |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
745 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
746 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
747 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
748 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
749 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
750 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
751 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
752 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
753 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
754 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
755 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
756 --- /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
|
757 +++ 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
|
758 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
759 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
760 |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
761 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
762 test diffstat for multiple patches: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
763 $ 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
|
764 > -r 0:1 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
765 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
766 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
767 |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
768 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
|
769 |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
770 |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
771 Final summary: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
772 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
773 From: quux |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
774 To: foo |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
775 Cc: bar |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
776 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
|
777 a | 1 + |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
778 b | 1 + |
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
779 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
|
780 Subject: [PATCH 1 of 2] a |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
781 a | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
782 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
|
783 Subject: [PATCH 2 of 2] b |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
784 b | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
785 1 files changed, 1 insertions(+), 0 deletions(-) |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
786 |
12200
aebb39d45500
patchbomb: let diffstat prompt only once with complete summary
Christian Ebert <blacktrash@gmx.net>
parents:
12197
diff
changeset
|
787 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
|
788 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
789 displaying [PATCH 0 of 2] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
790 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
791 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
792 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
793 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
|
794 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
795 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
796 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
|
797 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
798 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
799 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
800 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
801 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
802 a | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
803 b | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
804 2 files changed, 2 insertions(+), 0 deletions(-) |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
805 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
806 displaying [PATCH 1 of 2] a ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
807 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
808 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
809 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
810 Subject: [PATCH 1 of 2] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
811 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
812 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
813 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
814 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
815 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
816 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
817 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
818 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
819 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
|
820 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
821 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
822 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
823 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
824 a | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
825 1 files changed, 1 insertions(+), 0 deletions(-) |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
826 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
827 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
828 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
829 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
830 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
831 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
832 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
833 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
834 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
835 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
836 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
837 --- /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
|
838 +++ 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
|
839 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
840 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
841 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
842 displaying [PATCH 2 of 2] b ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
843 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
844 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
845 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
846 Subject: [PATCH 2 of 2] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
847 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
848 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
849 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
850 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
851 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
852 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
853 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
854 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
855 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
|
856 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
857 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
858 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
859 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
860 b | 1 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
861 1 files changed, 1 insertions(+), 0 deletions(-) |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
862 |
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 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
865 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
866 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
867 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
868 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
869 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
870 b |
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 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
873 --- /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
|
874 +++ 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
|
875 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
876 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
877 |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
878 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
879 test inline for single patch: |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
880 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
881 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
882 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
883 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
884 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
885 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
886 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
887 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
888 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
889 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
890 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
891 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
892 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
893 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
894 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
|
895 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
896 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
897 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
898 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
899 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
900 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
901 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
902 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
903 Content-Disposition: inline; filename=t2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
904 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
905 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
906 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
907 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
908 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
909 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
910 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
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 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
913 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
914 --- /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
|
915 +++ 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
|
916 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
917 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
918 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
919 --===*=-- (glob) |
5753
ea1016b32e94
patchbomb: make --bundle respect --desc
Patrick Mezard <pmezard@gmail.com>
parents:
4597
diff
changeset
|
920 |
7193
12fc42c78598
mail: test patch mime encoding for patchbomb
Christian Ebert <blacktrash@gmx.net>
parents:
5753
diff
changeset
|
921 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
922 test inline for single patch (quoted-printable): |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
923 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 4 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
924 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
925 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
926 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
927 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
928 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
929 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
930 Subject: [PATCH] test |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
931 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
932 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
933 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
934 Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
935 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
936 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
937 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
|
938 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
939 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
940 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
941 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
942 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
943 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
944 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
945 Content-Transfer-Encoding: quoted-printable |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
946 Content-Disposition: inline; filename=t2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
947 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
948 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
949 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
950 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
951 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
952 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
953 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
954 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
955 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
956 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
957 --- /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
|
958 +++ 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
|
959 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
960 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
972 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
973 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
974 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
975 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
976 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
977 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
978 --===*=-- (glob) |
8332
3e544c074459
patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents:
8160
diff
changeset
|
979 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
980 test inline for multiple patches: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
981 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \ |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
982 > -r 0:1 -r 4 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
983 this patch series consists of 3 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
984 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
985 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
986 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
987 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
988 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
989 displaying [PATCH 0 of 3] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
990 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
991 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
992 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
993 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
|
994 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
995 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
996 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
|
997 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
998 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
999 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1001 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1002 displaying [PATCH 1 of 3] a ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1003 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1004 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1005 Subject: [PATCH 1 of 3] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1006 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1007 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1008 X-Mercurial-Series-Total: 3 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1009 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1010 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1011 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1012 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1013 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1014 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
|
1015 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1016 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1017 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1018 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1019 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1020 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1021 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1022 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1023 Content-Disposition: inline; filename=t2-1.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1024 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1025 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1026 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1027 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1028 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1029 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1030 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1031 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1032 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1033 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1034 --- /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
|
1035 +++ 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
|
1036 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1037 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1038 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1039 --===*=-- (glob) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1040 displaying [PATCH 2 of 3] b ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1041 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1042 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1043 Subject: [PATCH 2 of 3] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1044 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1045 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1046 X-Mercurial-Series-Total: 3 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1047 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1048 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1049 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1050 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1051 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1052 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
|
1053 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1054 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1055 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1056 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1057 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1058 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1059 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1060 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1061 Content-Disposition: inline; filename=t2-2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1062 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1063 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1064 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1065 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1066 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1067 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1068 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1069 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1070 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1071 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1072 --- /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
|
1073 +++ 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
|
1074 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1075 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1076 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1077 --===*=-- (glob) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1078 displaying [PATCH 3 of 3] long line ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1079 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1080 MIME-Version: 1.0 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1081 Subject: [PATCH 3 of 3] long line |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1082 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1083 X-Mercurial-Series-Index: 3 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1084 X-Mercurial-Series-Total: 3 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1085 Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1086 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1087 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1088 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1089 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1090 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
|
1091 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1092 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1093 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1094 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1095 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1096 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1097 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1098 Content-Transfer-Encoding: quoted-printable |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1099 Content-Disposition: inline; filename=t2-3.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1100 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1101 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1102 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1103 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1104 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1105 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1106 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1107 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1108 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1109 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1110 --- /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
|
1111 +++ 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
|
1112 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1113 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1114 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1115 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1116 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1117 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1118 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1119 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1120 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1121 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1122 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1123 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1124 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1125 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1126 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1127 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1128 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1129 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1130 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1131 --===*=-- (glob) |
8332
3e544c074459
patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents:
8160
diff
changeset
|
1132 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1133 test attach for single patch: |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1134 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 2 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1135 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1136 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1137 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1138 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1139 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1140 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1141 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1142 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1143 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1144 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1145 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
1146 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1147 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1148 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
|
1149 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1150 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1151 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1152 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1153 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1154 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1155 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1156 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1157 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1158 Patch subject is complete summary. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1159 |
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 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1162 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1163 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1164 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1165 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1166 Content-Disposition: attachment; filename=t2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1167 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1168 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1169 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1170 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1171 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1172 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1173 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1174 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1175 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1176 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1177 --- /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
|
1178 +++ 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
|
1179 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1180 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1181 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1182 --===*=-- (glob) |
8332
3e544c074459
patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents:
8160
diff
changeset
|
1183 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1184 test attach for single patch (quoted-printable): |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1185 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 4 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1186 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1187 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1188 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1189 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1190 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1191 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1192 Subject: [PATCH] test |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1193 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1194 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1195 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1196 Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
1197 X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1198 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1199 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
|
1200 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1201 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1202 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1203 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1204 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1205 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1206 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1207 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1208 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1209 Patch subject is complete summary. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1210 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1211 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1212 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1213 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1214 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1215 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1216 Content-Transfer-Encoding: quoted-printable |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1217 Content-Disposition: attachment; filename=t2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1218 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1219 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1220 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1221 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1222 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1223 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1224 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1225 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1226 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1227 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1228 --- /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
|
1229 +++ 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
|
1230 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1231 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1232 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1233 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1234 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1235 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1236 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1237 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1238 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1239 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1240 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1241 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1242 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1243 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1244 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1245 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1246 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1247 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1248 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1249 --===*=-- (glob) |
7193
12fc42c78598
mail: test patch mime encoding for patchbomb
Christian Ebert <blacktrash@gmx.net>
parents:
5753
diff
changeset
|
1250 |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1251 test attach and body for single patch: |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1252 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a --body -r 2 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1253 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
|
1254 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1255 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1256 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1257 Content-Type: multipart/mixed; boundary="===*==" (glob) |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1258 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
|
1259 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
|
1260 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1261 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1262 X-Mercurial-Series-Total: 1 |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1263 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
1264 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1265 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
|
1266 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
|
1267 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
|
1268 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
|
1269 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
|
1270 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1271 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1272 MIME-Version: 1.0 |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1273 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
|
1274 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
|
1275 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1276 # 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
|
1277 # 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
|
1278 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1279 # Thu Jan 01 00:00:03 1970 +0000 |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1280 # 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
|
1281 # 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
|
1282 c |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1283 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1284 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
|
1285 --- /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
|
1286 +++ 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
|
1287 @@ -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
|
1288 +c |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1289 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1290 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1291 MIME-Version: 1.0 |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1292 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
|
1293 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
|
1294 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
|
1295 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1296 # 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
|
1297 # 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
|
1298 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1299 # Thu Jan 01 00:00:03 1970 +0000 |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1300 # 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
|
1301 # 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
|
1302 c |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1303 |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1304 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
|
1305 --- /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
|
1306 +++ 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
|
1307 @@ -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
|
1308 +c |
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1309 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1310 --===*=-- (glob) |
16307
17a9a1f5cee2
patchbomb: add --body flag to send patches as inline message body text
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
16233
diff
changeset
|
1311 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1312 test attach for multiple patches: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1313 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a \ |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1314 > -r 0:1 -r 4 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1315 this patch series consists of 3 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1316 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1317 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1318 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1319 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1320 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1321 displaying [PATCH 0 of 3] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1322 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1323 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1324 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1325 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
|
1326 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1327 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1328 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
|
1329 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1330 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1331 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1332 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1333 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1334 displaying [PATCH 1 of 3] a ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1335 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1336 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1337 Subject: [PATCH 1 of 3] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1338 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1339 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1340 X-Mercurial-Series-Total: 3 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1341 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1342 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1343 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1344 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1345 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1346 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
|
1347 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1348 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1349 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1350 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1351 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1352 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1353 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1354 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1355 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1356 Patch subject is complete summary. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1357 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1358 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1359 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1360 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1361 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1362 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1363 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1364 Content-Disposition: attachment; filename=t2-1.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1365 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1366 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1367 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1368 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1369 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1370 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1371 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1372 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1373 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1374 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1375 --- /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
|
1376 +++ 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
|
1377 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1378 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1379 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1380 --===*=-- (glob) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1381 displaying [PATCH 2 of 3] b ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1382 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1383 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1384 Subject: [PATCH 2 of 3] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1385 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1386 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1387 X-Mercurial-Series-Total: 3 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1388 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1389 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1390 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1391 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1392 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1393 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
|
1394 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1395 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1396 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1397 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1398 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1399 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1400 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1401 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1402 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1403 Patch subject is complete summary. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1404 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1405 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1406 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1407 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1408 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1409 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1410 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1411 Content-Disposition: attachment; filename=t2-2.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1412 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1413 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1414 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1415 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1416 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1417 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1418 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1419 b |
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 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1422 --- /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
|
1423 +++ 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
|
1424 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1425 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1426 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1427 --===*=-- (glob) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1428 displaying [PATCH 3 of 3] long line ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1429 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1430 MIME-Version: 1.0 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1431 Subject: [PATCH 3 of 3] long line |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1432 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1433 X-Mercurial-Series-Index: 3 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1434 X-Mercurial-Series-Total: 3 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1435 Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1436 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1437 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1438 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1439 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1440 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
|
1441 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1442 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1443 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1444 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1445 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1446 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1447 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1448 Content-Transfer-Encoding: 7bit |
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 Patch subject is complete summary. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1451 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1452 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1453 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1454 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1455 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1456 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1457 Content-Transfer-Encoding: quoted-printable |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1458 Content-Disposition: attachment; filename=t2-3.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1459 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1460 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1461 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1462 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1463 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1464 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1465 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1466 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1467 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1468 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1469 --- /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
|
1470 +++ 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
|
1471 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1472 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1473 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1474 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1475 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1476 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1477 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1478 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1479 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1480 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1481 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1482 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1483 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1484 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1485 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1486 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1487 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1488 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1489 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1490 --===*=-- (glob) |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
1491 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1492 test intro for single patch: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1493 $ 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
|
1494 > -r 2 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1495 this patch series consists of 1 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 1] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1502 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1503 Content-Type: text/plain; charset="us-ascii" |
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 1] 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 1] c ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1515 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1516 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1517 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1518 Subject: [PATCH 1 of 1] c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1519 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1520 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1521 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1522 Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1523 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1524 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1525 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1526 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1527 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
|
1528 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1529 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1530 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1531 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1532 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1533 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1534 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1535 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1536 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1537 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1538 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1539 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1540 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1541 --- /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
|
1542 +++ 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
|
1543 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1544 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1545 |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
1546 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1547 test --desc without --intro for a single patch: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1548 $ echo foo > intro.text |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1549 $ 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
|
1550 > -s test -r 2 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1551 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1552 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1553 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1554 displaying [PATCH 0 of 1] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1555 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1556 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1557 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1558 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
|
1559 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1560 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1561 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
|
1562 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1563 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1564 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1565 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1566 foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1567 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1568 displaying [PATCH 1 of 1] c ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1569 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1570 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1571 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1572 Subject: [PATCH 1 of 1] c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1573 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1574 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1575 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1576 Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1577 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1578 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1579 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1580 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1581 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
|
1582 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1583 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1584 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1585 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1586 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1587 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1588 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1589 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1590 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1591 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1592 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1593 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1594 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1595 --- /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
|
1596 +++ 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
|
1597 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1598 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1599 |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
1600 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1601 test intro for multiple patches: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1602 $ 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
|
1603 > -r 0:1 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1604 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1605 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1606 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1607 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1608 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1609 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1610 displaying [PATCH 0 of 2] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1611 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1612 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1613 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1614 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
|
1615 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1616 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1617 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
|
1618 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1619 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1620 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1621 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1622 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1623 displaying [PATCH 1 of 2] a ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1624 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1625 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1626 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1627 Subject: [PATCH 1 of 2] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1628 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1629 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1630 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1631 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1632 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1633 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1634 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1635 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1636 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
|
1637 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1638 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1639 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1640 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1641 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1642 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1643 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1644 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1645 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1646 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1647 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1648 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1649 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1650 --- /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
|
1651 +++ 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
|
1652 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1653 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1654 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1655 displaying [PATCH 2 of 2] b ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1656 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1657 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1658 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1659 Subject: [PATCH 2 of 2] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1660 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1661 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1662 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1663 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1664 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1665 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1666 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1667 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1668 Date: Thu, 01 Jan 1970 00:01:02 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1669 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1670 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1671 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1672 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1673 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1674 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1675 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1676 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1677 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1678 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1679 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1680 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1681 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1682 --- /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
|
1683 +++ 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
|
1684 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1685 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1686 |
8332
3e544c074459
patchbomb: quoted-printable encode overly long lines
Rocco Rutte <pdmef@gmx.net>
parents:
8160
diff
changeset
|
1687 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1688 test reply-to via config: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1689 $ 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
|
1690 > --config patchbomb.reply-to='baz@example.com' |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1691 this patch series consists of 1 patches. |
11910
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 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1694 displaying [PATCH] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1695 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1696 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1697 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1698 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1699 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1700 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1701 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1702 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
1703 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
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 Reply-To: baz@example.com |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1710 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1711 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1712 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1713 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1714 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1715 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1716 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1717 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1718 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1719 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1720 --- /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
|
1721 +++ 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
|
1722 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1723 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1724 |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
1725 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1726 test reply-to via command line: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1727 $ 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
|
1728 > --reply-to baz --reply-to fred |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1729 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1730 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1731 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1732 displaying [PATCH] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1733 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1734 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1735 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1736 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1737 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1738 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1739 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1740 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
1741 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1742 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1743 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
|
1744 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1745 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1746 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1747 Reply-To: baz, fred |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1748 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1749 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1750 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1751 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1752 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1753 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1754 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1755 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1756 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1757 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1758 --- /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
|
1759 +++ 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
|
1760 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1761 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1762 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1763 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1764 tagging csets: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1765 $ hg tag -r0 zero zero.foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1766 $ hg tag -r1 one one.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1767 $ hg tag -r2 two two.diff |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1768 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1769 test inline for single named patch: |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1770 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \ |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1771 > -r 2 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1772 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1773 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1774 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1775 displaying [PATCH] test ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1776 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1777 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1778 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1779 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1780 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1781 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1782 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
1783 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1784 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1785 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
|
1786 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1787 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1788 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1789 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1790 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1791 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1792 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1793 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1794 Content-Disposition: inline; filename=two.diff |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1795 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1796 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1797 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1798 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1799 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1800 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1801 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1802 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1803 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1804 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1805 --- /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
|
1806 +++ 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
|
1807 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1808 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1809 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1810 --===*=-- (glob) |
7360
42f1b8cb9a60
patchbomb: add option to send intro email for a single patch (issue1120)
Chris Winter <elwintro@gmail.com>
parents:
7358
diff
changeset
|
1811 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1812 test inline for multiple named/unnamed patches: |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1813 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \ |
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
1814 > -r 0:1 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1815 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1816 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1817 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1818 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1819 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1820 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1821 displaying [PATCH 0 of 2] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1822 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1823 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1824 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1825 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
|
1826 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1827 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1828 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
|
1829 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1830 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1831 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1832 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1833 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1834 displaying [PATCH 1 of 2] a ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1835 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1836 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1837 Subject: [PATCH 1 of 2] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1838 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1839 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1840 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1841 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1842 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1843 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1844 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1845 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1846 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
|
1847 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1848 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1849 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1850 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1851 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1852 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1853 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1854 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1855 Content-Disposition: inline; filename=t2-1.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1856 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1857 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1858 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1859 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1860 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1861 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1862 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1863 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1864 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1865 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1866 --- /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
|
1867 +++ 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
|
1868 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1869 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1870 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1871 --===*=-- (glob) |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1872 displaying [PATCH 2 of 2] b ... |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1873 Content-Type: multipart/mixed; boundary="===*==" (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1874 MIME-Version: 1.0 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1875 Subject: [PATCH 2 of 2] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1876 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1877 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1878 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1879 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1880 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1881 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1882 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1883 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1884 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
|
1885 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1886 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1887 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1888 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1889 --===*= (glob) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1890 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1891 Content-Type: text/x-patch; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1892 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1893 Content-Disposition: inline; filename=one.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1894 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1895 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1896 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1897 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1898 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1899 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1900 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1901 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1902 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1903 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1904 --- /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
|
1905 +++ 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
|
1906 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1907 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1908 |
21725
e8496c4ba6c0
test-patchbomb: normalize glob lines and record their construction
Augie Fackler <raf@durin42.com>
parents:
21724
diff
changeset
|
1909 --===*=-- (glob) |
10734
7a0502a6f9a1
patchbomb: --desc implies --intro
Cédric Duval <cedricduval@free.fr>
parents:
10257
diff
changeset
|
1910 |
11150
f66ca4431eb9
patchbomb: Reply-To support
Cédric Duval <cedricduval@free.fr>
parents:
10734
diff
changeset
|
1911 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1912 test inreplyto: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1913 $ 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
|
1914 > -r tip |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1915 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1916 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1917 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1918 displaying [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1919 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1920 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1921 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1922 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
|
1923 X-Mercurial-Node: 7aead2484924c445ad8ce2613df91f52f9e502ed |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1924 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1925 X-Mercurial-Series-Total: 1 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1926 Message-Id: <7aead2484924c445ad8c.60@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1927 X-Mercurial-Series-Id: <7aead2484924c445ad8c.60@*> (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1928 In-Reply-To: <baz> |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1929 References: <baz> |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1930 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1931 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
|
1932 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1933 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1934 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1935 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1936 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1937 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1938 # Date 0 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1939 # Thu Jan 01 00:00:00 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1940 # Node ID 7aead2484924c445ad8ce2613df91f52f9e502ed |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1941 # Parent 045ca29b1ea20e4940411e695e20e521f2f0f98e |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1942 Added tag two, two.diff for changeset ff2c9fa2018b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1943 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
1944 diff -r 045ca29b1ea2 -r 7aead2484924 .hgtags |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1945 --- 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
|
1946 +++ 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
|
1947 @@ -2,3 +2,5 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1948 8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1949 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1950 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1951 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1952 +ff2c9fa2018b15fa74b33363bda9527323e2a99f two.diff |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1953 |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1954 no intro message in non-interactive mode |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1955 $ 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
|
1956 > -r 0:1 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1957 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
1958 |
16233
3f79b110c4f0
patchbomb: add (optional) note to 0 of 0 prompt
Matt Mackall <mpm@selenic.com>
parents:
15623
diff
changeset
|
1959 (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
|
1960 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1961 displaying [PATCH 1 of 2] a ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1962 MIME-Version: 1.0 |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1963 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
|
1964 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
|
1965 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
|
1966 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1967 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1968 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1969 Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
1970 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1971 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
|
1972 References: <baz> |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
1973 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
|
1974 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
|
1975 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
|
1976 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
|
1977 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
|
1978 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1979 # 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
|
1980 # 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
|
1981 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
1982 # Thu Jan 01 00:00:01 1970 +0000 |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1983 # 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
|
1984 # 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
|
1985 a |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1986 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1987 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
|
1988 --- /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
|
1989 +++ 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
|
1990 @@ -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
|
1991 +a |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1992 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
1993 displaying [PATCH 2 of 2] b ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
1994 MIME-Version: 1.0 |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
1995 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
|
1996 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
|
1997 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
|
1998 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
1999 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2000 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2001 Message-Id: <97d72e5f12c7e84f8506.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2002 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
17859
d38d90ad5bbf
patchbomb: respect --in-reply-to for all mails if no intro message is sent
Thomas Arendsen Hein <thomas@intevation.de>
parents:
17743
diff
changeset
|
2003 In-Reply-To: <baz> |
d38d90ad5bbf
patchbomb: respect --in-reply-to for all mails if no intro message is sent
Thomas Arendsen Hein <thomas@intevation.de>
parents:
17743
diff
changeset
|
2004 References: <baz> |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2005 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
|
2006 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
|
2007 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
|
2008 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
|
2009 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
|
2010 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
2011 # 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
|
2012 # 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
|
2013 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2014 # Thu Jan 01 00:00:02 1970 +0000 |
15164
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
2015 # 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
|
2016 # 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
|
2017 b |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
2018 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
2019 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
|
2020 --- /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
|
2021 +++ 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
|
2022 @@ -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
|
2023 +b |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
2024 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
2025 |
7bddec632821
patchbomb: make it easy for the user to decline sending an intro message.
Greg Ward <greg@gerg.ca>
parents:
14101
diff
changeset
|
2026 |
11150
f66ca4431eb9
patchbomb: Reply-To support
Cédric Duval <cedricduval@free.fr>
parents:
10734
diff
changeset
|
2027 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2028 $ 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
|
2029 > -s test -r 0:1 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2030 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2031 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2032 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2033 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2034 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2035 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2036 displaying [PATCH 0 of 2] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2037 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2038 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2039 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2040 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
|
2041 Message-Id: <patchbomb.60@*> (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2042 In-Reply-To: <baz> |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2043 References: <baz> |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2044 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2045 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
|
2046 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2047 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2048 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2049 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2050 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2051 displaying [PATCH 1 of 2] a ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2052 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2053 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2054 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2055 Subject: [PATCH 1 of 2] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2056 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2057 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2058 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2059 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2060 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2061 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2062 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2063 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2064 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
|
2065 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2066 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2067 Cc: bar |
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 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2070 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2071 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2072 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2073 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2074 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2075 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2076 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2077 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2078 --- /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
|
2079 +++ 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
|
2080 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2081 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2082 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2083 displaying [PATCH 2 of 2] b ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2084 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2085 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2086 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2087 Subject: [PATCH 2 of 2] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2088 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2089 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2090 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2091 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2092 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2093 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2094 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2095 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2096 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
|
2097 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2098 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2099 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2100 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2101 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2102 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2103 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2104 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2105 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2106 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2107 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2108 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2109 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2110 --- /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
|
2111 +++ 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
|
2112 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2113 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2114 |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
2115 |
21055
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2116 test single flag for single patch (and no warning when not mailing dirty rev): |
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2117 $ hg up -qr1 |
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2118 $ echo dirt > a |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2119 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \ |
22071
f8fc5df6a8cf
test-patchbomb.t: work around Python change d579866d6419 (issue4188)
Augie Fackler <raf@durin42.com>
parents:
21727
diff
changeset
|
2120 > -r 2 | $FILTERBOUNDARY |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2121 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2122 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2123 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2124 displaying [PATCH fooFlag] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2125 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2126 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2127 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2128 Subject: [PATCH fooFlag] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2129 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2130 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2131 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2132 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
2133 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2134 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2135 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2136 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2137 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2138 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2139 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2140 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2141 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2142 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2143 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2144 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2145 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2146 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2147 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2148 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2149 --- /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
|
2150 +++ 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
|
2151 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2152 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2153 |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
2154 |
21055
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2155 test single flag for multiple patches (and warning when mailing dirty rev): |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2156 $ 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
|
2157 > -r 0:1 |
21055
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2158 warning: working directory has uncommitted changes |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2159 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2160 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2161 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2162 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2163 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2164 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2165 displaying [PATCH 0 of 2 fooFlag] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2166 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2167 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2168 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2169 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
|
2170 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2171 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2172 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
|
2173 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2174 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2175 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2176 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2177 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2178 displaying [PATCH 1 of 2 fooFlag] a ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2179 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2180 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2181 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2182 Subject: [PATCH 1 of 2 fooFlag] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2183 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2184 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2185 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2186 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2187 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2188 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2189 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2190 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2191 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
|
2192 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2193 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2194 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2195 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2196 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2197 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2198 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2199 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2200 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2201 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2202 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2203 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2204 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2205 --- /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
|
2206 +++ 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
|
2207 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2208 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2209 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2210 displaying [PATCH 2 of 2 fooFlag] b ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2211 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2212 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2213 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2214 Subject: [PATCH 2 of 2 fooFlag] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2215 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2216 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2217 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2218 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2219 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2220 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2221 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2222 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2223 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
|
2224 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2225 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2226 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2227 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2228 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2229 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2230 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2231 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2232 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2233 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2234 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2235 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2236 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2237 --- /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
|
2238 +++ 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
|
2239 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2240 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2241 |
21055
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2242 $ hg revert --no-b a |
dbff8c119cf6
patchbomb: warn when emailing a dirty working directory parent
Mads Kiilerich <madski@unity3d.com>
parents:
20117
diff
changeset
|
2243 $ hg up -q |
7358
3c2ed7c2dcb4
patchbomb: add tests for diffstat, inline, and attach options
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
7357
diff
changeset
|
2244 |
17502 | 2245 test multiple flags for single patch: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2246 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \ |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2247 > -c bar -s test -r 2 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2248 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2249 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2250 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2251 displaying [PATCH fooFlag barFlag] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2252 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2253 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2254 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2255 Subject: [PATCH fooFlag barFlag] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2256 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2257 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2258 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2259 Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
2260 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2261 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2262 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
|
2263 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2264 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2265 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2266 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2267 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2268 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2269 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2270 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2271 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2272 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2273 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2274 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2275 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2276 --- /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
|
2277 +++ 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
|
2278 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2279 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2280 |
9346
bb3f8f692bc6
patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
8514
diff
changeset
|
2281 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2282 test multiple flags for multiple patches: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2283 $ 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
|
2284 > -c bar -s test -r 0:1 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2285 this patch series consists of 2 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2286 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2287 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2288 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2289 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2290 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2291 displaying [PATCH 0 of 2 fooFlag barFlag] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2292 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2293 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2294 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2295 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
|
2296 Message-Id: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2297 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2298 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
|
2299 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2300 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2301 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2302 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2303 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2304 displaying [PATCH 1 of 2 fooFlag barFlag] a ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2305 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2306 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2307 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2308 Subject: [PATCH 1 of 2 fooFlag barFlag] a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2309 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2310 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2311 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2312 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2313 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2314 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2315 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2316 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2317 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
|
2318 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2319 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2320 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2321 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2322 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2323 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2324 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2325 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2326 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2327 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2328 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2329 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2330 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2331 --- /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
|
2332 +++ 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
|
2333 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2334 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2335 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2336 displaying [PATCH 2 of 2 fooFlag barFlag] b ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2337 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2338 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2339 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2340 Subject: [PATCH 2 of 2 fooFlag barFlag] b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2341 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2342 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2343 X-Mercurial-Series-Total: 2 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2344 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2345 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2346 In-Reply-To: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2347 References: <patchbomb.60@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2348 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2349 Date: Thu, 01 Jan 1970 00:01:02 +0000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2350 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2351 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2352 Cc: bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2353 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2354 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2355 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2356 # Date 2 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2357 # Thu Jan 01 00:00:02 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2358 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2359 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2360 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2361 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2362 diff -r 8580ff50825a -r 97d72e5f12c7 b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2363 --- /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
|
2364 +++ 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
|
2365 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2366 +b |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2367 |
9346
bb3f8f692bc6
patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
8514
diff
changeset
|
2368 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2369 test multi-address parsing: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2370 $ 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
|
2371 > -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
|
2372 > --config email.bcc='"Quux, A." <quux>' |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2373 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2374 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2375 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2376 sending [PATCH] test ... |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2377 $ cat < tmp.mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
2378 From quux ... ... .. ..:..:.. .... (re) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2379 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2380 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2381 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2382 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2383 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2384 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2385 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2386 Message-Id: <8580ff50825a50c8f716.315532860@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
2387 X-Mercurial-Series-Id: <8580ff50825a50c8f716.315532860@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2388 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2389 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
|
2390 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2391 To: spam <spam>, eggs, toast |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2392 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
|
2393 Bcc: "Quux, A." <quux> |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2394 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2395 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2396 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2397 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2398 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2399 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2400 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2401 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2402 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2403 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2404 --- /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
|
2405 +++ 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
|
2406 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2407 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2408 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2409 |
9346
bb3f8f692bc6
patchbomb: add --flag to put flags in subject prefixes
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
8514
diff
changeset
|
2410 |
31187
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2411 test flag template: |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2412 $ echo foo > intro.text |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2413 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -r 0:1 \ |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2414 > --desc intro.text --subject test \ |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2415 > --config patchbomb.flagtemplate='R{rev}' |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2416 this patch series consists of 2 patches. |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2417 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2418 Cc: |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2419 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2420 displaying [PATCH 0 of 2 R1] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2421 MIME-Version: 1.0 |
31187
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2422 Content-Type: text/plain; charset="us-ascii" |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2423 Content-Transfer-Encoding: 7bit |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2424 Subject: [PATCH 0 of 2 R1] test |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2425 Message-Id: <patchbomb.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2426 User-Agent: Mercurial-patchbomb/* (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2427 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2428 From: quux |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2429 To: foo |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2430 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2431 foo |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2432 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2433 displaying [PATCH 1 of 2 R0] a ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2434 MIME-Version: 1.0 |
31187
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2435 Content-Type: text/plain; charset="us-ascii" |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2436 Content-Transfer-Encoding: 7bit |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2437 Subject: [PATCH 1 of 2 R0] a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2438 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2439 X-Mercurial-Series-Index: 1 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2440 X-Mercurial-Series-Total: 2 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2441 Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2442 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2443 In-Reply-To: <patchbomb.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2444 References: <patchbomb.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2445 User-Agent: Mercurial-patchbomb/* (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2446 Date: Thu, 01 Jan 1970 00:01:01 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2447 From: quux |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2448 To: foo |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2449 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2450 # HG changeset patch |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2451 # User test |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2452 # Date 1 0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2453 # Thu Jan 01 00:00:01 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2454 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2455 # Parent 0000000000000000000000000000000000000000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2456 a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2457 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2458 diff -r 000000000000 -r 8580ff50825a a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2459 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2460 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2461 @@ -0,0 +1,1 @@ |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2462 +a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2463 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2464 displaying [PATCH 2 of 2 R1] b ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2465 MIME-Version: 1.0 |
31187
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2466 Content-Type: text/plain; charset="us-ascii" |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2467 Content-Transfer-Encoding: 7bit |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2468 Subject: [PATCH 2 of 2 R1] b |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2469 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2470 X-Mercurial-Series-Index: 2 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2471 X-Mercurial-Series-Total: 2 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2472 Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2473 X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2474 In-Reply-To: <patchbomb.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2475 References: <patchbomb.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2476 User-Agent: Mercurial-patchbomb/* (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2477 Date: Thu, 01 Jan 1970 00:01:02 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2478 From: quux |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2479 To: foo |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2480 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2481 # HG changeset patch |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2482 # User test |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2483 # Date 2 0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2484 # Thu Jan 01 00:00:02 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2485 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2486 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2487 b |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2488 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2489 diff -r 8580ff50825a -r 97d72e5f12c7 b |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2490 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2491 +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2492 @@ -0,0 +1,1 @@ |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2493 +b |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2494 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2495 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2496 test flag template plus --flag: |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2497 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -r 0 --flag 'V2' \ |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2498 > --config patchbomb.flagtemplate='{branch} {flags}' |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2499 this patch series consists of 1 patches. |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2500 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2501 Cc: |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2502 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2503 displaying [PATCH default V2] a ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2504 MIME-Version: 1.0 |
31187
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2505 Content-Type: text/plain; charset="us-ascii" |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2506 Content-Transfer-Encoding: 7bit |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2507 Subject: [PATCH default V2] a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2508 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2509 X-Mercurial-Series-Index: 1 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2510 X-Mercurial-Series-Total: 1 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2511 Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2512 X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2513 User-Agent: Mercurial-patchbomb/* (glob) |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2514 Date: Thu, 01 Jan 1970 00:01:00 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2515 From: quux |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2516 To: foo |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2517 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2518 # HG changeset patch |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2519 # User test |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2520 # Date 1 0 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2521 # Thu Jan 01 00:00:01 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2522 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2523 # Parent 0000000000000000000000000000000000000000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2524 a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2525 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2526 diff -r 000000000000 -r 8580ff50825a a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2527 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2528 +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2529 @@ -0,0 +1,1 @@ |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2530 +a |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2531 |
6b8e1a08ef1d
patchbomb: add config knob to generate flags by template (issue5354)
Yuya Nishihara <yuya@tcha.org>
parents:
30211
diff
changeset
|
2532 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2533 test multi-byte domain parsing: |
22947
c63a09b6b337
tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents:
22589
diff
changeset
|
2534 $ UUML=`$PYTHON -c 'import sys; sys.stdout.write("\374")'` |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2535 $ HGENCODING=iso-8859-1 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2536 $ export HGENCODING |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2537 $ 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
|
2538 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2539 |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2540 Cc: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2541 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2542 sending [PATCH] test ... |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2543 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2544 $ cat tmp.mbox |
15559
1830d0cc4bc1
patchbomb: minor refactoring of mbox functionality, preparing for move
Mads Kiilerich <mads@kiilerich.com>
parents:
15547
diff
changeset
|
2545 From quux ... ... .. ..:..:.. .... (re) |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2546 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2547 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2548 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2549 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2550 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2551 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2552 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2553 Message-Id: <8580ff50825a50c8f716.315532860@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
2554 X-Mercurial-Series-Id: <8580ff50825a50c8f716.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2555 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2556 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
|
2557 From: quux |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2558 To: bar@xn--nicode-2ya.com |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2559 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2560 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2561 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2562 # Date 1 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2563 # Thu Jan 01 00:00:01 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2564 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2565 # Parent 0000000000000000000000000000000000000000 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2566 a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2567 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2568 diff -r 000000000000 -r 8580ff50825a a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2569 --- /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
|
2570 +++ 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
|
2571 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2572 +a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2573 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2574 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2575 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2576 test outgoing: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2577 $ hg up 1 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2578 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
|
2579 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2580 $ hg branch test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2581 marked working directory as branch test |
15615 | 2582 (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
|
2583 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2584 $ echo d > d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2585 $ hg add d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2586 $ hg ci -md -d '4 0' |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2587 $ echo d >> d |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2588 $ hg ci -mdd -d '5 0' |
20117
aa9385f983fa
tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents:
18648
diff
changeset
|
2589 $ hg log -G --template "{rev}:{node|short} {desc|firstline}\n" |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2590 @ 10:3b6f1ec9dde9 dd |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2591 | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2592 o 9:2f9fa9b998c5 d |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2593 | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2594 | 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
|
2595 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2596 | 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
|
2597 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2598 | 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
|
2599 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2600 | o 5:240fb913fc1b isolatin 8-bit encoding |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2601 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2602 | o 4:a2ea8fc83dd8 long line |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2603 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2604 | o 3:909a00e13e9d utf-8 content |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2605 | | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2606 | o 2:ff2c9fa2018b c |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2607 |/ |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2608 o 1:97d72e5f12c7 b |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2609 | |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2610 o 0:8580ff50825a a |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2611 |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2612 $ hg phase --force --secret -r 10 |
17177
ef507130fc92
patchbomb: support --outgoing and revsets
Patrick Mezard <patrick@mezard.eu>
parents:
17176
diff
changeset
|
2613 $ 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
|
2614 comparing with ../t |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2615 From [test]: test |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2616 this patch series consists of 6 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2617 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2618 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2619 Write the introductory message for the patch series. |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2620 |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2621 Cc: |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2622 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2623 displaying [PATCH 0 of 6] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2624 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2625 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2626 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2627 Subject: [PATCH 0 of 6] test |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2628 Message-Id: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2629 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2630 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
|
2631 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2632 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2633 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2634 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2635 displaying [PATCH 1 of 6] c ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2636 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2637 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2638 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2639 Subject: [PATCH 1 of 6] c |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2640 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2641 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2642 X-Mercurial-Series-Total: 6 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2643 Message-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2644 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2645 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2646 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2647 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2648 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
|
2649 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2650 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2651 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2652 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2653 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2654 # Date 3 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2655 # Thu Jan 01 00:00:03 1970 +0000 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2656 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2657 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2658 c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2659 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2660 diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2661 --- /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
|
2662 +++ 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
|
2663 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2664 +c |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2665 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2666 displaying [PATCH 2 of 6] utf-8 content ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2667 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2668 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2669 Content-Transfer-Encoding: 8bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2670 Subject: [PATCH 2 of 6] utf-8 content |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2671 X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2672 X-Mercurial-Series-Index: 2 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2673 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2674 Message-Id: <909a00e13e9d78b575ae.315532862@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2675 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2676 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2677 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2678 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2679 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
|
2680 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2681 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2682 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2683 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2684 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2685 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2686 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2687 # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2688 # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2689 utf-8 content |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2690 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2691 diff -r ff2c9fa2018b -r 909a00e13e9d description |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2692 --- /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
|
2693 +++ 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
|
2694 @@ -0,0 +1,3 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2695 +a multiline |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2696 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2697 +description |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2698 diff -r ff2c9fa2018b -r 909a00e13e9d utf |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2699 --- /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
|
2700 +++ 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
|
2701 @@ -0,0 +1,1 @@ |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12941
diff
changeset
|
2702 +h\xc3\xb6mma! (esc) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2703 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2704 displaying [PATCH 3 of 6] long line ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2705 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2706 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2707 Content-Transfer-Encoding: quoted-printable |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2708 Subject: [PATCH 3 of 6] long line |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2709 X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2710 X-Mercurial-Series-Index: 3 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2711 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2712 Message-Id: <a2ea8fc83dd8b93cfd86.315532863@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2713 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2714 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2715 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2716 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2717 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
|
2718 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2719 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2720 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2721 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2722 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2723 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2724 # Thu Jan 01 00:00:04 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2725 # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2726 # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2727 long line |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2728 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2729 diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2730 --- /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
|
2731 +++ 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
|
2732 @@ -0,0 +1,4 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2733 +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2734 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2735 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2736 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2737 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2738 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2739 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2740 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2741 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2742 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2743 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2744 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2745 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2746 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2747 +foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2748 + |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2749 +bar |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2750 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2751 displaying [PATCH 4 of 6] isolatin 8-bit encoding ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2752 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2753 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2754 Content-Transfer-Encoding: 8bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2755 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
|
2756 X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2757 X-Mercurial-Series-Index: 4 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2758 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2759 Message-Id: <240fb913fc1b7ff15ddb.315532864@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2760 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2761 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2762 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2763 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2764 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
|
2765 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2766 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2767 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2768 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2769 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2770 # Date 5 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2771 # Thu Jan 01 00:00:05 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2772 # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2773 # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2774 isolatin 8-bit encoding |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2775 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2776 diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2777 --- /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
|
2778 +++ 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
|
2779 @@ -0,0 +1,1 @@ |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12941
diff
changeset
|
2780 +h\xf6mma! (esc) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2781 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2782 displaying [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2783 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2784 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2785 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2786 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
|
2787 X-Mercurial-Node: 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2788 X-Mercurial-Series-Index: 5 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2789 X-Mercurial-Series-Total: 6 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2790 Message-Id: <5d5ef15dfe5e7bd3a4ee.315532865@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2791 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2792 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2793 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2794 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2795 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
|
2796 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2797 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2798 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2799 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2800 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2801 # Date 0 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2802 # Thu Jan 01 00:00:00 1970 +0000 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2803 # Node ID 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433 |
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2804 # Parent 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2805 Added tag zero, zero.foo for changeset 8580ff50825a |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2806 |
15547
7f1d263a1bcb
tests: test-patchbomb.t cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
15546
diff
changeset
|
2807 diff -r 240fb913fc1b -r 5d5ef15dfe5e .hgtags |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2808 --- /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
|
2809 +++ 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
|
2810 @@ -0,0 +1,2 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2811 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2812 +8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2813 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2814 displaying [PATCH 6 of 6] d ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2815 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2816 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2817 Content-Transfer-Encoding: 7bit |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2818 Subject: [PATCH 6 of 6] d |
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2819 X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2820 X-Mercurial-Series-Index: 6 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2821 X-Mercurial-Series-Total: 6 |
17176
2ab165cf3d8a
patchbomb: make --outgoing ignore secret changesets
Patrick Mezard <patrick@mezard.eu>
parents:
16931
diff
changeset
|
2822 Message-Id: <2f9fa9b998c5fe3ac2bd.315532866@*> (glob) |
21727
5f98ad8fb8d9
patchbomb: reorder header insertions to clarify code
Augie Fackler <raf@durin42.com>
parents:
21726
diff
changeset
|
2823 X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2824 In-Reply-To: <patchbomb.315532860@*> (glob) |
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2825 References: <patchbomb.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2826 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2827 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
|
2828 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2829 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2830 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2831 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2832 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2833 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2834 # 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
|
2835 # Branch test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2836 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2837 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2838 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2839 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2840 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2841 --- /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
|
2842 +++ 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
|
2843 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2844 +d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2845 |
9947
4600e6222efb
patchbomb: fix parsing of multiple addresses, allow multiple addrs in --to/cc/bcc
Marti Raudsepp <marti@juffo.org>
parents:
9913
diff
changeset
|
2846 |
27697
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2847 Don't prompt for a CC header. |
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2848 |
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2849 $ echo "[email]" >> $HGRCPATH |
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2850 $ echo "cc=" >> $HGRCPATH |
0ce0cfee497f
patchbomb: treat empty address list as no addresses
Bryan O'Sullivan <bos@serpentine.com>
parents:
27659
diff
changeset
|
2851 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2852 dest#branch URIs: |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2853 $ 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
|
2854 comparing with ../t |
15165
3a55cee825ba
patchbomb: use prompt even in non-interactive mode
Matt Mackall <mpm@selenic.com>
parents:
15164
diff
changeset
|
2855 From [test]: test |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2856 this patch series consists of 1 patches. |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2857 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2858 |
16931
ee388b0a6f67
patchbomb: lowercase status messages
Martin Geisler <mg@aragost.com>
parents:
16913
diff
changeset
|
2859 displaying [PATCH] test ... |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2860 MIME-Version: 1.0 |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2861 Content-Type: text/plain; charset="us-ascii" |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2862 Content-Transfer-Encoding: 7bit |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2863 Subject: [PATCH] test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2864 X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
21282
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2865 X-Mercurial-Series-Index: 1 |
697fba94dec9
patchbomb: includes series information in the header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21055
diff
changeset
|
2866 X-Mercurial-Series-Total: 1 |
15546
1346bf5ff901
tests: show actual output in test-patchbomb.t
Mads Kiilerich <mads@kiilerich.com>
parents:
15519
diff
changeset
|
2867 Message-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob) |
21724
36b31f7867a7
patchbomb: includes a unique series ID in email header
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21282
diff
changeset
|
2868 X-Mercurial-Series-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob) |
12376
97ffc68f71d3
tests: add glob matching for unified tests
Brodie Rao <brodie@bitheap.org>
parents:
12375
diff
changeset
|
2869 User-Agent: Mercurial-patchbomb/* (glob) |
11910
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2870 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
|
2871 From: test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2872 To: foo |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2873 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2874 # HG changeset patch |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2875 # User test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2876 # Date 4 0 |
18648
76b69cccb07a
export: show 'Date' header in a format that also is readable for humans
Mads Kiilerich <mads@kiilerich.com>
parents:
17859
diff
changeset
|
2877 # 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
|
2878 # Branch test |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2879 # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2880 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2881 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2882 |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2883 diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2884 --- /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
|
2885 +++ 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
|
2886 @@ -0,0 +1,1 @@ |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2887 +d |
2afefc01259e
tests: unify test-patchbomb
Andreas Freimuth <andreas.freimuth@united-bits.de>
parents:
11150
diff
changeset
|
2888 |
31860
56f58027a513
test-patchbomb: disable sendmail tests on Windows
Matt Harbison <matt_harbison@yahoo.com>
parents:
31489
diff
changeset
|
2889 #if no-windows |
16913
f2719b387380
tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents:
16901
diff
changeset
|
2890 |
27658
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2891 Set up a fake sendmail program |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2892 |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2893 $ cat > pretendmail.sh << 'EOF' |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2894 > #!/bin/sh |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2895 > echo "$@" |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2896 > cat |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2897 > EOF |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2898 $ chmod +x pretendmail.sh |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2899 |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2900 $ echo '[email]' >> $HGRCPATH |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2901 $ echo "method=`pwd`/pretendmail.sh" >> $HGRCPATH |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2902 |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2903 Test introduction configuration |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2904 ================================= |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2905 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2906 $ echo '[patchbomb]' >> $HGRCPATH |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2907 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2908 "auto" setting |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2909 ---------------- |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2910 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2911 $ echo 'intro=auto' >> $HGRCPATH |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2912 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2913 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2914 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2915 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2916 [1] |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2917 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2918 single rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2919 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2920 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2921 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2922 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2923 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2924 Multi rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2925 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2926 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2927 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2928 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2929 "never" setting |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2930 ----------------- |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2931 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2932 $ echo 'intro=never' >> $HGRCPATH |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2933 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2934 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2935 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2936 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2937 [1] |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2938 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2939 single rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2940 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2941 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2942 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2943 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2944 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2945 Multi rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2946 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2947 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2948 [1] |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2949 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2950 Multi rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2951 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2952 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' --intro | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2953 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2954 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2955 "always" setting |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2956 ----------------- |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2957 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2958 $ echo 'intro=always' >> $HGRCPATH |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2959 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2960 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2961 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2962 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2963 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2964 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2965 single rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2966 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2967 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2968 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2969 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2970 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2971 Multi rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2972 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2973 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2974 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2975 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2976 Multi rev + flag |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2977 |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
2978 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' --intro | grep "Write the introductory message for the patch series." |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2979 Write the introductory message for the patch series. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2980 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2981 bad value setting |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2982 ----------------- |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2983 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2984 $ echo 'intro=mpmwearaclownnose' >> $HGRCPATH |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2985 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2986 single rev |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2987 |
27658
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2988 $ hg email --date '1980-1-1 0:1' -v -t foo -s test -r '10' |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2989 From [test]: test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2990 this patch series consists of 1 patches. |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2991 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2992 warning: invalid patchbomb.intro value "mpmwearaclownnose" |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2993 (should be one of always, never, auto) |
27658
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
2994 -f test foo |
34310
2d0c306a88c2
mail: encode long unicode lines in emails properly (issue5687)
Igor Ippolitov <iippolitov@gmail.com>
parents:
34301
diff
changeset
|
2995 MIME-Version: 1.0 |
23487
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2996 Content-Type: text/plain; charset="us-ascii" |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2997 Content-Transfer-Encoding: 7bit |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2998 Subject: [PATCH] test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
2999 X-Mercurial-Node: 3b6f1ec9dde933a40a115a7990f8b320477231af |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3000 X-Mercurial-Series-Index: 1 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3001 X-Mercurial-Series-Total: 1 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3002 Message-Id: <3b6f1ec9dde933a40a11*> (glob) |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3003 X-Mercurial-Series-Id: <3b6f1ec9dde933a40a11.*> (glob) |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3004 User-Agent: Mercurial-patchbomb/* (glob) |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3005 Date: Tue, 01 Jan 1980 00:01:00 +0000 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3006 From: test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3007 To: foo |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3008 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3009 # HG changeset patch |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3010 # User test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3011 # Date 5 0 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3012 # Thu Jan 01 00:00:05 1970 +0000 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3013 # Branch test |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3014 # Node ID 3b6f1ec9dde933a40a115a7990f8b320477231af |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3015 # Parent 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3016 dd |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3017 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3018 diff -r 2f9fa9b998c5 -r 3b6f1ec9dde9 d |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3019 --- a/d Thu Jan 01 00:00:04 1970 +0000 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3020 +++ b/d Thu Jan 01 00:00:05 1970 +0000 |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3021 @@ -1,1 +1,2 @@ |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3022 d |
c14af817ab76
patchbomb: add a 'patchbomb.intro' option
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23450
diff
changeset
|
3023 +d |
27658
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
3024 |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
3025 sending [PATCH] test ... |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
3026 sending mail: $TESTTMP/t2/pretendmail.sh -f test foo |
a6eddc8be811
test-patchbomb.t: test use of sendmail program
Bryan O'Sullivan <bos@serpentine.com>
parents:
26925
diff
changeset
|
3027 |
26546
500386e65759
patchbomb: add experimental config of a "pullurl" and export it
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25482
diff
changeset
|
3028 Test pull url header |
500386e65759
patchbomb: add experimental config of a "pullurl" and export it
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25482
diff
changeset
|
3029 ================================= |
500386e65759
patchbomb: add experimental config of a "pullurl" and export it
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25482
diff
changeset
|
3030 |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3031 basic version |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3032 |
26546
500386e65759
patchbomb: add experimental config of a "pullurl" and export it
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
25482
diff
changeset
|
3033 $ echo 'intro=auto' >> $HGRCPATH |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3034 $ echo "publicurl=$TESTTMP/t2" >> $HGRCPATH |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
3035 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep '^#' |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3036 abort: public url $TESTTMP/t2 is missing 3b6f1ec9dde9 |
28981
7b188bc23942
patchbomb: use single quotes around command hint
timeless <timeless@mozdev.org>
parents:
28907
diff
changeset
|
3037 (use 'hg push $TESTTMP/t2 -r 3b6f1ec9dde9') |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3038 [1] |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3039 |
28906
ac1bb8ca6d39
tests: clarify patchbomb repo is public not remote
timeless <timeless@mozdev.org>
parents:
28051
diff
changeset
|
3040 public missing |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3041 |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3042 $ echo 'publicurl=$TESTTMP/missing' >> $HGRCPATH |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
3043 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3044 unable to access public repo: $TESTTMP/missing |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3045 abort: repository $TESTTMP/missing not found! |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3046 [255] |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3047 |
28906
ac1bb8ca6d39
tests: clarify patchbomb repo is public not remote
timeless <timeless@mozdev.org>
parents:
28051
diff
changeset
|
3048 node missing at public |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3049 |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3050 $ hg clone -r '9' . ../t3 |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3051 adding changesets |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3052 adding manifests |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3053 adding file changes |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3054 added 3 changesets with 3 changes to 3 files |
34661
eb586ed5d8ce
transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
34316
diff
changeset
|
3055 new changesets 8580ff50825a:2f9fa9b998c5 |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3056 updating to branch test |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3057 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3058 $ echo 'publicurl=$TESTTMP/t3' >> $HGRCPATH |
27659
abc91688fa2c
test-patchbomb.t: drop a number of now-redundant uses of "-n"
Bryan O'Sullivan <bos@serpentine.com>
parents:
27658
diff
changeset
|
3059 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3060 abort: public url $TESTTMP/t3 is missing 3b6f1ec9dde9 |
28981
7b188bc23942
patchbomb: use single quotes around command hint
timeless <timeless@mozdev.org>
parents:
28907
diff
changeset
|
3061 (use 'hg push $TESTTMP/t3 -r 3b6f1ec9dde9') |
26626
dca161728dc9
patchbomb: check that targets exist at the publicurl
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
26563
diff
changeset
|
3062 [255] |
28907
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
3063 |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
3064 multiple heads are missing at public |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
3065 |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
3066 $ hg email --date '1980-1-1 0:1' -t foo -s test -r '2+10' |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
3067 abort: public "$TESTTMP/t3" is missing ff2c9fa2018b and 1 others |
28981
7b188bc23942
patchbomb: use single quotes around command hint
timeless <timeless@mozdev.org>
parents:
28907
diff
changeset
|
3068 (use 'hg push $TESTTMP/t3 -r ff2c9fa2018b -r 3b6f1ec9dde9') |
28907
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
3069 [255] |
66e647312d30
patchbomb: fix public-is-missing hint
timeless <timeless@mozdev.org>
parents:
28906
diff
changeset
|
3070 |
31860
56f58027a513
test-patchbomb: disable sendmail tests on Windows
Matt Harbison <matt_harbison@yahoo.com>
parents:
31489
diff
changeset
|
3071 #endif |