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