Show More
@@ -0,0 +1,18 b'' | |||||
|
1 | from __future__ import absolute_import | |||
|
2 | ||||
|
3 | import os | |||
|
4 | import time | |||
|
5 | ||||
|
6 | class mocktime(object): | |||
|
7 | def __init__(self, increment): | |||
|
8 | self.time = 0 | |||
|
9 | self.increment = [float(s) for s in increment.split()] | |||
|
10 | self.pos = 0 | |||
|
11 | ||||
|
12 | def __call__(self): | |||
|
13 | self.time += self.increment[self.pos % len(self.increment)] | |||
|
14 | self.pos += 1 | |||
|
15 | return self.time | |||
|
16 | ||||
|
17 | def uisetup(ui): | |||
|
18 | time.time = mocktime(os.environ.get('MOCKTIME', '0.1')) |
@@ -1,3070 +1,3071 b'' | |||||
1 | Note for future hackers of patchbomb: this file is a bit heavy on |
|
1 | Note for future hackers of patchbomb: this file is a bit heavy on | |
2 | wildcards in test expectations due to how many things like hostnames |
|
2 | wildcards in test expectations due to how many things like hostnames | |
3 | tend to make it into outputs. As a result, you may need to perform the |
|
3 | tend to make it into outputs. As a result, you may need to perform the | |
4 | following regular expression substitutions: |
|
4 | following regular expression substitutions: | |
5 | @$HOSTNAME> -> @*> (glob) |
|
5 | @$HOSTNAME> -> @*> (glob) | |
6 | Mercurial-patchbomb/.* -> Mercurial-patchbomb/* (glob) |
|
6 | Mercurial-patchbomb/.* -> Mercurial-patchbomb/* (glob) | |
7 | /mixed; boundary="===+[0-9]+==" -> /mixed; boundary="===*== (glob)" |
|
7 | /mixed; boundary="===+[0-9]+==" -> /mixed; boundary="===*== (glob)" | |
8 | --===+[0-9]+=+--$ -> --===*=-- (glob) |
|
8 | --===+[0-9]+=+--$ -> --===*=-- (glob) | |
9 | --===+[0-9]+=+$ -> --===*= (glob) |
|
9 | --===+[0-9]+=+$ -> --===*= (glob) | |
10 |
|
10 | |||
11 | $ cat > prune-blank-after-boundary.py <<EOF |
|
11 | $ cat > prune-blank-after-boundary.py <<EOF | |
12 | > from __future__ import absolute_import, print_function |
|
12 | > from __future__ import absolute_import, print_function | |
13 | > import sys |
|
13 | > import sys | |
14 | > skipblank = False |
|
14 | > skipblank = False | |
15 | > trim = lambda x: x.strip(' \r\n') |
|
15 | > trim = lambda x: x.strip(' \r\n') | |
16 | > for l in sys.stdin: |
|
16 | > for l in sys.stdin: | |
17 | > if trim(l).endswith('=--') or trim(l).endswith('=='): |
|
17 | > if trim(l).endswith('=--') or trim(l).endswith('=='): | |
18 | > skipblank = True |
|
18 | > skipblank = True | |
19 | > print(l, end='') |
|
19 | > print(l, end='') | |
20 | > continue |
|
20 | > continue | |
21 | > if not trim(l) and skipblank: |
|
21 | > if not trim(l) and skipblank: | |
22 | > continue |
|
22 | > continue | |
23 | > skipblank = False |
|
23 | > skipblank = False | |
24 | > print(l, end='') |
|
24 | > print(l, end='') | |
25 | > EOF |
|
25 | > EOF | |
26 | $ FILTERBOUNDARY="$PYTHON `pwd`/prune-blank-after-boundary.py" |
|
26 | $ FILTERBOUNDARY="$PYTHON `pwd`/prune-blank-after-boundary.py" | |
27 | $ echo "[format]" >> $HGRCPATH |
|
27 | $ echo "[format]" >> $HGRCPATH | |
28 | $ echo "usegeneraldelta=yes" >> $HGRCPATH |
|
28 | $ echo "usegeneraldelta=yes" >> $HGRCPATH | |
29 | $ echo "[extensions]" >> $HGRCPATH |
|
29 | $ echo "[extensions]" >> $HGRCPATH | |
30 | $ echo "patchbomb=" >> $HGRCPATH |
|
30 | $ echo "patchbomb=" >> $HGRCPATH | |
31 |
|
31 | |||
32 | $ hg init t |
|
32 | $ hg init t | |
33 | $ cd t |
|
33 | $ cd t | |
34 | $ echo a > a |
|
34 | $ echo a > a | |
35 | $ hg commit -Ama -d '1 0' |
|
35 | $ hg commit -Ama -d '1 0' | |
36 | adding a |
|
36 | adding a | |
37 |
|
37 | |||
38 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip |
|
38 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip | |
39 | this patch series consists of 1 patches. |
|
39 | this patch series consists of 1 patches. | |
40 |
|
40 | |||
41 |
|
41 | |||
42 | displaying [PATCH] a ... |
|
42 | displaying [PATCH] a ... | |
43 | MIME-Version: 1.0 |
|
43 | MIME-Version: 1.0 | |
44 | Content-Type: text/plain; charset="us-ascii" |
|
44 | Content-Type: text/plain; charset="us-ascii" | |
45 | Content-Transfer-Encoding: 7bit |
|
45 | Content-Transfer-Encoding: 7bit | |
46 | Subject: [PATCH] a |
|
46 | Subject: [PATCH] a | |
47 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
47 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
48 | X-Mercurial-Series-Index: 1 |
|
48 | X-Mercurial-Series-Index: 1 | |
49 | X-Mercurial-Series-Total: 1 |
|
49 | X-Mercurial-Series-Total: 1 | |
50 | Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
|
50 | Message-Id: <8580ff50825a50c8f716.60@*> (glob) | |
51 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
|
51 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) | |
52 | User-Agent: Mercurial-patchbomb/* (glob) |
|
52 | User-Agent: Mercurial-patchbomb/* (glob) | |
53 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
53 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
54 | From: quux |
|
54 | From: quux | |
55 | To: foo |
|
55 | To: foo | |
56 | Cc: bar |
|
56 | Cc: bar | |
57 |
|
57 | |||
58 | # HG changeset patch |
|
58 | # HG changeset patch | |
59 | # User test |
|
59 | # User test | |
60 | # Date 1 0 |
|
60 | # Date 1 0 | |
61 | # Thu Jan 01 00:00:01 1970 +0000 |
|
61 | # Thu Jan 01 00:00:01 1970 +0000 | |
62 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
62 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
63 | # Parent 0000000000000000000000000000000000000000 |
|
63 | # Parent 0000000000000000000000000000000000000000 | |
64 | a |
|
64 | a | |
65 |
|
65 | |||
66 | diff -r 000000000000 -r 8580ff50825a a |
|
66 | diff -r 000000000000 -r 8580ff50825a a | |
67 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
67 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
68 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
68 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
69 | @@ -0,0 +1,1 @@ |
|
69 | @@ -0,0 +1,1 @@ | |
70 | +a |
|
70 | +a | |
71 |
|
71 | |||
72 |
|
72 | |||
73 | If --to is specified on the command line, it should override any |
|
73 | If --to is specified on the command line, it should override any | |
74 | email.to config setting. Same for --cc: |
|
74 | email.to config setting. Same for --cc: | |
75 |
|
75 | |||
76 | $ hg email --date '1970-1-1 0:1' -n -f quux --to foo --cc bar -r tip \ |
|
76 | $ hg email --date '1970-1-1 0:1' -n -f quux --to foo --cc bar -r tip \ | |
77 | > --config email.to=bob@example.com --config email.cc=alice@example.com |
|
77 | > --config email.to=bob@example.com --config email.cc=alice@example.com | |
78 | this patch series consists of 1 patches. |
|
78 | this patch series consists of 1 patches. | |
79 |
|
79 | |||
80 |
|
80 | |||
81 | displaying [PATCH] a ... |
|
81 | displaying [PATCH] a ... | |
82 | MIME-Version: 1.0 |
|
82 | MIME-Version: 1.0 | |
83 | Content-Type: text/plain; charset="us-ascii" |
|
83 | Content-Type: text/plain; charset="us-ascii" | |
84 | Content-Transfer-Encoding: 7bit |
|
84 | Content-Transfer-Encoding: 7bit | |
85 | Subject: [PATCH] a |
|
85 | Subject: [PATCH] a | |
86 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
86 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
87 | X-Mercurial-Series-Index: 1 |
|
87 | X-Mercurial-Series-Index: 1 | |
88 | X-Mercurial-Series-Total: 1 |
|
88 | X-Mercurial-Series-Total: 1 | |
89 | Message-Id: <*@*> (glob) |
|
89 | Message-Id: <*@*> (glob) | |
90 | X-Mercurial-Series-Id: <*@*> (glob) |
|
90 | X-Mercurial-Series-Id: <*@*> (glob) | |
91 | User-Agent: Mercurial-patchbomb/* (glob) |
|
91 | User-Agent: Mercurial-patchbomb/* (glob) | |
92 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
92 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
93 | From: quux |
|
93 | From: quux | |
94 | To: foo |
|
94 | To: foo | |
95 | Cc: bar |
|
95 | Cc: bar | |
96 |
|
96 | |||
97 | # HG changeset patch |
|
97 | # HG changeset patch | |
98 | # User test |
|
98 | # User test | |
99 | # Date 1 0 |
|
99 | # Date 1 0 | |
100 | # Thu Jan 01 00:00:01 1970 +0000 |
|
100 | # Thu Jan 01 00:00:01 1970 +0000 | |
101 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
101 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
102 | # Parent 0000000000000000000000000000000000000000 |
|
102 | # Parent 0000000000000000000000000000000000000000 | |
103 | a |
|
103 | a | |
104 |
|
104 | |||
105 | diff -r 000000000000 -r 8580ff50825a a |
|
105 | diff -r 000000000000 -r 8580ff50825a a | |
106 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
106 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
107 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
107 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
108 | @@ -0,0 +1,1 @@ |
|
108 | @@ -0,0 +1,1 @@ | |
109 | +a |
|
109 | +a | |
110 |
|
110 | |||
111 |
|
111 | |||
112 | $ hg --config ui.interactive=1 email --confirm -n -f quux -t foo -c bar -r tip<<EOF |
|
112 | $ hg --config ui.interactive=1 email --confirm -n -f quux -t foo -c bar -r tip<<EOF | |
113 | > n |
|
113 | > n | |
114 | > EOF |
|
114 | > EOF | |
115 | this patch series consists of 1 patches. |
|
115 | this patch series consists of 1 patches. | |
116 |
|
116 | |||
117 |
|
117 | |||
118 | Final summary: |
|
118 | Final summary: | |
119 |
|
119 | |||
120 | From: quux |
|
120 | From: quux | |
121 | To: foo |
|
121 | To: foo | |
122 | Cc: bar |
|
122 | Cc: bar | |
123 | Subject: [PATCH] a |
|
123 | Subject: [PATCH] a | |
124 | a | 1 + |
|
124 | a | 1 + | |
125 | 1 files changed, 1 insertions(+), 0 deletions(-) |
|
125 | 1 files changed, 1 insertions(+), 0 deletions(-) | |
126 |
|
126 | |||
127 | are you sure you want to send (yn)? n |
|
127 | are you sure you want to send (yn)? n | |
128 | abort: patchbomb canceled |
|
128 | abort: patchbomb canceled | |
129 | [255] |
|
129 | [255] | |
130 |
|
130 | |||
131 | $ hg --config ui.interactive=1 --config patchbomb.confirm=true email -n -f quux -t foo -c bar -r tip<<EOF |
|
131 | $ hg --config ui.interactive=1 --config patchbomb.confirm=true email -n -f quux -t foo -c bar -r tip<<EOF | |
132 | > n |
|
132 | > n | |
133 | > EOF |
|
133 | > EOF | |
134 | this patch series consists of 1 patches. |
|
134 | this patch series consists of 1 patches. | |
135 |
|
135 | |||
136 |
|
136 | |||
137 | Final summary: |
|
137 | Final summary: | |
138 |
|
138 | |||
139 | From: quux |
|
139 | From: quux | |
140 | To: foo |
|
140 | To: foo | |
141 | Cc: bar |
|
141 | Cc: bar | |
142 | Subject: [PATCH] a |
|
142 | Subject: [PATCH] a | |
143 | a | 1 + |
|
143 | a | 1 + | |
144 | 1 files changed, 1 insertions(+), 0 deletions(-) |
|
144 | 1 files changed, 1 insertions(+), 0 deletions(-) | |
145 |
|
145 | |||
146 | are you sure you want to send (yn)? n |
|
146 | are you sure you want to send (yn)? n | |
147 | abort: patchbomb canceled |
|
147 | abort: patchbomb canceled | |
148 | [255] |
|
148 | [255] | |
149 |
|
149 | |||
150 |
|
150 | |||
151 | Test diff.git is respected |
|
151 | Test diff.git is respected | |
152 | $ hg --config diff.git=True email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip |
|
152 | $ hg --config diff.git=True email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip | |
153 | this patch series consists of 1 patches. |
|
153 | this patch series consists of 1 patches. | |
154 |
|
154 | |||
155 |
|
155 | |||
156 | displaying [PATCH] a ... |
|
156 | displaying [PATCH] a ... | |
157 | MIME-Version: 1.0 |
|
157 | MIME-Version: 1.0 | |
158 | Content-Type: text/plain; charset="us-ascii" |
|
158 | Content-Type: text/plain; charset="us-ascii" | |
159 | Content-Transfer-Encoding: 7bit |
|
159 | Content-Transfer-Encoding: 7bit | |
160 | Subject: [PATCH] a |
|
160 | Subject: [PATCH] a | |
161 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
161 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
162 | X-Mercurial-Series-Index: 1 |
|
162 | X-Mercurial-Series-Index: 1 | |
163 | X-Mercurial-Series-Total: 1 |
|
163 | X-Mercurial-Series-Total: 1 | |
164 | Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
|
164 | Message-Id: <8580ff50825a50c8f716.60@*> (glob) | |
165 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
|
165 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) | |
166 | User-Agent: Mercurial-patchbomb/* (glob) |
|
166 | User-Agent: Mercurial-patchbomb/* (glob) | |
167 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
167 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
168 | From: quux |
|
168 | From: quux | |
169 | To: foo |
|
169 | To: foo | |
170 | Cc: bar |
|
170 | Cc: bar | |
171 |
|
171 | |||
172 | # HG changeset patch |
|
172 | # HG changeset patch | |
173 | # User test |
|
173 | # User test | |
174 | # Date 1 0 |
|
174 | # Date 1 0 | |
175 | # Thu Jan 01 00:00:01 1970 +0000 |
|
175 | # Thu Jan 01 00:00:01 1970 +0000 | |
176 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
176 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
177 | # Parent 0000000000000000000000000000000000000000 |
|
177 | # Parent 0000000000000000000000000000000000000000 | |
178 | a |
|
178 | a | |
179 |
|
179 | |||
180 | diff --git a/a b/a |
|
180 | diff --git a/a b/a | |
181 | new file mode 100644 |
|
181 | new file mode 100644 | |
182 | --- /dev/null |
|
182 | --- /dev/null | |
183 | +++ b/a |
|
183 | +++ b/a | |
184 | @@ -0,0 +1,1 @@ |
|
184 | @@ -0,0 +1,1 @@ | |
185 | +a |
|
185 | +a | |
186 |
|
186 | |||
187 |
|
187 | |||
188 |
|
188 | |||
189 | Test breaking format changes aren't |
|
189 | Test breaking format changes aren't | |
190 | $ hg --config diff.noprefix=True email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip |
|
190 | $ hg --config diff.noprefix=True email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -r tip | |
191 | this patch series consists of 1 patches. |
|
191 | this patch series consists of 1 patches. | |
192 |
|
192 | |||
193 |
|
193 | |||
194 | displaying [PATCH] a ... |
|
194 | displaying [PATCH] a ... | |
195 | MIME-Version: 1.0 |
|
195 | MIME-Version: 1.0 | |
196 | Content-Type: text/plain; charset="us-ascii" |
|
196 | Content-Type: text/plain; charset="us-ascii" | |
197 | Content-Transfer-Encoding: 7bit |
|
197 | Content-Transfer-Encoding: 7bit | |
198 | Subject: [PATCH] a |
|
198 | Subject: [PATCH] a | |
199 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
199 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
200 | X-Mercurial-Series-Index: 1 |
|
200 | X-Mercurial-Series-Index: 1 | |
201 | X-Mercurial-Series-Total: 1 |
|
201 | X-Mercurial-Series-Total: 1 | |
202 | Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
|
202 | Message-Id: <8580ff50825a50c8f716.60@*> (glob) | |
203 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
|
203 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) | |
204 | User-Agent: Mercurial-patchbomb/* (glob) |
|
204 | User-Agent: Mercurial-patchbomb/* (glob) | |
205 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
205 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
206 | From: quux |
|
206 | From: quux | |
207 | To: foo |
|
207 | To: foo | |
208 | Cc: bar |
|
208 | Cc: bar | |
209 |
|
209 | |||
210 | # HG changeset patch |
|
210 | # HG changeset patch | |
211 | # User test |
|
211 | # User test | |
212 | # Date 1 0 |
|
212 | # Date 1 0 | |
213 | # Thu Jan 01 00:00:01 1970 +0000 |
|
213 | # Thu Jan 01 00:00:01 1970 +0000 | |
214 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
214 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
215 | # Parent 0000000000000000000000000000000000000000 |
|
215 | # Parent 0000000000000000000000000000000000000000 | |
216 | a |
|
216 | a | |
217 |
|
217 | |||
218 | diff -r 000000000000 -r 8580ff50825a a |
|
218 | diff -r 000000000000 -r 8580ff50825a a | |
219 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
219 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
220 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
220 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
221 | @@ -0,0 +1,1 @@ |
|
221 | @@ -0,0 +1,1 @@ | |
222 | +a |
|
222 | +a | |
223 |
|
223 | |||
224 |
|
224 | |||
225 | $ echo b > b |
|
225 | $ echo b > b | |
226 | $ hg commit -Amb -d '2 0' |
|
226 | $ hg commit -Amb -d '2 0' | |
227 | adding b |
|
227 | adding b | |
228 |
|
228 | |||
229 | $ hg email --date '1970-1-1 0:2' -n -f quux -t foo -c bar -s test -r 0:tip |
|
229 | $ hg email --date '1970-1-1 0:2' -n -f quux -t foo -c bar -s test -r 0:tip | |
230 | this patch series consists of 2 patches. |
|
230 | this patch series consists of 2 patches. | |
231 |
|
231 | |||
232 |
|
232 | |||
233 | Write the introductory message for the patch series. |
|
233 | Write the introductory message for the patch series. | |
234 |
|
234 | |||
235 |
|
235 | |||
236 | displaying [PATCH 0 of 2] test ... |
|
236 | displaying [PATCH 0 of 2] test ... | |
237 | MIME-Version: 1.0 |
|
237 | MIME-Version: 1.0 | |
238 | Content-Type: text/plain; charset="us-ascii" |
|
238 | Content-Type: text/plain; charset="us-ascii" | |
239 | Content-Transfer-Encoding: 7bit |
|
239 | Content-Transfer-Encoding: 7bit | |
240 | Subject: [PATCH 0 of 2] test |
|
240 | Subject: [PATCH 0 of 2] test | |
241 | Message-Id: <patchbomb.120@*> (glob) |
|
241 | Message-Id: <patchbomb.120@*> (glob) | |
242 | User-Agent: Mercurial-patchbomb/* (glob) |
|
242 | User-Agent: Mercurial-patchbomb/* (glob) | |
243 | Date: Thu, 01 Jan 1970 00:02:00 +0000 |
|
243 | Date: Thu, 01 Jan 1970 00:02:00 +0000 | |
244 | From: quux |
|
244 | From: quux | |
245 | To: foo |
|
245 | To: foo | |
246 | Cc: bar |
|
246 | Cc: bar | |
247 |
|
247 | |||
248 |
|
248 | |||
249 | displaying [PATCH 1 of 2] a ... |
|
249 | displaying [PATCH 1 of 2] a ... | |
250 | MIME-Version: 1.0 |
|
250 | MIME-Version: 1.0 | |
251 | Content-Type: text/plain; charset="us-ascii" |
|
251 | Content-Type: text/plain; charset="us-ascii" | |
252 | Content-Transfer-Encoding: 7bit |
|
252 | Content-Transfer-Encoding: 7bit | |
253 | Subject: [PATCH 1 of 2] a |
|
253 | Subject: [PATCH 1 of 2] a | |
254 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
254 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
255 | X-Mercurial-Series-Index: 1 |
|
255 | X-Mercurial-Series-Index: 1 | |
256 | X-Mercurial-Series-Total: 2 |
|
256 | X-Mercurial-Series-Total: 2 | |
257 | Message-Id: <8580ff50825a50c8f716.121@*> (glob) |
|
257 | Message-Id: <8580ff50825a50c8f716.121@*> (glob) | |
258 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.121@*> (glob) |
|
258 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.121@*> (glob) | |
259 | In-Reply-To: <patchbomb.120@*> (glob) |
|
259 | In-Reply-To: <patchbomb.120@*> (glob) | |
260 | References: <patchbomb.120@*> (glob) |
|
260 | References: <patchbomb.120@*> (glob) | |
261 | User-Agent: Mercurial-patchbomb/* (glob) |
|
261 | User-Agent: Mercurial-patchbomb/* (glob) | |
262 | Date: Thu, 01 Jan 1970 00:02:01 +0000 |
|
262 | Date: Thu, 01 Jan 1970 00:02:01 +0000 | |
263 | From: quux |
|
263 | From: quux | |
264 | To: foo |
|
264 | To: foo | |
265 | Cc: bar |
|
265 | Cc: bar | |
266 |
|
266 | |||
267 | # HG changeset patch |
|
267 | # HG changeset patch | |
268 | # User test |
|
268 | # User test | |
269 | # Date 1 0 |
|
269 | # Date 1 0 | |
270 | # Thu Jan 01 00:00:01 1970 +0000 |
|
270 | # Thu Jan 01 00:00:01 1970 +0000 | |
271 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
271 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
272 | # Parent 0000000000000000000000000000000000000000 |
|
272 | # Parent 0000000000000000000000000000000000000000 | |
273 | a |
|
273 | a | |
274 |
|
274 | |||
275 | diff -r 000000000000 -r 8580ff50825a a |
|
275 | diff -r 000000000000 -r 8580ff50825a a | |
276 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
276 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
277 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
277 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
278 | @@ -0,0 +1,1 @@ |
|
278 | @@ -0,0 +1,1 @@ | |
279 | +a |
|
279 | +a | |
280 |
|
280 | |||
281 | displaying [PATCH 2 of 2] b ... |
|
281 | displaying [PATCH 2 of 2] b ... | |
282 | MIME-Version: 1.0 |
|
282 | MIME-Version: 1.0 | |
283 | Content-Type: text/plain; charset="us-ascii" |
|
283 | Content-Type: text/plain; charset="us-ascii" | |
284 | Content-Transfer-Encoding: 7bit |
|
284 | Content-Transfer-Encoding: 7bit | |
285 | Subject: [PATCH 2 of 2] b |
|
285 | Subject: [PATCH 2 of 2] b | |
286 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
286 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
287 | X-Mercurial-Series-Index: 2 |
|
287 | X-Mercurial-Series-Index: 2 | |
288 | X-Mercurial-Series-Total: 2 |
|
288 | X-Mercurial-Series-Total: 2 | |
289 | Message-Id: <97d72e5f12c7e84f8506.122@*> (glob) |
|
289 | Message-Id: <97d72e5f12c7e84f8506.122@*> (glob) | |
290 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.121@*> (glob) |
|
290 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.121@*> (glob) | |
291 | In-Reply-To: <patchbomb.120@*> (glob) |
|
291 | In-Reply-To: <patchbomb.120@*> (glob) | |
292 | References: <patchbomb.120@*> (glob) |
|
292 | References: <patchbomb.120@*> (glob) | |
293 | User-Agent: Mercurial-patchbomb/* (glob) |
|
293 | User-Agent: Mercurial-patchbomb/* (glob) | |
294 | Date: Thu, 01 Jan 1970 00:02:02 +0000 |
|
294 | Date: Thu, 01 Jan 1970 00:02:02 +0000 | |
295 | From: quux |
|
295 | From: quux | |
296 | To: foo |
|
296 | To: foo | |
297 | Cc: bar |
|
297 | Cc: bar | |
298 |
|
298 | |||
299 | # HG changeset patch |
|
299 | # HG changeset patch | |
300 | # User test |
|
300 | # User test | |
301 | # Date 2 0 |
|
301 | # Date 2 0 | |
302 | # Thu Jan 01 00:00:02 1970 +0000 |
|
302 | # Thu Jan 01 00:00:02 1970 +0000 | |
303 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
303 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
304 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
304 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
305 | b |
|
305 | b | |
306 |
|
306 | |||
307 | diff -r 8580ff50825a -r 97d72e5f12c7 b |
|
307 | diff -r 8580ff50825a -r 97d72e5f12c7 b | |
308 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
308 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
309 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
|
309 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 | |
310 | @@ -0,0 +1,1 @@ |
|
310 | @@ -0,0 +1,1 @@ | |
311 | +b |
|
311 | +b | |
312 |
|
312 | |||
313 |
|
313 | |||
314 | .hg/last-email.txt |
|
314 | .hg/last-email.txt | |
315 |
|
315 | |||
316 | $ cat > editor.sh << '__EOF__' |
|
316 | $ cat > editor.sh << '__EOF__' | |
317 | > echo "a precious introductory message" > "$1" |
|
317 | > echo "a precious introductory message" > "$1" | |
318 | > __EOF__ |
|
318 | > __EOF__ | |
319 | $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg email -n -t foo -s test -r 0:tip > /dev/null |
|
319 | $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg email -n -t foo -s test -r 0:tip > /dev/null | |
320 | $ cat .hg/last-email.txt |
|
320 | $ cat .hg/last-email.txt | |
321 | a precious introductory message |
|
321 | a precious introductory message | |
322 |
|
322 | |||
323 | $ hg email -m test.mbox -f quux -t foo -c bar -s test 0:tip \ |
|
323 | $ hg email -m test.mbox -f quux -t foo -c bar -s test 0:tip \ | |
324 | > --config extensions.progress= --config progress.assume-tty=1 \ |
|
324 | > --config extensions.progress= --config progress.assume-tty=1 \ | |
325 | > --config progress.delay=0 --config progress.refresh=0 \ |
|
325 | > --config progress.delay=0 --config progress.refresh=0 \ | |
326 | > --config progress.width=60 |
|
326 | > --config progress.width=60 \ | |
|
327 | > --config extensions.mocktime=$TESTDIR/mocktime.py | |||
327 | this patch series consists of 2 patches. |
|
328 | this patch series consists of 2 patches. | |
328 |
|
329 | |||
329 |
|
330 | |||
330 | Write the introductory message for the patch series. |
|
331 | Write the introductory message for the patch series. | |
331 |
|
332 | |||
332 | \r (no-eol) (esc) |
|
333 | \r (no-eol) (esc) | |
333 | sending [ ] 0/3\r (no-eol) (esc) |
|
334 | sending [ ] 0/3\r (no-eol) (esc) | |
334 | \r (no-eol) (esc) |
|
335 | \r (no-eol) (esc) | |
335 | \r (no-eol) (esc) |
|
336 | \r (no-eol) (esc) | |
336 | sending [============> ] 1/3 01s\r (no-eol) (esc) |
|
337 | sending [============> ] 1/3 01s\r (no-eol) (esc) | |
337 | \r (no-eol) (esc) |
|
338 | \r (no-eol) (esc) | |
338 | \r (no-eol) (esc) |
|
339 | \r (no-eol) (esc) | |
339 | sending [==========================> ] 2/3 01s\r (no-eol) (esc) |
|
340 | sending [==========================> ] 2/3 01s\r (no-eol) (esc) | |
340 | \r (esc) |
|
341 | \r (esc) | |
341 | sending [PATCH 0 of 2] test ... |
|
342 | sending [PATCH 0 of 2] test ... | |
342 | sending [PATCH 1 of 2] a ... |
|
343 | sending [PATCH 1 of 2] a ... | |
343 | sending [PATCH 2 of 2] b ... |
|
344 | sending [PATCH 2 of 2] b ... | |
344 |
|
345 | |||
345 | $ cd .. |
|
346 | $ cd .. | |
346 |
|
347 | |||
347 | $ hg clone -q t t2 |
|
348 | $ hg clone -q t t2 | |
348 | $ cd t2 |
|
349 | $ cd t2 | |
349 | $ echo c > c |
|
350 | $ echo c > c | |
350 | $ hg commit -Amc -d '3 0' |
|
351 | $ hg commit -Amc -d '3 0' | |
351 | adding c |
|
352 | adding c | |
352 |
|
353 | |||
353 | $ cat > description <<EOF |
|
354 | $ cat > description <<EOF | |
354 | > a multiline |
|
355 | > a multiline | |
355 | > |
|
356 | > | |
356 | > description |
|
357 | > description | |
357 | > EOF |
|
358 | > EOF | |
358 |
|
359 | |||
359 |
|
360 | |||
360 | test bundle and description: |
|
361 | test bundle and description: | |
361 | $ hg email --date '1970-1-1 0:3' -n -f quux -t foo \ |
|
362 | $ hg email --date '1970-1-1 0:3' -n -f quux -t foo \ | |
362 | > -c bar -s test -r tip -b --desc description | $FILTERBOUNDARY |
|
363 | > -c bar -s test -r tip -b --desc description | $FILTERBOUNDARY | |
363 | searching for changes |
|
364 | searching for changes | |
364 | 1 changesets found |
|
365 | 1 changesets found | |
365 |
|
366 | |||
366 | displaying test ... |
|
367 | displaying test ... | |
367 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
368 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
368 | MIME-Version: 1.0 |
|
369 | MIME-Version: 1.0 | |
369 | Subject: test |
|
370 | Subject: test | |
370 | Message-Id: <patchbomb.180@*> (glob) |
|
371 | Message-Id: <patchbomb.180@*> (glob) | |
371 | User-Agent: Mercurial-patchbomb/* (glob) |
|
372 | User-Agent: Mercurial-patchbomb/* (glob) | |
372 | Date: Thu, 01 Jan 1970 00:03:00 +0000 |
|
373 | Date: Thu, 01 Jan 1970 00:03:00 +0000 | |
373 | From: quux |
|
374 | From: quux | |
374 | To: foo |
|
375 | To: foo | |
375 | Cc: bar |
|
376 | Cc: bar | |
376 |
|
377 | |||
377 | --===*= (glob) |
|
378 | --===*= (glob) | |
378 | MIME-Version: 1.0 |
|
379 | MIME-Version: 1.0 | |
379 | Content-Type: text/plain; charset="us-ascii" |
|
380 | Content-Type: text/plain; charset="us-ascii" | |
380 | Content-Transfer-Encoding: 7bit |
|
381 | Content-Transfer-Encoding: 7bit | |
381 |
|
382 | |||
382 | a multiline |
|
383 | a multiline | |
383 |
|
384 | |||
384 | description |
|
385 | description | |
385 |
|
386 | |||
386 | --===*= (glob) |
|
387 | --===*= (glob) | |
387 | Content-Type: application/x-mercurial-bundle |
|
388 | Content-Type: application/x-mercurial-bundle | |
388 | MIME-Version: 1.0 |
|
389 | MIME-Version: 1.0 | |
389 | Content-Disposition: attachment; filename="bundle.hg" |
|
390 | Content-Disposition: attachment; filename="bundle.hg" | |
390 | Content-Transfer-Encoding: base64 |
|
391 | Content-Transfer-Encoding: base64 | |
391 |
|
392 | |||
392 | SEcyMAAAAA5Db21wcmVzc2lvbj1CWkJaaDkxQVkmU1nYvy2xAAAJf//7vFYQXD1/4H7R09C/470I |
|
393 | SEcyMAAAAA5Db21wcmVzc2lvbj1CWkJaaDkxQVkmU1nYvy2xAAAJf//7vFYQXD1/4H7R09C/470I | |
393 | Ak0E4pe4SIIIgQSgGEQOcLAA5VBKqeppMxTI0YjQNBgQMQDI0GgMhtR6I0GI2p6I0yeSEVT9MiYn |
|
394 | Ak0E4pe4SIIIgQSgGEQOcLAA5VBKqeppMxTI0YjQNBgQMQDI0GgMhtR6I0GI2p6I0yeSEVT9MiYn | |
394 | qjCYQwCBtARptARgBNDEwAGiDCMA40NGjQaNA0AAAAADIAAAA0BkABktCk6qObVxZ2A/33KHibLr |
|
395 | qjCYQwCBtARptARgBNDEwAGiDCMA40NGjQaNA0AAAAADIAAAA0BkABktCk6qObVxZ2A/33KHibLr | |
395 | UQ4BwkgcPcmuCUAQZCztIWgR1SpBS6IqbIij4UFwhnnMkElcFTqoucIWbsBPK3l+6c+xYaVBWsJo |
|
396 | UQ4BwkgcPcmuCUAQZCztIWgR1SpBS6IqbIij4UFwhnnMkElcFTqoucIWbsBPK3l+6c+xYaVBWsJo | |
396 | aT0OV/YAOvLrziifDQMJOMIaaYce9agtI2EwQBAq089UiRU+evFHSLRBT7Wa/D/YBaUtU5ezvtr3 |
|
397 | aT0OV/YAOvLrziifDQMJOMIaaYce9agtI2EwQBAq089UiRU+evFHSLRBT7Wa/D/YBaUtU5ezvtr3 | |
397 | 6yrIS4Iyp9VWESdWPEi6VjRjdcEY4HvbmDIVEAEVJIUrHNIBx/MmnBBRkw8tSlCQ8ABZxf5ejgBI |
|
398 | 6yrIS4Iyp9VWESdWPEi6VjRjdcEY4HvbmDIVEAEVJIUrHNIBx/MmnBBRkw8tSlCQ8ABZxf5ejgBI | |
398 | pP5TSQPLVMYbq1qbBPmWN0LYVlAvRbP4X512kDQZ9y4TQbvoZmhe+54sRsEJ8GW3hMJjERh0NNlg |
|
399 | pP5TSQPLVMYbq1qbBPmWN0LYVlAvRbP4X512kDQZ9y4TQbvoZmhe+54sRsEJ8GW3hMJjERh0NNlg | |
399 | aB+3Cw/4u5IpwoSGxfltiA== |
|
400 | aB+3Cw/4u5IpwoSGxfltiA== | |
400 | --===============*==-- (glob) |
|
401 | --===============*==-- (glob) | |
401 |
|
402 | |||
402 | with a specific bundle type |
|
403 | with a specific bundle type | |
403 | (binary part must be different) |
|
404 | (binary part must be different) | |
404 |
|
405 | |||
405 | $ hg email --date '1970-1-1 0:3' -n -f quux -t foo \ |
|
406 | $ hg email --date '1970-1-1 0:3' -n -f quux -t foo \ | |
406 | > -c bar -s test -r tip -b --desc description \ |
|
407 | > -c bar -s test -r tip -b --desc description \ | |
407 | > --config patchbomb.bundletype=gzip-v1 | $FILTERBOUNDARY |
|
408 | > --config patchbomb.bundletype=gzip-v1 | $FILTERBOUNDARY | |
408 | searching for changes |
|
409 | searching for changes | |
409 | 1 changesets found |
|
410 | 1 changesets found | |
410 |
|
411 | |||
411 | displaying test ... |
|
412 | displaying test ... | |
412 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
413 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
413 | MIME-Version: 1.0 |
|
414 | MIME-Version: 1.0 | |
414 | Subject: test |
|
415 | Subject: test | |
415 | Message-Id: <patchbomb.180@*> (glob) |
|
416 | Message-Id: <patchbomb.180@*> (glob) | |
416 | User-Agent: Mercurial-patchbomb/* (glob) |
|
417 | User-Agent: Mercurial-patchbomb/* (glob) | |
417 | Date: Thu, 01 Jan 1970 00:03:00 +0000 |
|
418 | Date: Thu, 01 Jan 1970 00:03:00 +0000 | |
418 | From: quux |
|
419 | From: quux | |
419 | To: foo |
|
420 | To: foo | |
420 | Cc: bar |
|
421 | Cc: bar | |
421 |
|
422 | |||
422 | --===*= (glob) |
|
423 | --===*= (glob) | |
423 | MIME-Version: 1.0 |
|
424 | MIME-Version: 1.0 | |
424 | Content-Type: text/plain; charset="us-ascii" |
|
425 | Content-Type: text/plain; charset="us-ascii" | |
425 | Content-Transfer-Encoding: 7bit |
|
426 | Content-Transfer-Encoding: 7bit | |
426 |
|
427 | |||
427 | a multiline |
|
428 | a multiline | |
428 |
|
429 | |||
429 | description |
|
430 | description | |
430 |
|
431 | |||
431 | --===*= (glob) |
|
432 | --===*= (glob) | |
432 | Content-Type: application/x-mercurial-bundle |
|
433 | Content-Type: application/x-mercurial-bundle | |
433 | MIME-Version: 1.0 |
|
434 | MIME-Version: 1.0 | |
434 | Content-Disposition: attachment; filename="bundle.hg" |
|
435 | Content-Disposition: attachment; filename="bundle.hg" | |
435 | Content-Transfer-Encoding: base64 |
|
436 | Content-Transfer-Encoding: base64 | |
436 |
|
437 | |||
437 | SEcxMEdaeJxjYGBY8V9n/iLGbtFfJZuNk/euDCpWfrRy/vTrevFCx1/4t7J5LdeL0ix0Opx3kwEL |
|
438 | SEcxMEdaeJxjYGBY8V9n/iLGbtFfJZuNk/euDCpWfrRy/vTrevFCx1/4t7J5LdeL0ix0Opx3kwEL | |
438 | wKYXKqUJwqnG5sYWSWmmJsaWlqYWaRaWJpaWiWamZpYWRgZGxolJiabmSQbmZqlcQMV6QGwCxGzG |
|
439 | wKYXKqUJwqnG5sYWSWmmJsaWlqYWaRaWJpaWiWamZpYWRgZGxolJiabmSQbmZqlcQMV6QGwCxGzG | |
439 | CgZcySARUyA2A2LGZKiZ3Y+Lu786z4z4MWXmsrAZCsqrl1az5y21PMcjpbThzWeXGT+/nutbmvvz |
|
440 | CgZcySARUyA2A2LGZKiZ3Y+Lu786z4z4MWXmsrAZCsqrl1az5y21PMcjpbThzWeXGT+/nutbmvvz | |
440 | zXYS3BoGxdrJDIYmlimJJiZpRokmqYYmaSYWFknmSSkmhqbmliamiZYWxuYmBhbJBgZcUBNZQe5K |
|
441 | zXYS3BoGxdrJDIYmlimJJiZpRokmqYYmaSYWFknmSSkmhqbmliamiZYWxuYmBhbJBgZcUBNZQe5K | |
441 | Epm7xF/LT+RLx/a9juFTomaYO/Rgsx4rwBN+IMCUDLOKAQBrsmti |
|
442 | Epm7xF/LT+RLx/a9juFTomaYO/Rgsx4rwBN+IMCUDLOKAQBrsmti | |
442 | --===============*==-- (glob) |
|
443 | --===============*==-- (glob) | |
443 |
|
444 | |||
444 | utf-8 patch: |
|
445 | utf-8 patch: | |
445 | $ $PYTHON -c 'fp = open("utf", "wb"); fp.write("h\xC3\xB6mma!\n"); fp.close();' |
|
446 | $ $PYTHON -c 'fp = open("utf", "wb"); fp.write("h\xC3\xB6mma!\n"); fp.close();' | |
446 | $ hg commit -A -d '4 0' -m 'utf-8 content' |
|
447 | $ hg commit -A -d '4 0' -m 'utf-8 content' | |
447 | adding description |
|
448 | adding description | |
448 | adding utf |
|
449 | adding utf | |
449 |
|
450 | |||
450 | no mime encoding for email --test: |
|
451 | no mime encoding for email --test: | |
451 | $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n |
|
452 | $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n | |
452 | this patch series consists of 1 patches. |
|
453 | this patch series consists of 1 patches. | |
453 |
|
454 | |||
454 |
|
455 | |||
455 | displaying [PATCH] utf-8 content ... |
|
456 | displaying [PATCH] utf-8 content ... | |
456 | MIME-Version: 1.0 |
|
457 | MIME-Version: 1.0 | |
457 | Content-Type: text/plain; charset="us-ascii" |
|
458 | Content-Type: text/plain; charset="us-ascii" | |
458 | Content-Transfer-Encoding: 8bit |
|
459 | Content-Transfer-Encoding: 8bit | |
459 | Subject: [PATCH] utf-8 content |
|
460 | Subject: [PATCH] utf-8 content | |
460 | X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f |
|
461 | X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f | |
461 | X-Mercurial-Series-Index: 1 |
|
462 | X-Mercurial-Series-Index: 1 | |
462 | X-Mercurial-Series-Total: 1 |
|
463 | X-Mercurial-Series-Total: 1 | |
463 | Message-Id: <909a00e13e9d78b575ae.240@*> (glob) |
|
464 | Message-Id: <909a00e13e9d78b575ae.240@*> (glob) | |
464 | X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@*> (glob) |
|
465 | X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@*> (glob) | |
465 | User-Agent: Mercurial-patchbomb/* (glob) |
|
466 | User-Agent: Mercurial-patchbomb/* (glob) | |
466 | Date: Thu, 01 Jan 1970 00:04:00 +0000 |
|
467 | Date: Thu, 01 Jan 1970 00:04:00 +0000 | |
467 | From: quux |
|
468 | From: quux | |
468 | To: foo |
|
469 | To: foo | |
469 | Cc: bar |
|
470 | Cc: bar | |
470 |
|
471 | |||
471 | # HG changeset patch |
|
472 | # HG changeset patch | |
472 | # User test |
|
473 | # User test | |
473 | # Date 4 0 |
|
474 | # Date 4 0 | |
474 | # Thu Jan 01 00:00:04 1970 +0000 |
|
475 | # Thu Jan 01 00:00:04 1970 +0000 | |
475 | # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f |
|
476 | # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f | |
476 | # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
477 | # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
477 | utf-8 content |
|
478 | utf-8 content | |
478 |
|
479 | |||
479 | diff -r ff2c9fa2018b -r 909a00e13e9d description |
|
480 | diff -r ff2c9fa2018b -r 909a00e13e9d description | |
480 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
481 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
481 | +++ b/description Thu Jan 01 00:00:04 1970 +0000 |
|
482 | +++ b/description Thu Jan 01 00:00:04 1970 +0000 | |
482 | @@ -0,0 +1,3 @@ |
|
483 | @@ -0,0 +1,3 @@ | |
483 | +a multiline |
|
484 | +a multiline | |
484 | + |
|
485 | + | |
485 | +description |
|
486 | +description | |
486 | diff -r ff2c9fa2018b -r 909a00e13e9d utf |
|
487 | diff -r ff2c9fa2018b -r 909a00e13e9d utf | |
487 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
488 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
488 | +++ b/utf Thu Jan 01 00:00:04 1970 +0000 |
|
489 | +++ b/utf Thu Jan 01 00:00:04 1970 +0000 | |
489 | @@ -0,0 +1,1 @@ |
|
490 | @@ -0,0 +1,1 @@ | |
490 | +h\xc3\xb6mma! (esc) |
|
491 | +h\xc3\xb6mma! (esc) | |
491 |
|
492 | |||
492 |
|
493 | |||
493 | mime encoded mbox (base64): |
|
494 | mime encoded mbox (base64): | |
494 | $ hg email --date '1970-1-1 0:4' -f 'Q <quux>' -t foo -c bar -r tip -m mbox |
|
495 | $ hg email --date '1970-1-1 0:4' -f 'Q <quux>' -t foo -c bar -r tip -m mbox | |
495 | this patch series consists of 1 patches. |
|
496 | this patch series consists of 1 patches. | |
496 |
|
497 | |||
497 |
|
498 | |||
498 | sending [PATCH] utf-8 content ... |
|
499 | sending [PATCH] utf-8 content ... | |
499 |
|
500 | |||
500 | $ cat mbox |
|
501 | $ cat mbox | |
501 | From quux ... ... .. ..:..:.. .... (re) |
|
502 | From quux ... ... .. ..:..:.. .... (re) | |
502 | MIME-Version: 1.0 |
|
503 | MIME-Version: 1.0 | |
503 | Content-Type: text/plain; charset="utf-8" |
|
504 | Content-Type: text/plain; charset="utf-8" | |
504 | Content-Transfer-Encoding: base64 |
|
505 | Content-Transfer-Encoding: base64 | |
505 | Subject: [PATCH] utf-8 content |
|
506 | Subject: [PATCH] utf-8 content | |
506 | X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f |
|
507 | X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f | |
507 | X-Mercurial-Series-Index: 1 |
|
508 | X-Mercurial-Series-Index: 1 | |
508 | X-Mercurial-Series-Total: 1 |
|
509 | X-Mercurial-Series-Total: 1 | |
509 | Message-Id: <909a00e13e9d78b575ae.240@*> (glob) |
|
510 | Message-Id: <909a00e13e9d78b575ae.240@*> (glob) | |
510 | X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@*> (glob) |
|
511 | X-Mercurial-Series-Id: <909a00e13e9d78b575ae.240@*> (glob) | |
511 | User-Agent: Mercurial-patchbomb/* (glob) |
|
512 | User-Agent: Mercurial-patchbomb/* (glob) | |
512 | Date: Thu, 01 Jan 1970 00:04:00 +0000 |
|
513 | Date: Thu, 01 Jan 1970 00:04:00 +0000 | |
513 | From: Q <quux> |
|
514 | From: Q <quux> | |
514 | To: foo |
|
515 | To: foo | |
515 | Cc: bar |
|
516 | Cc: bar | |
516 |
|
517 | |||
517 | IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojICAgICAgVGh1IEph |
|
518 | IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIHRlc3QKIyBEYXRlIDQgMAojICAgICAgVGh1IEph | |
518 | biAwMSAwMDowMDowNCAxOTcwICswMDAwCiMgTm9kZSBJRCA5MDlhMDBlMTNlOWQ3OGI1NzVhZWVl |
|
519 | biAwMSAwMDowMDowNCAxOTcwICswMDAwCiMgTm9kZSBJRCA5MDlhMDBlMTNlOWQ3OGI1NzVhZWVl | |
519 | MjNkZGRiYWRhNDZkNWExNDNmCiMgUGFyZW50ICBmZjJjOWZhMjAxOGIxNWZhNzRiMzMzNjNiZGE5 |
|
520 | MjNkZGRiYWRhNDZkNWExNDNmCiMgUGFyZW50ICBmZjJjOWZhMjAxOGIxNWZhNzRiMzMzNjNiZGE5 | |
520 | NTI3MzIzZTJhOTlmCnV0Zi04IGNvbnRlbnQKCmRpZmYgLXIgZmYyYzlmYTIwMThiIC1yIDkwOWEw |
|
521 | NTI3MzIzZTJhOTlmCnV0Zi04IGNvbnRlbnQKCmRpZmYgLXIgZmYyYzlmYTIwMThiIC1yIDkwOWEw | |
521 | MGUxM2U5ZCBkZXNjcmlwdGlvbgotLS0gL2Rldi9udWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3 |
|
522 | MGUxM2U5ZCBkZXNjcmlwdGlvbgotLS0gL2Rldi9udWxsCVRodSBKYW4gMDEgMDA6MDA6MDAgMTk3 | |
522 | MCArMDAwMAorKysgYi9kZXNjcmlwdGlvbglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK |
|
523 | MCArMDAwMAorKysgYi9kZXNjcmlwdGlvbglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK | |
523 | QEAgLTAsMCArMSwzIEBACithIG11bHRpbGluZQorCitkZXNjcmlwdGlvbgpkaWZmIC1yIGZmMmM5 |
|
524 | QEAgLTAsMCArMSwzIEBACithIG11bHRpbGluZQorCitkZXNjcmlwdGlvbgpkaWZmIC1yIGZmMmM5 | |
524 | ZmEyMDE4YiAtciA5MDlhMDBlMTNlOWQgdXRmCi0tLSAvZGV2L251bGwJVGh1IEphbiAwMSAwMDow |
|
525 | ZmEyMDE4YiAtciA5MDlhMDBlMTNlOWQgdXRmCi0tLSAvZGV2L251bGwJVGh1IEphbiAwMSAwMDow | |
525 | MDowMCAxOTcwICswMDAwCisrKyBiL3V0ZglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK |
|
526 | MDowMCAxOTcwICswMDAwCisrKyBiL3V0ZglUaHUgSmFuIDAxIDAwOjAwOjA0IDE5NzAgKzAwMDAK | |
526 | QEAgLTAsMCArMSwxIEBACitow7ZtbWEhCg== |
|
527 | QEAgLTAsMCArMSwxIEBACitow7ZtbWEhCg== | |
527 |
|
528 | |||
528 |
|
529 | |||
529 | $ $PYTHON -c 'print open("mbox").read().split("\n\n")[1].decode("base64")' |
|
530 | $ $PYTHON -c 'print open("mbox").read().split("\n\n")[1].decode("base64")' | |
530 | # HG changeset patch |
|
531 | # HG changeset patch | |
531 | # User test |
|
532 | # User test | |
532 | # Date 4 0 |
|
533 | # Date 4 0 | |
533 | # Thu Jan 01 00:00:04 1970 +0000 |
|
534 | # Thu Jan 01 00:00:04 1970 +0000 | |
534 | # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f |
|
535 | # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f | |
535 | # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
536 | # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
536 | utf-8 content |
|
537 | utf-8 content | |
537 |
|
538 | |||
538 | diff -r ff2c9fa2018b -r 909a00e13e9d description |
|
539 | diff -r ff2c9fa2018b -r 909a00e13e9d description | |
539 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
540 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
540 | +++ b/description Thu Jan 01 00:00:04 1970 +0000 |
|
541 | +++ b/description Thu Jan 01 00:00:04 1970 +0000 | |
541 | @@ -0,0 +1,3 @@ |
|
542 | @@ -0,0 +1,3 @@ | |
542 | +a multiline |
|
543 | +a multiline | |
543 | + |
|
544 | + | |
544 | +description |
|
545 | +description | |
545 | diff -r ff2c9fa2018b -r 909a00e13e9d utf |
|
546 | diff -r ff2c9fa2018b -r 909a00e13e9d utf | |
546 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
547 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
547 | +++ b/utf Thu Jan 01 00:00:04 1970 +0000 |
|
548 | +++ b/utf Thu Jan 01 00:00:04 1970 +0000 | |
548 | @@ -0,0 +1,1 @@ |
|
549 | @@ -0,0 +1,1 @@ | |
549 | +h\xc3\xb6mma! (esc) |
|
550 | +h\xc3\xb6mma! (esc) | |
550 |
|
551 | |||
551 | $ rm mbox |
|
552 | $ rm mbox | |
552 |
|
553 | |||
553 | mime encoded mbox (quoted-printable): |
|
554 | mime encoded mbox (quoted-printable): | |
554 | $ $PYTHON -c 'fp = open("long", "wb"); fp.write("%s\nfoo\n\nbar\n" % ("x" * 1024)); fp.close();' |
|
555 | $ $PYTHON -c 'fp = open("long", "wb"); fp.write("%s\nfoo\n\nbar\n" % ("x" * 1024)); fp.close();' | |
555 | $ hg commit -A -d '4 0' -m 'long line' |
|
556 | $ hg commit -A -d '4 0' -m 'long line' | |
556 | adding long |
|
557 | adding long | |
557 |
|
558 | |||
558 | no mime encoding for email --test: |
|
559 | no mime encoding for email --test: | |
559 | $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n |
|
560 | $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n | |
560 | this patch series consists of 1 patches. |
|
561 | this patch series consists of 1 patches. | |
561 |
|
562 | |||
562 |
|
563 | |||
563 | displaying [PATCH] long line ... |
|
564 | displaying [PATCH] long line ... | |
564 | MIME-Version: 1.0 |
|
565 | MIME-Version: 1.0 | |
565 | Content-Type: text/plain; charset="us-ascii" |
|
566 | Content-Type: text/plain; charset="us-ascii" | |
566 | Content-Transfer-Encoding: quoted-printable |
|
567 | Content-Transfer-Encoding: quoted-printable | |
567 | Subject: [PATCH] long line |
|
568 | Subject: [PATCH] long line | |
568 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
569 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
569 | X-Mercurial-Series-Index: 1 |
|
570 | X-Mercurial-Series-Index: 1 | |
570 | X-Mercurial-Series-Total: 1 |
|
571 | X-Mercurial-Series-Total: 1 | |
571 | Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) |
|
572 | Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) | |
572 | X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) |
|
573 | X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) | |
573 | User-Agent: Mercurial-patchbomb/* (glob) |
|
574 | User-Agent: Mercurial-patchbomb/* (glob) | |
574 | Date: Thu, 01 Jan 1970 00:04:00 +0000 |
|
575 | Date: Thu, 01 Jan 1970 00:04:00 +0000 | |
575 | From: quux |
|
576 | From: quux | |
576 | To: foo |
|
577 | To: foo | |
577 | Cc: bar |
|
578 | Cc: bar | |
578 |
|
579 | |||
579 | # HG changeset patch |
|
580 | # HG changeset patch | |
580 | # User test |
|
581 | # User test | |
581 | # Date 4 0 |
|
582 | # Date 4 0 | |
582 | # Thu Jan 01 00:00:04 1970 +0000 |
|
583 | # Thu Jan 01 00:00:04 1970 +0000 | |
583 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
584 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
584 | # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
|
585 | # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f | |
585 | long line |
|
586 | long line | |
586 |
|
587 | |||
587 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
|
588 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long | |
588 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
589 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
589 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 |
|
590 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 | |
590 | @@ -0,0 +1,4 @@ |
|
591 | @@ -0,0 +1,4 @@ | |
591 | +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
592 | +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
592 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
593 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
593 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
594 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
594 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
595 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
595 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
596 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
596 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
597 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
597 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
598 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
598 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
599 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
599 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
600 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
600 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
601 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
601 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
602 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
602 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
603 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
603 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
604 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
604 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
|
605 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
605 | +foo |
|
606 | +foo | |
606 | + |
|
607 | + | |
607 | +bar |
|
608 | +bar | |
608 |
|
609 | |||
609 |
|
610 | |||
610 | mime encoded mbox (quoted-printable): |
|
611 | mime encoded mbox (quoted-printable): | |
611 | $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -m mbox |
|
612 | $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -m mbox | |
612 | this patch series consists of 1 patches. |
|
613 | this patch series consists of 1 patches. | |
613 |
|
614 | |||
614 |
|
615 | |||
615 | sending [PATCH] long line ... |
|
616 | sending [PATCH] long line ... | |
616 | $ cat mbox |
|
617 | $ cat mbox | |
617 | From quux ... ... .. ..:..:.. .... (re) |
|
618 | From quux ... ... .. ..:..:.. .... (re) | |
618 | MIME-Version: 1.0 |
|
619 | MIME-Version: 1.0 | |
619 | Content-Type: text/plain; charset="us-ascii" |
|
620 | Content-Type: text/plain; charset="us-ascii" | |
620 | Content-Transfer-Encoding: quoted-printable |
|
621 | Content-Transfer-Encoding: quoted-printable | |
621 | Subject: [PATCH] long line |
|
622 | Subject: [PATCH] long line | |
622 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
623 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
623 | X-Mercurial-Series-Index: 1 |
|
624 | X-Mercurial-Series-Index: 1 | |
624 | X-Mercurial-Series-Total: 1 |
|
625 | X-Mercurial-Series-Total: 1 | |
625 | Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) |
|
626 | Message-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) | |
626 | X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) |
|
627 | X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.240@*> (glob) | |
627 | User-Agent: Mercurial-patchbomb/* (glob) |
|
628 | User-Agent: Mercurial-patchbomb/* (glob) | |
628 | Date: Thu, 01 Jan 1970 00:04:00 +0000 |
|
629 | Date: Thu, 01 Jan 1970 00:04:00 +0000 | |
629 | From: quux |
|
630 | From: quux | |
630 | To: foo |
|
631 | To: foo | |
631 | Cc: bar |
|
632 | Cc: bar | |
632 |
|
633 | |||
633 | # HG changeset patch |
|
634 | # HG changeset patch | |
634 | # User test |
|
635 | # User test | |
635 | # Date 4 0 |
|
636 | # Date 4 0 | |
636 | # Thu Jan 01 00:00:04 1970 +0000 |
|
637 | # Thu Jan 01 00:00:04 1970 +0000 | |
637 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
638 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
638 | # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
|
639 | # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f | |
639 | long line |
|
640 | long line | |
640 |
|
641 | |||
641 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
|
642 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long | |
642 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
643 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
643 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 |
|
644 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 | |
644 | @@ -0,0 +1,4 @@ |
|
645 | @@ -0,0 +1,4 @@ | |
645 | +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
646 | +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
646 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
647 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
647 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
648 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
648 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
649 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
649 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
650 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
650 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
651 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
651 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
652 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
652 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
653 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
653 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
654 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
654 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
655 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
655 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
656 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
656 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
657 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
657 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
658 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
658 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
|
659 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
659 | +foo |
|
660 | +foo | |
660 | + |
|
661 | + | |
661 | +bar |
|
662 | +bar | |
662 |
|
663 | |||
663 |
|
664 | |||
664 |
|
665 | |||
665 | $ rm mbox |
|
666 | $ rm mbox | |
666 |
|
667 | |||
667 | iso-8859-1 patch: |
|
668 | iso-8859-1 patch: | |
668 | $ $PYTHON -c 'fp = open("isolatin", "wb"); fp.write("h\xF6mma!\n"); fp.close();' |
|
669 | $ $PYTHON -c 'fp = open("isolatin", "wb"); fp.write("h\xF6mma!\n"); fp.close();' | |
669 | $ hg commit -A -d '5 0' -m 'isolatin 8-bit encoding' |
|
670 | $ hg commit -A -d '5 0' -m 'isolatin 8-bit encoding' | |
670 | adding isolatin |
|
671 | adding isolatin | |
671 |
|
672 | |||
672 | iso-8859-1 mbox: |
|
673 | iso-8859-1 mbox: | |
673 | $ hg email --date '1970-1-1 0:5' -f quux -t foo -c bar -r tip -m mbox |
|
674 | $ hg email --date '1970-1-1 0:5' -f quux -t foo -c bar -r tip -m mbox | |
674 | this patch series consists of 1 patches. |
|
675 | this patch series consists of 1 patches. | |
675 |
|
676 | |||
676 |
|
677 | |||
677 | sending [PATCH] isolatin 8-bit encoding ... |
|
678 | sending [PATCH] isolatin 8-bit encoding ... | |
678 | $ cat mbox |
|
679 | $ cat mbox | |
679 | From quux ... ... .. ..:..:.. .... (re) |
|
680 | From quux ... ... .. ..:..:.. .... (re) | |
680 | MIME-Version: 1.0 |
|
681 | MIME-Version: 1.0 | |
681 | Content-Type: text/plain; charset="iso-8859-1" |
|
682 | Content-Type: text/plain; charset="iso-8859-1" | |
682 | Content-Transfer-Encoding: quoted-printable |
|
683 | Content-Transfer-Encoding: quoted-printable | |
683 | Subject: [PATCH] isolatin 8-bit encoding |
|
684 | Subject: [PATCH] isolatin 8-bit encoding | |
684 | X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
|
685 | X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 | |
685 | X-Mercurial-Series-Index: 1 |
|
686 | X-Mercurial-Series-Index: 1 | |
686 | X-Mercurial-Series-Total: 1 |
|
687 | X-Mercurial-Series-Total: 1 | |
687 | Message-Id: <240fb913fc1b7ff15ddb.300@*> (glob) |
|
688 | Message-Id: <240fb913fc1b7ff15ddb.300@*> (glob) | |
688 | X-Mercurial-Series-Id: <240fb913fc1b7ff15ddb.300@*> (glob) |
|
689 | X-Mercurial-Series-Id: <240fb913fc1b7ff15ddb.300@*> (glob) | |
689 | User-Agent: Mercurial-patchbomb/* (glob) |
|
690 | User-Agent: Mercurial-patchbomb/* (glob) | |
690 | Date: Thu, 01 Jan 1970 00:05:00 +0000 |
|
691 | Date: Thu, 01 Jan 1970 00:05:00 +0000 | |
691 | From: quux |
|
692 | From: quux | |
692 | To: foo |
|
693 | To: foo | |
693 | Cc: bar |
|
694 | Cc: bar | |
694 |
|
695 | |||
695 | # HG changeset patch |
|
696 | # HG changeset patch | |
696 | # User test |
|
697 | # User test | |
697 | # Date 5 0 |
|
698 | # Date 5 0 | |
698 | # Thu Jan 01 00:00:05 1970 +0000 |
|
699 | # Thu Jan 01 00:00:05 1970 +0000 | |
699 | # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
|
700 | # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 | |
700 | # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
701 | # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
701 | isolatin 8-bit encoding |
|
702 | isolatin 8-bit encoding | |
702 |
|
703 | |||
703 | diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin |
|
704 | diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin | |
704 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
705 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
705 | +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000 |
|
706 | +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000 | |
706 | @@ -0,0 +1,1 @@ |
|
707 | @@ -0,0 +1,1 @@ | |
707 | +h=F6mma! |
|
708 | +h=F6mma! | |
708 |
|
709 | |||
709 |
|
710 | |||
710 |
|
711 | |||
711 | test diffstat for single patch: |
|
712 | test diffstat for single patch: | |
712 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y -r 2 |
|
713 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y -r 2 | |
713 | this patch series consists of 1 patches. |
|
714 | this patch series consists of 1 patches. | |
714 |
|
715 | |||
715 |
|
716 | |||
716 | Final summary: |
|
717 | Final summary: | |
717 |
|
718 | |||
718 | From: quux |
|
719 | From: quux | |
719 | To: foo |
|
720 | To: foo | |
720 | Cc: bar |
|
721 | Cc: bar | |
721 | Subject: [PATCH] test |
|
722 | Subject: [PATCH] test | |
722 | c | 1 + |
|
723 | c | 1 + | |
723 | 1 files changed, 1 insertions(+), 0 deletions(-) |
|
724 | 1 files changed, 1 insertions(+), 0 deletions(-) | |
724 |
|
725 | |||
725 | are you sure you want to send (yn)? y |
|
726 | are you sure you want to send (yn)? y | |
726 |
|
727 | |||
727 | displaying [PATCH] test ... |
|
728 | displaying [PATCH] test ... | |
728 | MIME-Version: 1.0 |
|
729 | MIME-Version: 1.0 | |
729 | Content-Type: text/plain; charset="us-ascii" |
|
730 | Content-Type: text/plain; charset="us-ascii" | |
730 | Content-Transfer-Encoding: 7bit |
|
731 | Content-Transfer-Encoding: 7bit | |
731 | Subject: [PATCH] test |
|
732 | Subject: [PATCH] test | |
732 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
733 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
733 | X-Mercurial-Series-Index: 1 |
|
734 | X-Mercurial-Series-Index: 1 | |
734 | X-Mercurial-Series-Total: 1 |
|
735 | X-Mercurial-Series-Total: 1 | |
735 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
736 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
736 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
737 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
737 | User-Agent: Mercurial-patchbomb/* (glob) |
|
738 | User-Agent: Mercurial-patchbomb/* (glob) | |
738 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
739 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
739 | From: quux |
|
740 | From: quux | |
740 | To: foo |
|
741 | To: foo | |
741 | Cc: bar |
|
742 | Cc: bar | |
742 |
|
743 | |||
743 | c | 1 + |
|
744 | c | 1 + | |
744 | 1 files changed, 1 insertions(+), 0 deletions(-) |
|
745 | 1 files changed, 1 insertions(+), 0 deletions(-) | |
745 |
|
746 | |||
746 |
|
747 | |||
747 | # HG changeset patch |
|
748 | # HG changeset patch | |
748 | # User test |
|
749 | # User test | |
749 | # Date 3 0 |
|
750 | # Date 3 0 | |
750 | # Thu Jan 01 00:00:03 1970 +0000 |
|
751 | # Thu Jan 01 00:00:03 1970 +0000 | |
751 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
752 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
752 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
753 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
753 | c |
|
754 | c | |
754 |
|
755 | |||
755 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
|
756 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c | |
756 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
757 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
757 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
|
758 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 | |
758 | @@ -0,0 +1,1 @@ |
|
759 | @@ -0,0 +1,1 @@ | |
759 | +c |
|
760 | +c | |
760 |
|
761 | |||
761 |
|
762 | |||
762 | test diffstat for multiple patches: |
|
763 | test diffstat for multiple patches: | |
763 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y \ |
|
764 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -d -y \ | |
764 | > -r 0:1 |
|
765 | > -r 0:1 | |
765 | this patch series consists of 2 patches. |
|
766 | this patch series consists of 2 patches. | |
766 |
|
767 | |||
767 |
|
768 | |||
768 | Write the introductory message for the patch series. |
|
769 | Write the introductory message for the patch series. | |
769 |
|
770 | |||
770 |
|
771 | |||
771 | Final summary: |
|
772 | Final summary: | |
772 |
|
773 | |||
773 | From: quux |
|
774 | From: quux | |
774 | To: foo |
|
775 | To: foo | |
775 | Cc: bar |
|
776 | Cc: bar | |
776 | Subject: [PATCH 0 of 2] test |
|
777 | Subject: [PATCH 0 of 2] test | |
777 | a | 1 + |
|
778 | a | 1 + | |
778 | b | 1 + |
|
779 | b | 1 + | |
779 | 2 files changed, 2 insertions(+), 0 deletions(-) |
|
780 | 2 files changed, 2 insertions(+), 0 deletions(-) | |
780 | Subject: [PATCH 1 of 2] a |
|
781 | Subject: [PATCH 1 of 2] a | |
781 | a | 1 + |
|
782 | a | 1 + | |
782 | 1 files changed, 1 insertions(+), 0 deletions(-) |
|
783 | 1 files changed, 1 insertions(+), 0 deletions(-) | |
783 | Subject: [PATCH 2 of 2] b |
|
784 | Subject: [PATCH 2 of 2] b | |
784 | b | 1 + |
|
785 | b | 1 + | |
785 | 1 files changed, 1 insertions(+), 0 deletions(-) |
|
786 | 1 files changed, 1 insertions(+), 0 deletions(-) | |
786 |
|
787 | |||
787 | are you sure you want to send (yn)? y |
|
788 | are you sure you want to send (yn)? y | |
788 |
|
789 | |||
789 | displaying [PATCH 0 of 2] test ... |
|
790 | displaying [PATCH 0 of 2] test ... | |
790 | MIME-Version: 1.0 |
|
791 | MIME-Version: 1.0 | |
791 | Content-Type: text/plain; charset="us-ascii" |
|
792 | Content-Type: text/plain; charset="us-ascii" | |
792 | Content-Transfer-Encoding: 7bit |
|
793 | Content-Transfer-Encoding: 7bit | |
793 | Subject: [PATCH 0 of 2] test |
|
794 | Subject: [PATCH 0 of 2] test | |
794 | Message-Id: <patchbomb.60@*> (glob) |
|
795 | Message-Id: <patchbomb.60@*> (glob) | |
795 | User-Agent: Mercurial-patchbomb/* (glob) |
|
796 | User-Agent: Mercurial-patchbomb/* (glob) | |
796 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
797 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
797 | From: quux |
|
798 | From: quux | |
798 | To: foo |
|
799 | To: foo | |
799 | Cc: bar |
|
800 | Cc: bar | |
800 |
|
801 | |||
801 |
|
802 | |||
802 | a | 1 + |
|
803 | a | 1 + | |
803 | b | 1 + |
|
804 | b | 1 + | |
804 | 2 files changed, 2 insertions(+), 0 deletions(-) |
|
805 | 2 files changed, 2 insertions(+), 0 deletions(-) | |
805 |
|
806 | |||
806 | displaying [PATCH 1 of 2] a ... |
|
807 | displaying [PATCH 1 of 2] a ... | |
807 | MIME-Version: 1.0 |
|
808 | MIME-Version: 1.0 | |
808 | Content-Type: text/plain; charset="us-ascii" |
|
809 | Content-Type: text/plain; charset="us-ascii" | |
809 | Content-Transfer-Encoding: 7bit |
|
810 | Content-Transfer-Encoding: 7bit | |
810 | Subject: [PATCH 1 of 2] a |
|
811 | Subject: [PATCH 1 of 2] a | |
811 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
812 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
812 | X-Mercurial-Series-Index: 1 |
|
813 | X-Mercurial-Series-Index: 1 | |
813 | X-Mercurial-Series-Total: 2 |
|
814 | X-Mercurial-Series-Total: 2 | |
814 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
815 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) | |
815 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
816 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
816 | In-Reply-To: <patchbomb.60@*> (glob) |
|
817 | In-Reply-To: <patchbomb.60@*> (glob) | |
817 | References: <patchbomb.60@*> (glob) |
|
818 | References: <patchbomb.60@*> (glob) | |
818 | User-Agent: Mercurial-patchbomb/* (glob) |
|
819 | User-Agent: Mercurial-patchbomb/* (glob) | |
819 | Date: Thu, 01 Jan 1970 00:01:01 +0000 |
|
820 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | |
820 | From: quux |
|
821 | From: quux | |
821 | To: foo |
|
822 | To: foo | |
822 | Cc: bar |
|
823 | Cc: bar | |
823 |
|
824 | |||
824 | a | 1 + |
|
825 | a | 1 + | |
825 | 1 files changed, 1 insertions(+), 0 deletions(-) |
|
826 | 1 files changed, 1 insertions(+), 0 deletions(-) | |
826 |
|
827 | |||
827 |
|
828 | |||
828 | # HG changeset patch |
|
829 | # HG changeset patch | |
829 | # User test |
|
830 | # User test | |
830 | # Date 1 0 |
|
831 | # Date 1 0 | |
831 | # Thu Jan 01 00:00:01 1970 +0000 |
|
832 | # Thu Jan 01 00:00:01 1970 +0000 | |
832 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
833 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
833 | # Parent 0000000000000000000000000000000000000000 |
|
834 | # Parent 0000000000000000000000000000000000000000 | |
834 | a |
|
835 | a | |
835 |
|
836 | |||
836 | diff -r 000000000000 -r 8580ff50825a a |
|
837 | diff -r 000000000000 -r 8580ff50825a a | |
837 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
838 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
838 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
839 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
839 | @@ -0,0 +1,1 @@ |
|
840 | @@ -0,0 +1,1 @@ | |
840 | +a |
|
841 | +a | |
841 |
|
842 | |||
842 | displaying [PATCH 2 of 2] b ... |
|
843 | displaying [PATCH 2 of 2] b ... | |
843 | MIME-Version: 1.0 |
|
844 | MIME-Version: 1.0 | |
844 | Content-Type: text/plain; charset="us-ascii" |
|
845 | Content-Type: text/plain; charset="us-ascii" | |
845 | Content-Transfer-Encoding: 7bit |
|
846 | Content-Transfer-Encoding: 7bit | |
846 | Subject: [PATCH 2 of 2] b |
|
847 | Subject: [PATCH 2 of 2] b | |
847 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
848 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
848 | X-Mercurial-Series-Index: 2 |
|
849 | X-Mercurial-Series-Index: 2 | |
849 | X-Mercurial-Series-Total: 2 |
|
850 | X-Mercurial-Series-Total: 2 | |
850 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
|
851 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) | |
851 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
852 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
852 | In-Reply-To: <patchbomb.60@*> (glob) |
|
853 | In-Reply-To: <patchbomb.60@*> (glob) | |
853 | References: <patchbomb.60@*> (glob) |
|
854 | References: <patchbomb.60@*> (glob) | |
854 | User-Agent: Mercurial-patchbomb/* (glob) |
|
855 | User-Agent: Mercurial-patchbomb/* (glob) | |
855 | Date: Thu, 01 Jan 1970 00:01:02 +0000 |
|
856 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | |
856 | From: quux |
|
857 | From: quux | |
857 | To: foo |
|
858 | To: foo | |
858 | Cc: bar |
|
859 | Cc: bar | |
859 |
|
860 | |||
860 | b | 1 + |
|
861 | b | 1 + | |
861 | 1 files changed, 1 insertions(+), 0 deletions(-) |
|
862 | 1 files changed, 1 insertions(+), 0 deletions(-) | |
862 |
|
863 | |||
863 |
|
864 | |||
864 | # HG changeset patch |
|
865 | # HG changeset patch | |
865 | # User test |
|
866 | # User test | |
866 | # Date 2 0 |
|
867 | # Date 2 0 | |
867 | # Thu Jan 01 00:00:02 1970 +0000 |
|
868 | # Thu Jan 01 00:00:02 1970 +0000 | |
868 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
869 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
869 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
870 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
870 | b |
|
871 | b | |
871 |
|
872 | |||
872 | diff -r 8580ff50825a -r 97d72e5f12c7 b |
|
873 | diff -r 8580ff50825a -r 97d72e5f12c7 b | |
873 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
874 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
874 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
|
875 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 | |
875 | @@ -0,0 +1,1 @@ |
|
876 | @@ -0,0 +1,1 @@ | |
876 | +b |
|
877 | +b | |
877 |
|
878 | |||
878 |
|
879 | |||
879 | test inline for single patch: |
|
880 | test inline for single patch: | |
880 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2 | $FILTERBOUNDARY |
|
881 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 2 | $FILTERBOUNDARY | |
881 | this patch series consists of 1 patches. |
|
882 | this patch series consists of 1 patches. | |
882 |
|
883 | |||
883 |
|
884 | |||
884 | displaying [PATCH] test ... |
|
885 | displaying [PATCH] test ... | |
885 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
886 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
886 | MIME-Version: 1.0 |
|
887 | MIME-Version: 1.0 | |
887 | Subject: [PATCH] test |
|
888 | Subject: [PATCH] test | |
888 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
889 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
889 | X-Mercurial-Series-Index: 1 |
|
890 | X-Mercurial-Series-Index: 1 | |
890 | X-Mercurial-Series-Total: 1 |
|
891 | X-Mercurial-Series-Total: 1 | |
891 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
892 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
892 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
893 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
893 | User-Agent: Mercurial-patchbomb/* (glob) |
|
894 | User-Agent: Mercurial-patchbomb/* (glob) | |
894 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
895 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
895 | From: quux |
|
896 | From: quux | |
896 | To: foo |
|
897 | To: foo | |
897 | Cc: bar |
|
898 | Cc: bar | |
898 |
|
899 | |||
899 | --===*= (glob) |
|
900 | --===*= (glob) | |
900 | MIME-Version: 1.0 |
|
901 | MIME-Version: 1.0 | |
901 | Content-Type: text/x-patch; charset="us-ascii" |
|
902 | Content-Type: text/x-patch; charset="us-ascii" | |
902 | Content-Transfer-Encoding: 7bit |
|
903 | Content-Transfer-Encoding: 7bit | |
903 | Content-Disposition: inline; filename=t2.patch |
|
904 | Content-Disposition: inline; filename=t2.patch | |
904 |
|
905 | |||
905 | # HG changeset patch |
|
906 | # HG changeset patch | |
906 | # User test |
|
907 | # User test | |
907 | # Date 3 0 |
|
908 | # Date 3 0 | |
908 | # Thu Jan 01 00:00:03 1970 +0000 |
|
909 | # Thu Jan 01 00:00:03 1970 +0000 | |
909 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
910 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
910 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
911 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
911 | c |
|
912 | c | |
912 |
|
913 | |||
913 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
|
914 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c | |
914 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
915 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
915 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
|
916 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 | |
916 | @@ -0,0 +1,1 @@ |
|
917 | @@ -0,0 +1,1 @@ | |
917 | +c |
|
918 | +c | |
918 |
|
919 | |||
919 | --===*=-- (glob) |
|
920 | --===*=-- (glob) | |
920 |
|
921 | |||
921 |
|
922 | |||
922 | test inline for single patch (quoted-printable): |
|
923 | test inline for single patch (quoted-printable): | |
923 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 4 | $FILTERBOUNDARY |
|
924 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 4 | $FILTERBOUNDARY | |
924 | this patch series consists of 1 patches. |
|
925 | this patch series consists of 1 patches. | |
925 |
|
926 | |||
926 |
|
927 | |||
927 | displaying [PATCH] test ... |
|
928 | displaying [PATCH] test ... | |
928 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
929 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
929 | MIME-Version: 1.0 |
|
930 | MIME-Version: 1.0 | |
930 | Subject: [PATCH] test |
|
931 | Subject: [PATCH] test | |
931 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
932 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
932 | X-Mercurial-Series-Index: 1 |
|
933 | X-Mercurial-Series-Index: 1 | |
933 | X-Mercurial-Series-Total: 1 |
|
934 | X-Mercurial-Series-Total: 1 | |
934 | Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) |
|
935 | Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) | |
935 | X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) |
|
936 | X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) | |
936 | User-Agent: Mercurial-patchbomb/* (glob) |
|
937 | User-Agent: Mercurial-patchbomb/* (glob) | |
937 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
938 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
938 | From: quux |
|
939 | From: quux | |
939 | To: foo |
|
940 | To: foo | |
940 | Cc: bar |
|
941 | Cc: bar | |
941 |
|
942 | |||
942 | --===*= (glob) |
|
943 | --===*= (glob) | |
943 | MIME-Version: 1.0 |
|
944 | MIME-Version: 1.0 | |
944 | Content-Type: text/x-patch; charset="us-ascii" |
|
945 | Content-Type: text/x-patch; charset="us-ascii" | |
945 | Content-Transfer-Encoding: quoted-printable |
|
946 | Content-Transfer-Encoding: quoted-printable | |
946 | Content-Disposition: inline; filename=t2.patch |
|
947 | Content-Disposition: inline; filename=t2.patch | |
947 |
|
948 | |||
948 | # HG changeset patch |
|
949 | # HG changeset patch | |
949 | # User test |
|
950 | # User test | |
950 | # Date 4 0 |
|
951 | # Date 4 0 | |
951 | # Thu Jan 01 00:00:04 1970 +0000 |
|
952 | # Thu Jan 01 00:00:04 1970 +0000 | |
952 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
953 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
953 | # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
|
954 | # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f | |
954 | long line |
|
955 | long line | |
955 |
|
956 | |||
956 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
|
957 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long | |
957 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
958 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
958 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 |
|
959 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 | |
959 | @@ -0,0 +1,4 @@ |
|
960 | @@ -0,0 +1,4 @@ | |
960 | +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
961 | +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
961 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
962 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
962 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
963 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
963 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
964 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
964 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
965 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
965 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
966 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
966 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
967 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
967 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
968 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
968 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
969 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
969 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
970 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
970 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
971 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
971 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
972 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
972 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
973 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
973 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
|
974 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
974 | +foo |
|
975 | +foo | |
975 | + |
|
976 | + | |
976 | +bar |
|
977 | +bar | |
977 |
|
978 | |||
978 | --===*=-- (glob) |
|
979 | --===*=-- (glob) | |
979 |
|
980 | |||
980 | test inline for multiple patches: |
|
981 | test inline for multiple patches: | |
981 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \ |
|
982 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \ | |
982 | > -r 0:1 -r 4 | $FILTERBOUNDARY |
|
983 | > -r 0:1 -r 4 | $FILTERBOUNDARY | |
983 | this patch series consists of 3 patches. |
|
984 | this patch series consists of 3 patches. | |
984 |
|
985 | |||
985 |
|
986 | |||
986 | Write the introductory message for the patch series. |
|
987 | Write the introductory message for the patch series. | |
987 |
|
988 | |||
988 |
|
989 | |||
989 | displaying [PATCH 0 of 3] test ... |
|
990 | displaying [PATCH 0 of 3] test ... | |
990 | MIME-Version: 1.0 |
|
991 | MIME-Version: 1.0 | |
991 | Content-Type: text/plain; charset="us-ascii" |
|
992 | Content-Type: text/plain; charset="us-ascii" | |
992 | Content-Transfer-Encoding: 7bit |
|
993 | Content-Transfer-Encoding: 7bit | |
993 | Subject: [PATCH 0 of 3] test |
|
994 | Subject: [PATCH 0 of 3] test | |
994 | Message-Id: <patchbomb.60@*> (glob) |
|
995 | Message-Id: <patchbomb.60@*> (glob) | |
995 | User-Agent: Mercurial-patchbomb/* (glob) |
|
996 | User-Agent: Mercurial-patchbomb/* (glob) | |
996 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
997 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
997 | From: quux |
|
998 | From: quux | |
998 | To: foo |
|
999 | To: foo | |
999 | Cc: bar |
|
1000 | Cc: bar | |
1000 |
|
1001 | |||
1001 |
|
1002 | |||
1002 | displaying [PATCH 1 of 3] a ... |
|
1003 | displaying [PATCH 1 of 3] a ... | |
1003 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
1004 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
1004 | MIME-Version: 1.0 |
|
1005 | MIME-Version: 1.0 | |
1005 | Subject: [PATCH 1 of 3] a |
|
1006 | Subject: [PATCH 1 of 3] a | |
1006 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
1007 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
1007 | X-Mercurial-Series-Index: 1 |
|
1008 | X-Mercurial-Series-Index: 1 | |
1008 | X-Mercurial-Series-Total: 3 |
|
1009 | X-Mercurial-Series-Total: 3 | |
1009 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
1010 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) | |
1010 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
1011 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
1011 | In-Reply-To: <patchbomb.60@*> (glob) |
|
1012 | In-Reply-To: <patchbomb.60@*> (glob) | |
1012 | References: <patchbomb.60@*> (glob) |
|
1013 | References: <patchbomb.60@*> (glob) | |
1013 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1014 | User-Agent: Mercurial-patchbomb/* (glob) | |
1014 | Date: Thu, 01 Jan 1970 00:01:01 +0000 |
|
1015 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | |
1015 | From: quux |
|
1016 | From: quux | |
1016 | To: foo |
|
1017 | To: foo | |
1017 | Cc: bar |
|
1018 | Cc: bar | |
1018 |
|
1019 | |||
1019 | --===*= (glob) |
|
1020 | --===*= (glob) | |
1020 | MIME-Version: 1.0 |
|
1021 | MIME-Version: 1.0 | |
1021 | Content-Type: text/x-patch; charset="us-ascii" |
|
1022 | Content-Type: text/x-patch; charset="us-ascii" | |
1022 | Content-Transfer-Encoding: 7bit |
|
1023 | Content-Transfer-Encoding: 7bit | |
1023 | Content-Disposition: inline; filename=t2-1.patch |
|
1024 | Content-Disposition: inline; filename=t2-1.patch | |
1024 |
|
1025 | |||
1025 | # HG changeset patch |
|
1026 | # HG changeset patch | |
1026 | # User test |
|
1027 | # User test | |
1027 | # Date 1 0 |
|
1028 | # Date 1 0 | |
1028 | # Thu Jan 01 00:00:01 1970 +0000 |
|
1029 | # Thu Jan 01 00:00:01 1970 +0000 | |
1029 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
1030 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
1030 | # Parent 0000000000000000000000000000000000000000 |
|
1031 | # Parent 0000000000000000000000000000000000000000 | |
1031 | a |
|
1032 | a | |
1032 |
|
1033 | |||
1033 | diff -r 000000000000 -r 8580ff50825a a |
|
1034 | diff -r 000000000000 -r 8580ff50825a a | |
1034 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1035 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1035 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
1036 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
1036 | @@ -0,0 +1,1 @@ |
|
1037 | @@ -0,0 +1,1 @@ | |
1037 | +a |
|
1038 | +a | |
1038 |
|
1039 | |||
1039 | --===*=-- (glob) |
|
1040 | --===*=-- (glob) | |
1040 | displaying [PATCH 2 of 3] b ... |
|
1041 | displaying [PATCH 2 of 3] b ... | |
1041 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
1042 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
1042 | MIME-Version: 1.0 |
|
1043 | MIME-Version: 1.0 | |
1043 | Subject: [PATCH 2 of 3] b |
|
1044 | Subject: [PATCH 2 of 3] b | |
1044 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1045 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1045 | X-Mercurial-Series-Index: 2 |
|
1046 | X-Mercurial-Series-Index: 2 | |
1046 | X-Mercurial-Series-Total: 3 |
|
1047 | X-Mercurial-Series-Total: 3 | |
1047 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
|
1048 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) | |
1048 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
1049 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
1049 | In-Reply-To: <patchbomb.60@*> (glob) |
|
1050 | In-Reply-To: <patchbomb.60@*> (glob) | |
1050 | References: <patchbomb.60@*> (glob) |
|
1051 | References: <patchbomb.60@*> (glob) | |
1051 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1052 | User-Agent: Mercurial-patchbomb/* (glob) | |
1052 | Date: Thu, 01 Jan 1970 00:01:02 +0000 |
|
1053 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | |
1053 | From: quux |
|
1054 | From: quux | |
1054 | To: foo |
|
1055 | To: foo | |
1055 | Cc: bar |
|
1056 | Cc: bar | |
1056 |
|
1057 | |||
1057 | --===*= (glob) |
|
1058 | --===*= (glob) | |
1058 | MIME-Version: 1.0 |
|
1059 | MIME-Version: 1.0 | |
1059 | Content-Type: text/x-patch; charset="us-ascii" |
|
1060 | Content-Type: text/x-patch; charset="us-ascii" | |
1060 | Content-Transfer-Encoding: 7bit |
|
1061 | Content-Transfer-Encoding: 7bit | |
1061 | Content-Disposition: inline; filename=t2-2.patch |
|
1062 | Content-Disposition: inline; filename=t2-2.patch | |
1062 |
|
1063 | |||
1063 | # HG changeset patch |
|
1064 | # HG changeset patch | |
1064 | # User test |
|
1065 | # User test | |
1065 | # Date 2 0 |
|
1066 | # Date 2 0 | |
1066 | # Thu Jan 01 00:00:02 1970 +0000 |
|
1067 | # Thu Jan 01 00:00:02 1970 +0000 | |
1067 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1068 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1068 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
1069 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
1069 | b |
|
1070 | b | |
1070 |
|
1071 | |||
1071 | diff -r 8580ff50825a -r 97d72e5f12c7 b |
|
1072 | diff -r 8580ff50825a -r 97d72e5f12c7 b | |
1072 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1073 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1073 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
|
1074 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 | |
1074 | @@ -0,0 +1,1 @@ |
|
1075 | @@ -0,0 +1,1 @@ | |
1075 | +b |
|
1076 | +b | |
1076 |
|
1077 | |||
1077 | --===*=-- (glob) |
|
1078 | --===*=-- (glob) | |
1078 | displaying [PATCH 3 of 3] long line ... |
|
1079 | displaying [PATCH 3 of 3] long line ... | |
1079 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
1080 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
1080 | MIME-Version: 1.0 |
|
1081 | MIME-Version: 1.0 | |
1081 | Subject: [PATCH 3 of 3] long line |
|
1082 | Subject: [PATCH 3 of 3] long line | |
1082 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
1083 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
1083 | X-Mercurial-Series-Index: 3 |
|
1084 | X-Mercurial-Series-Index: 3 | |
1084 | X-Mercurial-Series-Total: 3 |
|
1085 | X-Mercurial-Series-Total: 3 | |
1085 | Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob) |
|
1086 | Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob) | |
1086 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
1087 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
1087 | In-Reply-To: <patchbomb.60@*> (glob) |
|
1088 | In-Reply-To: <patchbomb.60@*> (glob) | |
1088 | References: <patchbomb.60@*> (glob) |
|
1089 | References: <patchbomb.60@*> (glob) | |
1089 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1090 | User-Agent: Mercurial-patchbomb/* (glob) | |
1090 | Date: Thu, 01 Jan 1970 00:01:03 +0000 |
|
1091 | Date: Thu, 01 Jan 1970 00:01:03 +0000 | |
1091 | From: quux |
|
1092 | From: quux | |
1092 | To: foo |
|
1093 | To: foo | |
1093 | Cc: bar |
|
1094 | Cc: bar | |
1094 |
|
1095 | |||
1095 | --===*= (glob) |
|
1096 | --===*= (glob) | |
1096 | MIME-Version: 1.0 |
|
1097 | MIME-Version: 1.0 | |
1097 | Content-Type: text/x-patch; charset="us-ascii" |
|
1098 | Content-Type: text/x-patch; charset="us-ascii" | |
1098 | Content-Transfer-Encoding: quoted-printable |
|
1099 | Content-Transfer-Encoding: quoted-printable | |
1099 | Content-Disposition: inline; filename=t2-3.patch |
|
1100 | Content-Disposition: inline; filename=t2-3.patch | |
1100 |
|
1101 | |||
1101 | # HG changeset patch |
|
1102 | # HG changeset patch | |
1102 | # User test |
|
1103 | # User test | |
1103 | # Date 4 0 |
|
1104 | # Date 4 0 | |
1104 | # Thu Jan 01 00:00:04 1970 +0000 |
|
1105 | # Thu Jan 01 00:00:04 1970 +0000 | |
1105 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
1106 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
1106 | # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
|
1107 | # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f | |
1107 | long line |
|
1108 | long line | |
1108 |
|
1109 | |||
1109 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
|
1110 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long | |
1110 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1111 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1111 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 |
|
1112 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 | |
1112 | @@ -0,0 +1,4 @@ |
|
1113 | @@ -0,0 +1,4 @@ | |
1113 | +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1114 | +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1114 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1115 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1115 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1116 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1116 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1117 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1117 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1118 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1118 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1119 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1119 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1120 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1120 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1121 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1121 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1122 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1122 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1123 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1123 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1124 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1124 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1125 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1125 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1126 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1126 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
|
1127 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
1127 | +foo |
|
1128 | +foo | |
1128 | + |
|
1129 | + | |
1129 | +bar |
|
1130 | +bar | |
1130 |
|
1131 | |||
1131 | --===*=-- (glob) |
|
1132 | --===*=-- (glob) | |
1132 |
|
1133 | |||
1133 | test attach for single patch: |
|
1134 | test attach for single patch: | |
1134 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 2 | $FILTERBOUNDARY |
|
1135 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 2 | $FILTERBOUNDARY | |
1135 | this patch series consists of 1 patches. |
|
1136 | this patch series consists of 1 patches. | |
1136 |
|
1137 | |||
1137 |
|
1138 | |||
1138 | displaying [PATCH] test ... |
|
1139 | displaying [PATCH] test ... | |
1139 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
1140 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
1140 | MIME-Version: 1.0 |
|
1141 | MIME-Version: 1.0 | |
1141 | Subject: [PATCH] test |
|
1142 | Subject: [PATCH] test | |
1142 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
1143 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
1143 | X-Mercurial-Series-Index: 1 |
|
1144 | X-Mercurial-Series-Index: 1 | |
1144 | X-Mercurial-Series-Total: 1 |
|
1145 | X-Mercurial-Series-Total: 1 | |
1145 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
1146 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
1146 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
1147 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
1147 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1148 | User-Agent: Mercurial-patchbomb/* (glob) | |
1148 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
1149 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
1149 | From: quux |
|
1150 | From: quux | |
1150 | To: foo |
|
1151 | To: foo | |
1151 | Cc: bar |
|
1152 | Cc: bar | |
1152 |
|
1153 | |||
1153 | --===*= (glob) |
|
1154 | --===*= (glob) | |
1154 | MIME-Version: 1.0 |
|
1155 | MIME-Version: 1.0 | |
1155 | Content-Type: text/plain; charset="us-ascii" |
|
1156 | Content-Type: text/plain; charset="us-ascii" | |
1156 | Content-Transfer-Encoding: 7bit |
|
1157 | Content-Transfer-Encoding: 7bit | |
1157 |
|
1158 | |||
1158 | Patch subject is complete summary. |
|
1159 | Patch subject is complete summary. | |
1159 |
|
1160 | |||
1160 |
|
1161 | |||
1161 |
|
1162 | |||
1162 | --===*= (glob) |
|
1163 | --===*= (glob) | |
1163 | MIME-Version: 1.0 |
|
1164 | MIME-Version: 1.0 | |
1164 | Content-Type: text/x-patch; charset="us-ascii" |
|
1165 | Content-Type: text/x-patch; charset="us-ascii" | |
1165 | Content-Transfer-Encoding: 7bit |
|
1166 | Content-Transfer-Encoding: 7bit | |
1166 | Content-Disposition: attachment; filename=t2.patch |
|
1167 | Content-Disposition: attachment; filename=t2.patch | |
1167 |
|
1168 | |||
1168 | # HG changeset patch |
|
1169 | # HG changeset patch | |
1169 | # User test |
|
1170 | # User test | |
1170 | # Date 3 0 |
|
1171 | # Date 3 0 | |
1171 | # Thu Jan 01 00:00:03 1970 +0000 |
|
1172 | # Thu Jan 01 00:00:03 1970 +0000 | |
1172 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
1173 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
1173 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1174 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1174 | c |
|
1175 | c | |
1175 |
|
1176 | |||
1176 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
|
1177 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c | |
1177 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1178 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1178 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
|
1179 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 | |
1179 | @@ -0,0 +1,1 @@ |
|
1180 | @@ -0,0 +1,1 @@ | |
1180 | +c |
|
1181 | +c | |
1181 |
|
1182 | |||
1182 | --===*=-- (glob) |
|
1183 | --===*=-- (glob) | |
1183 |
|
1184 | |||
1184 | test attach for single patch (quoted-printable): |
|
1185 | test attach for single patch (quoted-printable): | |
1185 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 4 | $FILTERBOUNDARY |
|
1186 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 4 | $FILTERBOUNDARY | |
1186 | this patch series consists of 1 patches. |
|
1187 | this patch series consists of 1 patches. | |
1187 |
|
1188 | |||
1188 |
|
1189 | |||
1189 | displaying [PATCH] test ... |
|
1190 | displaying [PATCH] test ... | |
1190 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
1191 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
1191 | MIME-Version: 1.0 |
|
1192 | MIME-Version: 1.0 | |
1192 | Subject: [PATCH] test |
|
1193 | Subject: [PATCH] test | |
1193 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
1194 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
1194 | X-Mercurial-Series-Index: 1 |
|
1195 | X-Mercurial-Series-Index: 1 | |
1195 | X-Mercurial-Series-Total: 1 |
|
1196 | X-Mercurial-Series-Total: 1 | |
1196 | Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) |
|
1197 | Message-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) | |
1197 | X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) |
|
1198 | X-Mercurial-Series-Id: <a2ea8fc83dd8b93cfd86.60@*> (glob) | |
1198 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1199 | User-Agent: Mercurial-patchbomb/* (glob) | |
1199 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
1200 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
1200 | From: quux |
|
1201 | From: quux | |
1201 | To: foo |
|
1202 | To: foo | |
1202 | Cc: bar |
|
1203 | Cc: bar | |
1203 |
|
1204 | |||
1204 | --===*= (glob) |
|
1205 | --===*= (glob) | |
1205 | MIME-Version: 1.0 |
|
1206 | MIME-Version: 1.0 | |
1206 | Content-Type: text/plain; charset="us-ascii" |
|
1207 | Content-Type: text/plain; charset="us-ascii" | |
1207 | Content-Transfer-Encoding: 7bit |
|
1208 | Content-Transfer-Encoding: 7bit | |
1208 |
|
1209 | |||
1209 | Patch subject is complete summary. |
|
1210 | Patch subject is complete summary. | |
1210 |
|
1211 | |||
1211 |
|
1212 | |||
1212 |
|
1213 | |||
1213 | --===*= (glob) |
|
1214 | --===*= (glob) | |
1214 | MIME-Version: 1.0 |
|
1215 | MIME-Version: 1.0 | |
1215 | Content-Type: text/x-patch; charset="us-ascii" |
|
1216 | Content-Type: text/x-patch; charset="us-ascii" | |
1216 | Content-Transfer-Encoding: quoted-printable |
|
1217 | Content-Transfer-Encoding: quoted-printable | |
1217 | Content-Disposition: attachment; filename=t2.patch |
|
1218 | Content-Disposition: attachment; filename=t2.patch | |
1218 |
|
1219 | |||
1219 | # HG changeset patch |
|
1220 | # HG changeset patch | |
1220 | # User test |
|
1221 | # User test | |
1221 | # Date 4 0 |
|
1222 | # Date 4 0 | |
1222 | # Thu Jan 01 00:00:04 1970 +0000 |
|
1223 | # Thu Jan 01 00:00:04 1970 +0000 | |
1223 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
1224 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
1224 | # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
|
1225 | # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f | |
1225 | long line |
|
1226 | long line | |
1226 |
|
1227 | |||
1227 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
|
1228 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long | |
1228 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1229 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1229 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 |
|
1230 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 | |
1230 | @@ -0,0 +1,4 @@ |
|
1231 | @@ -0,0 +1,4 @@ | |
1231 | +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1232 | +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1232 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1233 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1233 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1234 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1234 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1235 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1235 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1236 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1236 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1237 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1237 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1238 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1238 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1239 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1239 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1240 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1240 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1241 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1241 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1242 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1242 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1243 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1243 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1244 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1244 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
|
1245 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
1245 | +foo |
|
1246 | +foo | |
1246 | + |
|
1247 | + | |
1247 | +bar |
|
1248 | +bar | |
1248 |
|
1249 | |||
1249 | --===*=-- (glob) |
|
1250 | --===*=-- (glob) | |
1250 |
|
1251 | |||
1251 | test attach and body for single patch: |
|
1252 | test attach and body for single patch: | |
1252 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a --body -r 2 | $FILTERBOUNDARY |
|
1253 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a --body -r 2 | $FILTERBOUNDARY | |
1253 | this patch series consists of 1 patches. |
|
1254 | this patch series consists of 1 patches. | |
1254 |
|
1255 | |||
1255 |
|
1256 | |||
1256 | displaying [PATCH] test ... |
|
1257 | displaying [PATCH] test ... | |
1257 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
1258 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
1258 | MIME-Version: 1.0 |
|
1259 | MIME-Version: 1.0 | |
1259 | Subject: [PATCH] test |
|
1260 | Subject: [PATCH] test | |
1260 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
1261 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
1261 | X-Mercurial-Series-Index: 1 |
|
1262 | X-Mercurial-Series-Index: 1 | |
1262 | X-Mercurial-Series-Total: 1 |
|
1263 | X-Mercurial-Series-Total: 1 | |
1263 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
1264 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
1264 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
1265 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
1265 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1266 | User-Agent: Mercurial-patchbomb/* (glob) | |
1266 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
1267 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
1267 | From: quux |
|
1268 | From: quux | |
1268 | To: foo |
|
1269 | To: foo | |
1269 | Cc: bar |
|
1270 | Cc: bar | |
1270 |
|
1271 | |||
1271 | --===*= (glob) |
|
1272 | --===*= (glob) | |
1272 | MIME-Version: 1.0 |
|
1273 | MIME-Version: 1.0 | |
1273 | Content-Type: text/plain; charset="us-ascii" |
|
1274 | Content-Type: text/plain; charset="us-ascii" | |
1274 | Content-Transfer-Encoding: 7bit |
|
1275 | Content-Transfer-Encoding: 7bit | |
1275 |
|
1276 | |||
1276 | # HG changeset patch |
|
1277 | # HG changeset patch | |
1277 | # User test |
|
1278 | # User test | |
1278 | # Date 3 0 |
|
1279 | # Date 3 0 | |
1279 | # Thu Jan 01 00:00:03 1970 +0000 |
|
1280 | # Thu Jan 01 00:00:03 1970 +0000 | |
1280 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
1281 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
1281 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1282 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1282 | c |
|
1283 | c | |
1283 |
|
1284 | |||
1284 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
|
1285 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c | |
1285 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1286 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1286 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
|
1287 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 | |
1287 | @@ -0,0 +1,1 @@ |
|
1288 | @@ -0,0 +1,1 @@ | |
1288 | +c |
|
1289 | +c | |
1289 |
|
1290 | |||
1290 | --===*= (glob) |
|
1291 | --===*= (glob) | |
1291 | MIME-Version: 1.0 |
|
1292 | MIME-Version: 1.0 | |
1292 | Content-Type: text/x-patch; charset="us-ascii" |
|
1293 | Content-Type: text/x-patch; charset="us-ascii" | |
1293 | Content-Transfer-Encoding: 7bit |
|
1294 | Content-Transfer-Encoding: 7bit | |
1294 | Content-Disposition: attachment; filename=t2.patch |
|
1295 | Content-Disposition: attachment; filename=t2.patch | |
1295 |
|
1296 | |||
1296 | # HG changeset patch |
|
1297 | # HG changeset patch | |
1297 | # User test |
|
1298 | # User test | |
1298 | # Date 3 0 |
|
1299 | # Date 3 0 | |
1299 | # Thu Jan 01 00:00:03 1970 +0000 |
|
1300 | # Thu Jan 01 00:00:03 1970 +0000 | |
1300 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
1301 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
1301 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1302 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1302 | c |
|
1303 | c | |
1303 |
|
1304 | |||
1304 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
|
1305 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c | |
1305 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1306 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1306 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
|
1307 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 | |
1307 | @@ -0,0 +1,1 @@ |
|
1308 | @@ -0,0 +1,1 @@ | |
1308 | +c |
|
1309 | +c | |
1309 |
|
1310 | |||
1310 | --===*=-- (glob) |
|
1311 | --===*=-- (glob) | |
1311 |
|
1312 | |||
1312 | test attach for multiple patches: |
|
1313 | test attach for multiple patches: | |
1313 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a \ |
|
1314 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a \ | |
1314 | > -r 0:1 -r 4 | $FILTERBOUNDARY |
|
1315 | > -r 0:1 -r 4 | $FILTERBOUNDARY | |
1315 | this patch series consists of 3 patches. |
|
1316 | this patch series consists of 3 patches. | |
1316 |
|
1317 | |||
1317 |
|
1318 | |||
1318 | Write the introductory message for the patch series. |
|
1319 | Write the introductory message for the patch series. | |
1319 |
|
1320 | |||
1320 |
|
1321 | |||
1321 | displaying [PATCH 0 of 3] test ... |
|
1322 | displaying [PATCH 0 of 3] test ... | |
1322 | MIME-Version: 1.0 |
|
1323 | MIME-Version: 1.0 | |
1323 | Content-Type: text/plain; charset="us-ascii" |
|
1324 | Content-Type: text/plain; charset="us-ascii" | |
1324 | Content-Transfer-Encoding: 7bit |
|
1325 | Content-Transfer-Encoding: 7bit | |
1325 | Subject: [PATCH 0 of 3] test |
|
1326 | Subject: [PATCH 0 of 3] test | |
1326 | Message-Id: <patchbomb.60@*> (glob) |
|
1327 | Message-Id: <patchbomb.60@*> (glob) | |
1327 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1328 | User-Agent: Mercurial-patchbomb/* (glob) | |
1328 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
1329 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
1329 | From: quux |
|
1330 | From: quux | |
1330 | To: foo |
|
1331 | To: foo | |
1331 | Cc: bar |
|
1332 | Cc: bar | |
1332 |
|
1333 | |||
1333 |
|
1334 | |||
1334 | displaying [PATCH 1 of 3] a ... |
|
1335 | displaying [PATCH 1 of 3] a ... | |
1335 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
1336 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
1336 | MIME-Version: 1.0 |
|
1337 | MIME-Version: 1.0 | |
1337 | Subject: [PATCH 1 of 3] a |
|
1338 | Subject: [PATCH 1 of 3] a | |
1338 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
1339 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
1339 | X-Mercurial-Series-Index: 1 |
|
1340 | X-Mercurial-Series-Index: 1 | |
1340 | X-Mercurial-Series-Total: 3 |
|
1341 | X-Mercurial-Series-Total: 3 | |
1341 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
1342 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) | |
1342 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
1343 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
1343 | In-Reply-To: <patchbomb.60@*> (glob) |
|
1344 | In-Reply-To: <patchbomb.60@*> (glob) | |
1344 | References: <patchbomb.60@*> (glob) |
|
1345 | References: <patchbomb.60@*> (glob) | |
1345 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1346 | User-Agent: Mercurial-patchbomb/* (glob) | |
1346 | Date: Thu, 01 Jan 1970 00:01:01 +0000 |
|
1347 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | |
1347 | From: quux |
|
1348 | From: quux | |
1348 | To: foo |
|
1349 | To: foo | |
1349 | Cc: bar |
|
1350 | Cc: bar | |
1350 |
|
1351 | |||
1351 | --===*= (glob) |
|
1352 | --===*= (glob) | |
1352 | MIME-Version: 1.0 |
|
1353 | MIME-Version: 1.0 | |
1353 | Content-Type: text/plain; charset="us-ascii" |
|
1354 | Content-Type: text/plain; charset="us-ascii" | |
1354 | Content-Transfer-Encoding: 7bit |
|
1355 | Content-Transfer-Encoding: 7bit | |
1355 |
|
1356 | |||
1356 | Patch subject is complete summary. |
|
1357 | Patch subject is complete summary. | |
1357 |
|
1358 | |||
1358 |
|
1359 | |||
1359 |
|
1360 | |||
1360 | --===*= (glob) |
|
1361 | --===*= (glob) | |
1361 | MIME-Version: 1.0 |
|
1362 | MIME-Version: 1.0 | |
1362 | Content-Type: text/x-patch; charset="us-ascii" |
|
1363 | Content-Type: text/x-patch; charset="us-ascii" | |
1363 | Content-Transfer-Encoding: 7bit |
|
1364 | Content-Transfer-Encoding: 7bit | |
1364 | Content-Disposition: attachment; filename=t2-1.patch |
|
1365 | Content-Disposition: attachment; filename=t2-1.patch | |
1365 |
|
1366 | |||
1366 | # HG changeset patch |
|
1367 | # HG changeset patch | |
1367 | # User test |
|
1368 | # User test | |
1368 | # Date 1 0 |
|
1369 | # Date 1 0 | |
1369 | # Thu Jan 01 00:00:01 1970 +0000 |
|
1370 | # Thu Jan 01 00:00:01 1970 +0000 | |
1370 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
1371 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
1371 | # Parent 0000000000000000000000000000000000000000 |
|
1372 | # Parent 0000000000000000000000000000000000000000 | |
1372 | a |
|
1373 | a | |
1373 |
|
1374 | |||
1374 | diff -r 000000000000 -r 8580ff50825a a |
|
1375 | diff -r 000000000000 -r 8580ff50825a a | |
1375 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1376 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1376 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
1377 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
1377 | @@ -0,0 +1,1 @@ |
|
1378 | @@ -0,0 +1,1 @@ | |
1378 | +a |
|
1379 | +a | |
1379 |
|
1380 | |||
1380 | --===*=-- (glob) |
|
1381 | --===*=-- (glob) | |
1381 | displaying [PATCH 2 of 3] b ... |
|
1382 | displaying [PATCH 2 of 3] b ... | |
1382 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
1383 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
1383 | MIME-Version: 1.0 |
|
1384 | MIME-Version: 1.0 | |
1384 | Subject: [PATCH 2 of 3] b |
|
1385 | Subject: [PATCH 2 of 3] b | |
1385 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1386 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1386 | X-Mercurial-Series-Index: 2 |
|
1387 | X-Mercurial-Series-Index: 2 | |
1387 | X-Mercurial-Series-Total: 3 |
|
1388 | X-Mercurial-Series-Total: 3 | |
1388 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
|
1389 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) | |
1389 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
1390 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
1390 | In-Reply-To: <patchbomb.60@*> (glob) |
|
1391 | In-Reply-To: <patchbomb.60@*> (glob) | |
1391 | References: <patchbomb.60@*> (glob) |
|
1392 | References: <patchbomb.60@*> (glob) | |
1392 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1393 | User-Agent: Mercurial-patchbomb/* (glob) | |
1393 | Date: Thu, 01 Jan 1970 00:01:02 +0000 |
|
1394 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | |
1394 | From: quux |
|
1395 | From: quux | |
1395 | To: foo |
|
1396 | To: foo | |
1396 | Cc: bar |
|
1397 | Cc: bar | |
1397 |
|
1398 | |||
1398 | --===*= (glob) |
|
1399 | --===*= (glob) | |
1399 | MIME-Version: 1.0 |
|
1400 | MIME-Version: 1.0 | |
1400 | Content-Type: text/plain; charset="us-ascii" |
|
1401 | Content-Type: text/plain; charset="us-ascii" | |
1401 | Content-Transfer-Encoding: 7bit |
|
1402 | Content-Transfer-Encoding: 7bit | |
1402 |
|
1403 | |||
1403 | Patch subject is complete summary. |
|
1404 | Patch subject is complete summary. | |
1404 |
|
1405 | |||
1405 |
|
1406 | |||
1406 |
|
1407 | |||
1407 | --===*= (glob) |
|
1408 | --===*= (glob) | |
1408 | MIME-Version: 1.0 |
|
1409 | MIME-Version: 1.0 | |
1409 | Content-Type: text/x-patch; charset="us-ascii" |
|
1410 | Content-Type: text/x-patch; charset="us-ascii" | |
1410 | Content-Transfer-Encoding: 7bit |
|
1411 | Content-Transfer-Encoding: 7bit | |
1411 | Content-Disposition: attachment; filename=t2-2.patch |
|
1412 | Content-Disposition: attachment; filename=t2-2.patch | |
1412 |
|
1413 | |||
1413 | # HG changeset patch |
|
1414 | # HG changeset patch | |
1414 | # User test |
|
1415 | # User test | |
1415 | # Date 2 0 |
|
1416 | # Date 2 0 | |
1416 | # Thu Jan 01 00:00:02 1970 +0000 |
|
1417 | # Thu Jan 01 00:00:02 1970 +0000 | |
1417 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1418 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1418 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
1419 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
1419 | b |
|
1420 | b | |
1420 |
|
1421 | |||
1421 | diff -r 8580ff50825a -r 97d72e5f12c7 b |
|
1422 | diff -r 8580ff50825a -r 97d72e5f12c7 b | |
1422 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1423 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1423 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
|
1424 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 | |
1424 | @@ -0,0 +1,1 @@ |
|
1425 | @@ -0,0 +1,1 @@ | |
1425 | +b |
|
1426 | +b | |
1426 |
|
1427 | |||
1427 | --===*=-- (glob) |
|
1428 | --===*=-- (glob) | |
1428 | displaying [PATCH 3 of 3] long line ... |
|
1429 | displaying [PATCH 3 of 3] long line ... | |
1429 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
1430 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
1430 | MIME-Version: 1.0 |
|
1431 | MIME-Version: 1.0 | |
1431 | Subject: [PATCH 3 of 3] long line |
|
1432 | Subject: [PATCH 3 of 3] long line | |
1432 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
1433 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
1433 | X-Mercurial-Series-Index: 3 |
|
1434 | X-Mercurial-Series-Index: 3 | |
1434 | X-Mercurial-Series-Total: 3 |
|
1435 | X-Mercurial-Series-Total: 3 | |
1435 | Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob) |
|
1436 | Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob) | |
1436 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
1437 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
1437 | In-Reply-To: <patchbomb.60@*> (glob) |
|
1438 | In-Reply-To: <patchbomb.60@*> (glob) | |
1438 | References: <patchbomb.60@*> (glob) |
|
1439 | References: <patchbomb.60@*> (glob) | |
1439 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1440 | User-Agent: Mercurial-patchbomb/* (glob) | |
1440 | Date: Thu, 01 Jan 1970 00:01:03 +0000 |
|
1441 | Date: Thu, 01 Jan 1970 00:01:03 +0000 | |
1441 | From: quux |
|
1442 | From: quux | |
1442 | To: foo |
|
1443 | To: foo | |
1443 | Cc: bar |
|
1444 | Cc: bar | |
1444 |
|
1445 | |||
1445 | --===*= (glob) |
|
1446 | --===*= (glob) | |
1446 | MIME-Version: 1.0 |
|
1447 | MIME-Version: 1.0 | |
1447 | Content-Type: text/plain; charset="us-ascii" |
|
1448 | Content-Type: text/plain; charset="us-ascii" | |
1448 | Content-Transfer-Encoding: 7bit |
|
1449 | Content-Transfer-Encoding: 7bit | |
1449 |
|
1450 | |||
1450 | Patch subject is complete summary. |
|
1451 | Patch subject is complete summary. | |
1451 |
|
1452 | |||
1452 |
|
1453 | |||
1453 |
|
1454 | |||
1454 | --===*= (glob) |
|
1455 | --===*= (glob) | |
1455 | MIME-Version: 1.0 |
|
1456 | MIME-Version: 1.0 | |
1456 | Content-Type: text/x-patch; charset="us-ascii" |
|
1457 | Content-Type: text/x-patch; charset="us-ascii" | |
1457 | Content-Transfer-Encoding: quoted-printable |
|
1458 | Content-Transfer-Encoding: quoted-printable | |
1458 | Content-Disposition: attachment; filename=t2-3.patch |
|
1459 | Content-Disposition: attachment; filename=t2-3.patch | |
1459 |
|
1460 | |||
1460 | # HG changeset patch |
|
1461 | # HG changeset patch | |
1461 | # User test |
|
1462 | # User test | |
1462 | # Date 4 0 |
|
1463 | # Date 4 0 | |
1463 | # Thu Jan 01 00:00:04 1970 +0000 |
|
1464 | # Thu Jan 01 00:00:04 1970 +0000 | |
1464 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
1465 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
1465 | # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
|
1466 | # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f | |
1466 | long line |
|
1467 | long line | |
1467 |
|
1468 | |||
1468 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
|
1469 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long | |
1469 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1470 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1470 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 |
|
1471 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 | |
1471 | @@ -0,0 +1,4 @@ |
|
1472 | @@ -0,0 +1,4 @@ | |
1472 | +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1473 | +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1473 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1474 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1474 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1475 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1475 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1476 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1476 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1477 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1477 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1478 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1478 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1479 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1479 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1480 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1480 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1481 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1481 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1482 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1482 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1483 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1483 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1484 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1484 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
1485 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
1485 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
|
1486 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
1486 | +foo |
|
1487 | +foo | |
1487 | + |
|
1488 | + | |
1488 | +bar |
|
1489 | +bar | |
1489 |
|
1490 | |||
1490 | --===*=-- (glob) |
|
1491 | --===*=-- (glob) | |
1491 |
|
1492 | |||
1492 | test intro for single patch: |
|
1493 | test intro for single patch: | |
1493 | $ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \ |
|
1494 | $ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \ | |
1494 | > -r 2 |
|
1495 | > -r 2 | |
1495 | this patch series consists of 1 patches. |
|
1496 | this patch series consists of 1 patches. | |
1496 |
|
1497 | |||
1497 |
|
1498 | |||
1498 | Write the introductory message for the patch series. |
|
1499 | Write the introductory message for the patch series. | |
1499 |
|
1500 | |||
1500 |
|
1501 | |||
1501 | displaying [PATCH 0 of 1] test ... |
|
1502 | displaying [PATCH 0 of 1] test ... | |
1502 | MIME-Version: 1.0 |
|
1503 | MIME-Version: 1.0 | |
1503 | Content-Type: text/plain; charset="us-ascii" |
|
1504 | Content-Type: text/plain; charset="us-ascii" | |
1504 | Content-Transfer-Encoding: 7bit |
|
1505 | Content-Transfer-Encoding: 7bit | |
1505 | Subject: [PATCH 0 of 1] test |
|
1506 | Subject: [PATCH 0 of 1] test | |
1506 | Message-Id: <patchbomb.60@*> (glob) |
|
1507 | Message-Id: <patchbomb.60@*> (glob) | |
1507 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1508 | User-Agent: Mercurial-patchbomb/* (glob) | |
1508 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
1509 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
1509 | From: quux |
|
1510 | From: quux | |
1510 | To: foo |
|
1511 | To: foo | |
1511 | Cc: bar |
|
1512 | Cc: bar | |
1512 |
|
1513 | |||
1513 |
|
1514 | |||
1514 | displaying [PATCH 1 of 1] c ... |
|
1515 | displaying [PATCH 1 of 1] c ... | |
1515 | MIME-Version: 1.0 |
|
1516 | MIME-Version: 1.0 | |
1516 | Content-Type: text/plain; charset="us-ascii" |
|
1517 | Content-Type: text/plain; charset="us-ascii" | |
1517 | Content-Transfer-Encoding: 7bit |
|
1518 | Content-Transfer-Encoding: 7bit | |
1518 | Subject: [PATCH 1 of 1] c |
|
1519 | Subject: [PATCH 1 of 1] c | |
1519 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
1520 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
1520 | X-Mercurial-Series-Index: 1 |
|
1521 | X-Mercurial-Series-Index: 1 | |
1521 | X-Mercurial-Series-Total: 1 |
|
1522 | X-Mercurial-Series-Total: 1 | |
1522 | Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) |
|
1523 | Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) | |
1523 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) |
|
1524 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) | |
1524 | In-Reply-To: <patchbomb.60@*> (glob) |
|
1525 | In-Reply-To: <patchbomb.60@*> (glob) | |
1525 | References: <patchbomb.60@*> (glob) |
|
1526 | References: <patchbomb.60@*> (glob) | |
1526 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1527 | User-Agent: Mercurial-patchbomb/* (glob) | |
1527 | Date: Thu, 01 Jan 1970 00:01:01 +0000 |
|
1528 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | |
1528 | From: quux |
|
1529 | From: quux | |
1529 | To: foo |
|
1530 | To: foo | |
1530 | Cc: bar |
|
1531 | Cc: bar | |
1531 |
|
1532 | |||
1532 | # HG changeset patch |
|
1533 | # HG changeset patch | |
1533 | # User test |
|
1534 | # User test | |
1534 | # Date 3 0 |
|
1535 | # Date 3 0 | |
1535 | # Thu Jan 01 00:00:03 1970 +0000 |
|
1536 | # Thu Jan 01 00:00:03 1970 +0000 | |
1536 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
1537 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
1537 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1538 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1538 | c |
|
1539 | c | |
1539 |
|
1540 | |||
1540 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
|
1541 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c | |
1541 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1542 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1542 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
|
1543 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 | |
1543 | @@ -0,0 +1,1 @@ |
|
1544 | @@ -0,0 +1,1 @@ | |
1544 | +c |
|
1545 | +c | |
1545 |
|
1546 | |||
1546 |
|
1547 | |||
1547 | test --desc without --intro for a single patch: |
|
1548 | test --desc without --intro for a single patch: | |
1548 | $ echo foo > intro.text |
|
1549 | $ echo foo > intro.text | |
1549 | $ hg email --date '1970-1-1 0:1' -n --desc intro.text -f quux -t foo -c bar \ |
|
1550 | $ hg email --date '1970-1-1 0:1' -n --desc intro.text -f quux -t foo -c bar \ | |
1550 | > -s test -r 2 |
|
1551 | > -s test -r 2 | |
1551 | this patch series consists of 1 patches. |
|
1552 | this patch series consists of 1 patches. | |
1552 |
|
1553 | |||
1553 |
|
1554 | |||
1554 | displaying [PATCH 0 of 1] test ... |
|
1555 | displaying [PATCH 0 of 1] test ... | |
1555 | MIME-Version: 1.0 |
|
1556 | MIME-Version: 1.0 | |
1556 | Content-Type: text/plain; charset="us-ascii" |
|
1557 | Content-Type: text/plain; charset="us-ascii" | |
1557 | Content-Transfer-Encoding: 7bit |
|
1558 | Content-Transfer-Encoding: 7bit | |
1558 | Subject: [PATCH 0 of 1] test |
|
1559 | Subject: [PATCH 0 of 1] test | |
1559 | Message-Id: <patchbomb.60@*> (glob) |
|
1560 | Message-Id: <patchbomb.60@*> (glob) | |
1560 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1561 | User-Agent: Mercurial-patchbomb/* (glob) | |
1561 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
1562 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
1562 | From: quux |
|
1563 | From: quux | |
1563 | To: foo |
|
1564 | To: foo | |
1564 | Cc: bar |
|
1565 | Cc: bar | |
1565 |
|
1566 | |||
1566 | foo |
|
1567 | foo | |
1567 |
|
1568 | |||
1568 | displaying [PATCH 1 of 1] c ... |
|
1569 | displaying [PATCH 1 of 1] c ... | |
1569 | MIME-Version: 1.0 |
|
1570 | MIME-Version: 1.0 | |
1570 | Content-Type: text/plain; charset="us-ascii" |
|
1571 | Content-Type: text/plain; charset="us-ascii" | |
1571 | Content-Transfer-Encoding: 7bit |
|
1572 | Content-Transfer-Encoding: 7bit | |
1572 | Subject: [PATCH 1 of 1] c |
|
1573 | Subject: [PATCH 1 of 1] c | |
1573 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
1574 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
1574 | X-Mercurial-Series-Index: 1 |
|
1575 | X-Mercurial-Series-Index: 1 | |
1575 | X-Mercurial-Series-Total: 1 |
|
1576 | X-Mercurial-Series-Total: 1 | |
1576 | Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) |
|
1577 | Message-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) | |
1577 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) |
|
1578 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.61@*> (glob) | |
1578 | In-Reply-To: <patchbomb.60@*> (glob) |
|
1579 | In-Reply-To: <patchbomb.60@*> (glob) | |
1579 | References: <patchbomb.60@*> (glob) |
|
1580 | References: <patchbomb.60@*> (glob) | |
1580 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1581 | User-Agent: Mercurial-patchbomb/* (glob) | |
1581 | Date: Thu, 01 Jan 1970 00:01:01 +0000 |
|
1582 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | |
1582 | From: quux |
|
1583 | From: quux | |
1583 | To: foo |
|
1584 | To: foo | |
1584 | Cc: bar |
|
1585 | Cc: bar | |
1585 |
|
1586 | |||
1586 | # HG changeset patch |
|
1587 | # HG changeset patch | |
1587 | # User test |
|
1588 | # User test | |
1588 | # Date 3 0 |
|
1589 | # Date 3 0 | |
1589 | # Thu Jan 01 00:00:03 1970 +0000 |
|
1590 | # Thu Jan 01 00:00:03 1970 +0000 | |
1590 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
1591 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
1591 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1592 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1592 | c |
|
1593 | c | |
1593 |
|
1594 | |||
1594 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
|
1595 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c | |
1595 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1596 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1596 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
|
1597 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 | |
1597 | @@ -0,0 +1,1 @@ |
|
1598 | @@ -0,0 +1,1 @@ | |
1598 | +c |
|
1599 | +c | |
1599 |
|
1600 | |||
1600 |
|
1601 | |||
1601 | test intro for multiple patches: |
|
1602 | test intro for multiple patches: | |
1602 | $ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \ |
|
1603 | $ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \ | |
1603 | > -r 0:1 |
|
1604 | > -r 0:1 | |
1604 | this patch series consists of 2 patches. |
|
1605 | this patch series consists of 2 patches. | |
1605 |
|
1606 | |||
1606 |
|
1607 | |||
1607 | Write the introductory message for the patch series. |
|
1608 | Write the introductory message for the patch series. | |
1608 |
|
1609 | |||
1609 |
|
1610 | |||
1610 | displaying [PATCH 0 of 2] test ... |
|
1611 | displaying [PATCH 0 of 2] test ... | |
1611 | MIME-Version: 1.0 |
|
1612 | MIME-Version: 1.0 | |
1612 | Content-Type: text/plain; charset="us-ascii" |
|
1613 | Content-Type: text/plain; charset="us-ascii" | |
1613 | Content-Transfer-Encoding: 7bit |
|
1614 | Content-Transfer-Encoding: 7bit | |
1614 | Subject: [PATCH 0 of 2] test |
|
1615 | Subject: [PATCH 0 of 2] test | |
1615 | Message-Id: <patchbomb.60@*> (glob) |
|
1616 | Message-Id: <patchbomb.60@*> (glob) | |
1616 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1617 | User-Agent: Mercurial-patchbomb/* (glob) | |
1617 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
1618 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
1618 | From: quux |
|
1619 | From: quux | |
1619 | To: foo |
|
1620 | To: foo | |
1620 | Cc: bar |
|
1621 | Cc: bar | |
1621 |
|
1622 | |||
1622 |
|
1623 | |||
1623 | displaying [PATCH 1 of 2] a ... |
|
1624 | displaying [PATCH 1 of 2] a ... | |
1624 | MIME-Version: 1.0 |
|
1625 | MIME-Version: 1.0 | |
1625 | Content-Type: text/plain; charset="us-ascii" |
|
1626 | Content-Type: text/plain; charset="us-ascii" | |
1626 | Content-Transfer-Encoding: 7bit |
|
1627 | Content-Transfer-Encoding: 7bit | |
1627 | Subject: [PATCH 1 of 2] a |
|
1628 | Subject: [PATCH 1 of 2] a | |
1628 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
1629 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
1629 | X-Mercurial-Series-Index: 1 |
|
1630 | X-Mercurial-Series-Index: 1 | |
1630 | X-Mercurial-Series-Total: 2 |
|
1631 | X-Mercurial-Series-Total: 2 | |
1631 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
1632 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) | |
1632 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
1633 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
1633 | In-Reply-To: <patchbomb.60@*> (glob) |
|
1634 | In-Reply-To: <patchbomb.60@*> (glob) | |
1634 | References: <patchbomb.60@*> (glob) |
|
1635 | References: <patchbomb.60@*> (glob) | |
1635 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1636 | User-Agent: Mercurial-patchbomb/* (glob) | |
1636 | Date: Thu, 01 Jan 1970 00:01:01 +0000 |
|
1637 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | |
1637 | From: quux |
|
1638 | From: quux | |
1638 | To: foo |
|
1639 | To: foo | |
1639 | Cc: bar |
|
1640 | Cc: bar | |
1640 |
|
1641 | |||
1641 | # HG changeset patch |
|
1642 | # HG changeset patch | |
1642 | # User test |
|
1643 | # User test | |
1643 | # Date 1 0 |
|
1644 | # Date 1 0 | |
1644 | # Thu Jan 01 00:00:01 1970 +0000 |
|
1645 | # Thu Jan 01 00:00:01 1970 +0000 | |
1645 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
1646 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
1646 | # Parent 0000000000000000000000000000000000000000 |
|
1647 | # Parent 0000000000000000000000000000000000000000 | |
1647 | a |
|
1648 | a | |
1648 |
|
1649 | |||
1649 | diff -r 000000000000 -r 8580ff50825a a |
|
1650 | diff -r 000000000000 -r 8580ff50825a a | |
1650 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1651 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1651 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
1652 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
1652 | @@ -0,0 +1,1 @@ |
|
1653 | @@ -0,0 +1,1 @@ | |
1653 | +a |
|
1654 | +a | |
1654 |
|
1655 | |||
1655 | displaying [PATCH 2 of 2] b ... |
|
1656 | displaying [PATCH 2 of 2] b ... | |
1656 | MIME-Version: 1.0 |
|
1657 | MIME-Version: 1.0 | |
1657 | Content-Type: text/plain; charset="us-ascii" |
|
1658 | Content-Type: text/plain; charset="us-ascii" | |
1658 | Content-Transfer-Encoding: 7bit |
|
1659 | Content-Transfer-Encoding: 7bit | |
1659 | Subject: [PATCH 2 of 2] b |
|
1660 | Subject: [PATCH 2 of 2] b | |
1660 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1661 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1661 | X-Mercurial-Series-Index: 2 |
|
1662 | X-Mercurial-Series-Index: 2 | |
1662 | X-Mercurial-Series-Total: 2 |
|
1663 | X-Mercurial-Series-Total: 2 | |
1663 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
|
1664 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) | |
1664 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
1665 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
1665 | In-Reply-To: <patchbomb.60@*> (glob) |
|
1666 | In-Reply-To: <patchbomb.60@*> (glob) | |
1666 | References: <patchbomb.60@*> (glob) |
|
1667 | References: <patchbomb.60@*> (glob) | |
1667 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1668 | User-Agent: Mercurial-patchbomb/* (glob) | |
1668 | Date: Thu, 01 Jan 1970 00:01:02 +0000 |
|
1669 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | |
1669 | From: quux |
|
1670 | From: quux | |
1670 | To: foo |
|
1671 | To: foo | |
1671 | Cc: bar |
|
1672 | Cc: bar | |
1672 |
|
1673 | |||
1673 | # HG changeset patch |
|
1674 | # HG changeset patch | |
1674 | # User test |
|
1675 | # User test | |
1675 | # Date 2 0 |
|
1676 | # Date 2 0 | |
1676 | # Thu Jan 01 00:00:02 1970 +0000 |
|
1677 | # Thu Jan 01 00:00:02 1970 +0000 | |
1677 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1678 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1678 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
1679 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
1679 | b |
|
1680 | b | |
1680 |
|
1681 | |||
1681 | diff -r 8580ff50825a -r 97d72e5f12c7 b |
|
1682 | diff -r 8580ff50825a -r 97d72e5f12c7 b | |
1682 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1683 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1683 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
|
1684 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 | |
1684 | @@ -0,0 +1,1 @@ |
|
1685 | @@ -0,0 +1,1 @@ | |
1685 | +b |
|
1686 | +b | |
1686 |
|
1687 | |||
1687 |
|
1688 | |||
1688 | test reply-to via config: |
|
1689 | test reply-to via config: | |
1689 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \ |
|
1690 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \ | |
1690 | > --config patchbomb.reply-to='baz@example.com' |
|
1691 | > --config patchbomb.reply-to='baz@example.com' | |
1691 | this patch series consists of 1 patches. |
|
1692 | this patch series consists of 1 patches. | |
1692 |
|
1693 | |||
1693 |
|
1694 | |||
1694 | displaying [PATCH] test ... |
|
1695 | displaying [PATCH] test ... | |
1695 | MIME-Version: 1.0 |
|
1696 | MIME-Version: 1.0 | |
1696 | Content-Type: text/plain; charset="us-ascii" |
|
1697 | Content-Type: text/plain; charset="us-ascii" | |
1697 | Content-Transfer-Encoding: 7bit |
|
1698 | Content-Transfer-Encoding: 7bit | |
1698 | Subject: [PATCH] test |
|
1699 | Subject: [PATCH] test | |
1699 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
1700 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
1700 | X-Mercurial-Series-Index: 1 |
|
1701 | X-Mercurial-Series-Index: 1 | |
1701 | X-Mercurial-Series-Total: 1 |
|
1702 | X-Mercurial-Series-Total: 1 | |
1702 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
1703 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
1703 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
1704 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
1704 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1705 | User-Agent: Mercurial-patchbomb/* (glob) | |
1705 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
1706 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
1706 | From: quux |
|
1707 | From: quux | |
1707 | To: foo |
|
1708 | To: foo | |
1708 | Cc: bar |
|
1709 | Cc: bar | |
1709 | Reply-To: baz@example.com |
|
1710 | Reply-To: baz@example.com | |
1710 |
|
1711 | |||
1711 | # HG changeset patch |
|
1712 | # HG changeset patch | |
1712 | # User test |
|
1713 | # User test | |
1713 | # Date 3 0 |
|
1714 | # Date 3 0 | |
1714 | # Thu Jan 01 00:00:03 1970 +0000 |
|
1715 | # Thu Jan 01 00:00:03 1970 +0000 | |
1715 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
1716 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
1716 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1717 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1717 | c |
|
1718 | c | |
1718 |
|
1719 | |||
1719 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
|
1720 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c | |
1720 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1721 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1721 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
|
1722 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 | |
1722 | @@ -0,0 +1,1 @@ |
|
1723 | @@ -0,0 +1,1 @@ | |
1723 | +c |
|
1724 | +c | |
1724 |
|
1725 | |||
1725 |
|
1726 | |||
1726 | test reply-to via command line: |
|
1727 | test reply-to via command line: | |
1727 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \ |
|
1728 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -r 2 \ | |
1728 | > --reply-to baz --reply-to fred |
|
1729 | > --reply-to baz --reply-to fred | |
1729 | this patch series consists of 1 patches. |
|
1730 | this patch series consists of 1 patches. | |
1730 |
|
1731 | |||
1731 |
|
1732 | |||
1732 | displaying [PATCH] test ... |
|
1733 | displaying [PATCH] test ... | |
1733 | MIME-Version: 1.0 |
|
1734 | MIME-Version: 1.0 | |
1734 | Content-Type: text/plain; charset="us-ascii" |
|
1735 | Content-Type: text/plain; charset="us-ascii" | |
1735 | Content-Transfer-Encoding: 7bit |
|
1736 | Content-Transfer-Encoding: 7bit | |
1736 | Subject: [PATCH] test |
|
1737 | Subject: [PATCH] test | |
1737 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
1738 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
1738 | X-Mercurial-Series-Index: 1 |
|
1739 | X-Mercurial-Series-Index: 1 | |
1739 | X-Mercurial-Series-Total: 1 |
|
1740 | X-Mercurial-Series-Total: 1 | |
1740 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
1741 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
1741 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
1742 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
1742 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1743 | User-Agent: Mercurial-patchbomb/* (glob) | |
1743 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
1744 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
1744 | From: quux |
|
1745 | From: quux | |
1745 | To: foo |
|
1746 | To: foo | |
1746 | Cc: bar |
|
1747 | Cc: bar | |
1747 | Reply-To: baz, fred |
|
1748 | Reply-To: baz, fred | |
1748 |
|
1749 | |||
1749 | # HG changeset patch |
|
1750 | # HG changeset patch | |
1750 | # User test |
|
1751 | # User test | |
1751 | # Date 3 0 |
|
1752 | # Date 3 0 | |
1752 | # Thu Jan 01 00:00:03 1970 +0000 |
|
1753 | # Thu Jan 01 00:00:03 1970 +0000 | |
1753 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
1754 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
1754 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1755 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1755 | c |
|
1756 | c | |
1756 |
|
1757 | |||
1757 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
|
1758 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c | |
1758 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1759 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1759 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
|
1760 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 | |
1760 | @@ -0,0 +1,1 @@ |
|
1761 | @@ -0,0 +1,1 @@ | |
1761 | +c |
|
1762 | +c | |
1762 |
|
1763 | |||
1763 |
|
1764 | |||
1764 | tagging csets: |
|
1765 | tagging csets: | |
1765 | $ hg tag -r0 zero zero.foo |
|
1766 | $ hg tag -r0 zero zero.foo | |
1766 | $ hg tag -r1 one one.patch |
|
1767 | $ hg tag -r1 one one.patch | |
1767 | $ hg tag -r2 two two.diff |
|
1768 | $ hg tag -r2 two two.diff | |
1768 |
|
1769 | |||
1769 | test inline for single named patch: |
|
1770 | test inline for single named patch: | |
1770 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \ |
|
1771 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \ | |
1771 | > -r 2 | $FILTERBOUNDARY |
|
1772 | > -r 2 | $FILTERBOUNDARY | |
1772 | this patch series consists of 1 patches. |
|
1773 | this patch series consists of 1 patches. | |
1773 |
|
1774 | |||
1774 |
|
1775 | |||
1775 | displaying [PATCH] test ... |
|
1776 | displaying [PATCH] test ... | |
1776 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
1777 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
1777 | MIME-Version: 1.0 |
|
1778 | MIME-Version: 1.0 | |
1778 | Subject: [PATCH] test |
|
1779 | Subject: [PATCH] test | |
1779 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
1780 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
1780 | X-Mercurial-Series-Index: 1 |
|
1781 | X-Mercurial-Series-Index: 1 | |
1781 | X-Mercurial-Series-Total: 1 |
|
1782 | X-Mercurial-Series-Total: 1 | |
1782 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
1783 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
1783 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
1784 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
1784 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1785 | User-Agent: Mercurial-patchbomb/* (glob) | |
1785 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
1786 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
1786 | From: quux |
|
1787 | From: quux | |
1787 | To: foo |
|
1788 | To: foo | |
1788 | Cc: bar |
|
1789 | Cc: bar | |
1789 |
|
1790 | |||
1790 | --===*= (glob) |
|
1791 | --===*= (glob) | |
1791 | MIME-Version: 1.0 |
|
1792 | MIME-Version: 1.0 | |
1792 | Content-Type: text/x-patch; charset="us-ascii" |
|
1793 | Content-Type: text/x-patch; charset="us-ascii" | |
1793 | Content-Transfer-Encoding: 7bit |
|
1794 | Content-Transfer-Encoding: 7bit | |
1794 | Content-Disposition: inline; filename=two.diff |
|
1795 | Content-Disposition: inline; filename=two.diff | |
1795 |
|
1796 | |||
1796 | # HG changeset patch |
|
1797 | # HG changeset patch | |
1797 | # User test |
|
1798 | # User test | |
1798 | # Date 3 0 |
|
1799 | # Date 3 0 | |
1799 | # Thu Jan 01 00:00:03 1970 +0000 |
|
1800 | # Thu Jan 01 00:00:03 1970 +0000 | |
1800 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
1801 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
1801 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1802 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1802 | c |
|
1803 | c | |
1803 |
|
1804 | |||
1804 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
|
1805 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c | |
1805 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1806 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1806 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
|
1807 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 | |
1807 | @@ -0,0 +1,1 @@ |
|
1808 | @@ -0,0 +1,1 @@ | |
1808 | +c |
|
1809 | +c | |
1809 |
|
1810 | |||
1810 | --===*=-- (glob) |
|
1811 | --===*=-- (glob) | |
1811 |
|
1812 | |||
1812 | test inline for multiple named/unnamed patches: |
|
1813 | test inline for multiple named/unnamed patches: | |
1813 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \ |
|
1814 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \ | |
1814 | > -r 0:1 | $FILTERBOUNDARY |
|
1815 | > -r 0:1 | $FILTERBOUNDARY | |
1815 | this patch series consists of 2 patches. |
|
1816 | this patch series consists of 2 patches. | |
1816 |
|
1817 | |||
1817 |
|
1818 | |||
1818 | Write the introductory message for the patch series. |
|
1819 | Write the introductory message for the patch series. | |
1819 |
|
1820 | |||
1820 |
|
1821 | |||
1821 | displaying [PATCH 0 of 2] test ... |
|
1822 | displaying [PATCH 0 of 2] test ... | |
1822 | MIME-Version: 1.0 |
|
1823 | MIME-Version: 1.0 | |
1823 | Content-Type: text/plain; charset="us-ascii" |
|
1824 | Content-Type: text/plain; charset="us-ascii" | |
1824 | Content-Transfer-Encoding: 7bit |
|
1825 | Content-Transfer-Encoding: 7bit | |
1825 | Subject: [PATCH 0 of 2] test |
|
1826 | Subject: [PATCH 0 of 2] test | |
1826 | Message-Id: <patchbomb.60@*> (glob) |
|
1827 | Message-Id: <patchbomb.60@*> (glob) | |
1827 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1828 | User-Agent: Mercurial-patchbomb/* (glob) | |
1828 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
1829 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
1829 | From: quux |
|
1830 | From: quux | |
1830 | To: foo |
|
1831 | To: foo | |
1831 | Cc: bar |
|
1832 | Cc: bar | |
1832 |
|
1833 | |||
1833 |
|
1834 | |||
1834 | displaying [PATCH 1 of 2] a ... |
|
1835 | displaying [PATCH 1 of 2] a ... | |
1835 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
1836 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
1836 | MIME-Version: 1.0 |
|
1837 | MIME-Version: 1.0 | |
1837 | Subject: [PATCH 1 of 2] a |
|
1838 | Subject: [PATCH 1 of 2] a | |
1838 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
1839 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
1839 | X-Mercurial-Series-Index: 1 |
|
1840 | X-Mercurial-Series-Index: 1 | |
1840 | X-Mercurial-Series-Total: 2 |
|
1841 | X-Mercurial-Series-Total: 2 | |
1841 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
1842 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) | |
1842 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
1843 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
1843 | In-Reply-To: <patchbomb.60@*> (glob) |
|
1844 | In-Reply-To: <patchbomb.60@*> (glob) | |
1844 | References: <patchbomb.60@*> (glob) |
|
1845 | References: <patchbomb.60@*> (glob) | |
1845 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1846 | User-Agent: Mercurial-patchbomb/* (glob) | |
1846 | Date: Thu, 01 Jan 1970 00:01:01 +0000 |
|
1847 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | |
1847 | From: quux |
|
1848 | From: quux | |
1848 | To: foo |
|
1849 | To: foo | |
1849 | Cc: bar |
|
1850 | Cc: bar | |
1850 |
|
1851 | |||
1851 | --===*= (glob) |
|
1852 | --===*= (glob) | |
1852 | MIME-Version: 1.0 |
|
1853 | MIME-Version: 1.0 | |
1853 | Content-Type: text/x-patch; charset="us-ascii" |
|
1854 | Content-Type: text/x-patch; charset="us-ascii" | |
1854 | Content-Transfer-Encoding: 7bit |
|
1855 | Content-Transfer-Encoding: 7bit | |
1855 | Content-Disposition: inline; filename=t2-1.patch |
|
1856 | Content-Disposition: inline; filename=t2-1.patch | |
1856 |
|
1857 | |||
1857 | # HG changeset patch |
|
1858 | # HG changeset patch | |
1858 | # User test |
|
1859 | # User test | |
1859 | # Date 1 0 |
|
1860 | # Date 1 0 | |
1860 | # Thu Jan 01 00:00:01 1970 +0000 |
|
1861 | # Thu Jan 01 00:00:01 1970 +0000 | |
1861 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
1862 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
1862 | # Parent 0000000000000000000000000000000000000000 |
|
1863 | # Parent 0000000000000000000000000000000000000000 | |
1863 | a |
|
1864 | a | |
1864 |
|
1865 | |||
1865 | diff -r 000000000000 -r 8580ff50825a a |
|
1866 | diff -r 000000000000 -r 8580ff50825a a | |
1866 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1867 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1867 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
1868 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
1868 | @@ -0,0 +1,1 @@ |
|
1869 | @@ -0,0 +1,1 @@ | |
1869 | +a |
|
1870 | +a | |
1870 |
|
1871 | |||
1871 | --===*=-- (glob) |
|
1872 | --===*=-- (glob) | |
1872 | displaying [PATCH 2 of 2] b ... |
|
1873 | displaying [PATCH 2 of 2] b ... | |
1873 | Content-Type: multipart/mixed; boundary="===*==" (glob) |
|
1874 | Content-Type: multipart/mixed; boundary="===*==" (glob) | |
1874 | MIME-Version: 1.0 |
|
1875 | MIME-Version: 1.0 | |
1875 | Subject: [PATCH 2 of 2] b |
|
1876 | Subject: [PATCH 2 of 2] b | |
1876 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1877 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1877 | X-Mercurial-Series-Index: 2 |
|
1878 | X-Mercurial-Series-Index: 2 | |
1878 | X-Mercurial-Series-Total: 2 |
|
1879 | X-Mercurial-Series-Total: 2 | |
1879 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
|
1880 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) | |
1880 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
1881 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
1881 | In-Reply-To: <patchbomb.60@*> (glob) |
|
1882 | In-Reply-To: <patchbomb.60@*> (glob) | |
1882 | References: <patchbomb.60@*> (glob) |
|
1883 | References: <patchbomb.60@*> (glob) | |
1883 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1884 | User-Agent: Mercurial-patchbomb/* (glob) | |
1884 | Date: Thu, 01 Jan 1970 00:01:02 +0000 |
|
1885 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | |
1885 | From: quux |
|
1886 | From: quux | |
1886 | To: foo |
|
1887 | To: foo | |
1887 | Cc: bar |
|
1888 | Cc: bar | |
1888 |
|
1889 | |||
1889 | --===*= (glob) |
|
1890 | --===*= (glob) | |
1890 | MIME-Version: 1.0 |
|
1891 | MIME-Version: 1.0 | |
1891 | Content-Type: text/x-patch; charset="us-ascii" |
|
1892 | Content-Type: text/x-patch; charset="us-ascii" | |
1892 | Content-Transfer-Encoding: 7bit |
|
1893 | Content-Transfer-Encoding: 7bit | |
1893 | Content-Disposition: inline; filename=one.patch |
|
1894 | Content-Disposition: inline; filename=one.patch | |
1894 |
|
1895 | |||
1895 | # HG changeset patch |
|
1896 | # HG changeset patch | |
1896 | # User test |
|
1897 | # User test | |
1897 | # Date 2 0 |
|
1898 | # Date 2 0 | |
1898 | # Thu Jan 01 00:00:02 1970 +0000 |
|
1899 | # Thu Jan 01 00:00:02 1970 +0000 | |
1899 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1900 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1900 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
1901 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
1901 | b |
|
1902 | b | |
1902 |
|
1903 | |||
1903 | diff -r 8580ff50825a -r 97d72e5f12c7 b |
|
1904 | diff -r 8580ff50825a -r 97d72e5f12c7 b | |
1904 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1905 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1905 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
|
1906 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 | |
1906 | @@ -0,0 +1,1 @@ |
|
1907 | @@ -0,0 +1,1 @@ | |
1907 | +b |
|
1908 | +b | |
1908 |
|
1909 | |||
1909 | --===*=-- (glob) |
|
1910 | --===*=-- (glob) | |
1910 |
|
1911 | |||
1911 |
|
1912 | |||
1912 | test inreplyto: |
|
1913 | test inreplyto: | |
1913 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \ |
|
1914 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \ | |
1914 | > -r tip |
|
1915 | > -r tip | |
1915 | this patch series consists of 1 patches. |
|
1916 | this patch series consists of 1 patches. | |
1916 |
|
1917 | |||
1917 |
|
1918 | |||
1918 | displaying [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b ... |
|
1919 | displaying [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b ... | |
1919 | MIME-Version: 1.0 |
|
1920 | MIME-Version: 1.0 | |
1920 | Content-Type: text/plain; charset="us-ascii" |
|
1921 | Content-Type: text/plain; charset="us-ascii" | |
1921 | Content-Transfer-Encoding: 7bit |
|
1922 | Content-Transfer-Encoding: 7bit | |
1922 | Subject: [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b |
|
1923 | Subject: [PATCH] Added tag two, two.diff for changeset ff2c9fa2018b | |
1923 | X-Mercurial-Node: 7aead2484924c445ad8ce2613df91f52f9e502ed |
|
1924 | X-Mercurial-Node: 7aead2484924c445ad8ce2613df91f52f9e502ed | |
1924 | X-Mercurial-Series-Index: 1 |
|
1925 | X-Mercurial-Series-Index: 1 | |
1925 | X-Mercurial-Series-Total: 1 |
|
1926 | X-Mercurial-Series-Total: 1 | |
1926 | Message-Id: <7aead2484924c445ad8c.60@*> (glob) |
|
1927 | Message-Id: <7aead2484924c445ad8c.60@*> (glob) | |
1927 | X-Mercurial-Series-Id: <7aead2484924c445ad8c.60@*> (glob) |
|
1928 | X-Mercurial-Series-Id: <7aead2484924c445ad8c.60@*> (glob) | |
1928 | In-Reply-To: <baz> |
|
1929 | In-Reply-To: <baz> | |
1929 | References: <baz> |
|
1930 | References: <baz> | |
1930 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1931 | User-Agent: Mercurial-patchbomb/* (glob) | |
1931 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
1932 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
1932 | From: quux |
|
1933 | From: quux | |
1933 | To: foo |
|
1934 | To: foo | |
1934 | Cc: bar |
|
1935 | Cc: bar | |
1935 |
|
1936 | |||
1936 | # HG changeset patch |
|
1937 | # HG changeset patch | |
1937 | # User test |
|
1938 | # User test | |
1938 | # Date 0 0 |
|
1939 | # Date 0 0 | |
1939 | # Thu Jan 01 00:00:00 1970 +0000 |
|
1940 | # Thu Jan 01 00:00:00 1970 +0000 | |
1940 | # Node ID 7aead2484924c445ad8ce2613df91f52f9e502ed |
|
1941 | # Node ID 7aead2484924c445ad8ce2613df91f52f9e502ed | |
1941 | # Parent 045ca29b1ea20e4940411e695e20e521f2f0f98e |
|
1942 | # Parent 045ca29b1ea20e4940411e695e20e521f2f0f98e | |
1942 | Added tag two, two.diff for changeset ff2c9fa2018b |
|
1943 | Added tag two, two.diff for changeset ff2c9fa2018b | |
1943 |
|
1944 | |||
1944 | diff -r 045ca29b1ea2 -r 7aead2484924 .hgtags |
|
1945 | diff -r 045ca29b1ea2 -r 7aead2484924 .hgtags | |
1945 | --- a/.hgtags Thu Jan 01 00:00:00 1970 +0000 |
|
1946 | --- a/.hgtags Thu Jan 01 00:00:00 1970 +0000 | |
1946 | +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000 |
|
1947 | +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000 | |
1947 | @@ -2,3 +2,5 @@ |
|
1948 | @@ -2,3 +2,5 @@ | |
1948 | 8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo |
|
1949 | 8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo | |
1949 | 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one |
|
1950 | 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one | |
1950 | 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch |
|
1951 | 97d72e5f12c7e84f85064aa72e5a297142c36ed9 one.patch | |
1951 | +ff2c9fa2018b15fa74b33363bda9527323e2a99f two |
|
1952 | +ff2c9fa2018b15fa74b33363bda9527323e2a99f two | |
1952 | +ff2c9fa2018b15fa74b33363bda9527323e2a99f two.diff |
|
1953 | +ff2c9fa2018b15fa74b33363bda9527323e2a99f two.diff | |
1953 |
|
1954 | |||
1954 | no intro message in non-interactive mode |
|
1955 | no intro message in non-interactive mode | |
1955 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \ |
|
1956 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \ | |
1956 | > -r 0:1 |
|
1957 | > -r 0:1 | |
1957 | this patch series consists of 2 patches. |
|
1958 | this patch series consists of 2 patches. | |
1958 |
|
1959 | |||
1959 | (optional) Subject: [PATCH 0 of 2] |
|
1960 | (optional) Subject: [PATCH 0 of 2] | |
1960 |
|
1961 | |||
1961 | displaying [PATCH 1 of 2] a ... |
|
1962 | displaying [PATCH 1 of 2] a ... | |
1962 | MIME-Version: 1.0 |
|
1963 | MIME-Version: 1.0 | |
1963 | Content-Type: text/plain; charset="us-ascii" |
|
1964 | Content-Type: text/plain; charset="us-ascii" | |
1964 | Content-Transfer-Encoding: 7bit |
|
1965 | Content-Transfer-Encoding: 7bit | |
1965 | Subject: [PATCH 1 of 2] a |
|
1966 | Subject: [PATCH 1 of 2] a | |
1966 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
1967 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
1967 | X-Mercurial-Series-Index: 1 |
|
1968 | X-Mercurial-Series-Index: 1 | |
1968 | X-Mercurial-Series-Total: 2 |
|
1969 | X-Mercurial-Series-Total: 2 | |
1969 | Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
|
1970 | Message-Id: <8580ff50825a50c8f716.60@*> (glob) | |
1970 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
|
1971 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) | |
1971 | In-Reply-To: <baz> |
|
1972 | In-Reply-To: <baz> | |
1972 | References: <baz> |
|
1973 | References: <baz> | |
1973 | User-Agent: Mercurial-patchbomb/* (glob) |
|
1974 | User-Agent: Mercurial-patchbomb/* (glob) | |
1974 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
1975 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
1975 | From: quux |
|
1976 | From: quux | |
1976 | To: foo |
|
1977 | To: foo | |
1977 | Cc: bar |
|
1978 | Cc: bar | |
1978 |
|
1979 | |||
1979 | # HG changeset patch |
|
1980 | # HG changeset patch | |
1980 | # User test |
|
1981 | # User test | |
1981 | # Date 1 0 |
|
1982 | # Date 1 0 | |
1982 | # Thu Jan 01 00:00:01 1970 +0000 |
|
1983 | # Thu Jan 01 00:00:01 1970 +0000 | |
1983 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
1984 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
1984 | # Parent 0000000000000000000000000000000000000000 |
|
1985 | # Parent 0000000000000000000000000000000000000000 | |
1985 | a |
|
1986 | a | |
1986 |
|
1987 | |||
1987 | diff -r 000000000000 -r 8580ff50825a a |
|
1988 | diff -r 000000000000 -r 8580ff50825a a | |
1988 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1989 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
1989 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
1990 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
1990 | @@ -0,0 +1,1 @@ |
|
1991 | @@ -0,0 +1,1 @@ | |
1991 | +a |
|
1992 | +a | |
1992 |
|
1993 | |||
1993 | displaying [PATCH 2 of 2] b ... |
|
1994 | displaying [PATCH 2 of 2] b ... | |
1994 | MIME-Version: 1.0 |
|
1995 | MIME-Version: 1.0 | |
1995 | Content-Type: text/plain; charset="us-ascii" |
|
1996 | Content-Type: text/plain; charset="us-ascii" | |
1996 | Content-Transfer-Encoding: 7bit |
|
1997 | Content-Transfer-Encoding: 7bit | |
1997 | Subject: [PATCH 2 of 2] b |
|
1998 | Subject: [PATCH 2 of 2] b | |
1998 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
1999 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
1999 | X-Mercurial-Series-Index: 2 |
|
2000 | X-Mercurial-Series-Index: 2 | |
2000 | X-Mercurial-Series-Total: 2 |
|
2001 | X-Mercurial-Series-Total: 2 | |
2001 | Message-Id: <97d72e5f12c7e84f8506.61@*> (glob) |
|
2002 | Message-Id: <97d72e5f12c7e84f8506.61@*> (glob) | |
2002 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
|
2003 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) | |
2003 | In-Reply-To: <baz> |
|
2004 | In-Reply-To: <baz> | |
2004 | References: <baz> |
|
2005 | References: <baz> | |
2005 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2006 | User-Agent: Mercurial-patchbomb/* (glob) | |
2006 | Date: Thu, 01 Jan 1970 00:01:01 +0000 |
|
2007 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | |
2007 | From: quux |
|
2008 | From: quux | |
2008 | To: foo |
|
2009 | To: foo | |
2009 | Cc: bar |
|
2010 | Cc: bar | |
2010 |
|
2011 | |||
2011 | # HG changeset patch |
|
2012 | # HG changeset patch | |
2012 | # User test |
|
2013 | # User test | |
2013 | # Date 2 0 |
|
2014 | # Date 2 0 | |
2014 | # Thu Jan 01 00:00:02 1970 +0000 |
|
2015 | # Thu Jan 01 00:00:02 1970 +0000 | |
2015 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
2016 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
2016 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2017 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2017 | b |
|
2018 | b | |
2018 |
|
2019 | |||
2019 | diff -r 8580ff50825a -r 97d72e5f12c7 b |
|
2020 | diff -r 8580ff50825a -r 97d72e5f12c7 b | |
2020 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2021 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2021 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
|
2022 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 | |
2022 | @@ -0,0 +1,1 @@ |
|
2023 | @@ -0,0 +1,1 @@ | |
2023 | +b |
|
2024 | +b | |
2024 |
|
2025 | |||
2025 |
|
2026 | |||
2026 |
|
2027 | |||
2027 |
|
2028 | |||
2028 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \ |
|
2029 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \ | |
2029 | > -s test -r 0:1 |
|
2030 | > -s test -r 0:1 | |
2030 | this patch series consists of 2 patches. |
|
2031 | this patch series consists of 2 patches. | |
2031 |
|
2032 | |||
2032 |
|
2033 | |||
2033 | Write the introductory message for the patch series. |
|
2034 | Write the introductory message for the patch series. | |
2034 |
|
2035 | |||
2035 |
|
2036 | |||
2036 | displaying [PATCH 0 of 2] test ... |
|
2037 | displaying [PATCH 0 of 2] test ... | |
2037 | MIME-Version: 1.0 |
|
2038 | MIME-Version: 1.0 | |
2038 | Content-Type: text/plain; charset="us-ascii" |
|
2039 | Content-Type: text/plain; charset="us-ascii" | |
2039 | Content-Transfer-Encoding: 7bit |
|
2040 | Content-Transfer-Encoding: 7bit | |
2040 | Subject: [PATCH 0 of 2] test |
|
2041 | Subject: [PATCH 0 of 2] test | |
2041 | Message-Id: <patchbomb.60@*> (glob) |
|
2042 | Message-Id: <patchbomb.60@*> (glob) | |
2042 | In-Reply-To: <baz> |
|
2043 | In-Reply-To: <baz> | |
2043 | References: <baz> |
|
2044 | References: <baz> | |
2044 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2045 | User-Agent: Mercurial-patchbomb/* (glob) | |
2045 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
2046 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
2046 | From: quux |
|
2047 | From: quux | |
2047 | To: foo |
|
2048 | To: foo | |
2048 | Cc: bar |
|
2049 | Cc: bar | |
2049 |
|
2050 | |||
2050 |
|
2051 | |||
2051 | displaying [PATCH 1 of 2] a ... |
|
2052 | displaying [PATCH 1 of 2] a ... | |
2052 | MIME-Version: 1.0 |
|
2053 | MIME-Version: 1.0 | |
2053 | Content-Type: text/plain; charset="us-ascii" |
|
2054 | Content-Type: text/plain; charset="us-ascii" | |
2054 | Content-Transfer-Encoding: 7bit |
|
2055 | Content-Transfer-Encoding: 7bit | |
2055 | Subject: [PATCH 1 of 2] a |
|
2056 | Subject: [PATCH 1 of 2] a | |
2056 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2057 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2057 | X-Mercurial-Series-Index: 1 |
|
2058 | X-Mercurial-Series-Index: 1 | |
2058 | X-Mercurial-Series-Total: 2 |
|
2059 | X-Mercurial-Series-Total: 2 | |
2059 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
2060 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) | |
2060 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
2061 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
2061 | In-Reply-To: <patchbomb.60@*> (glob) |
|
2062 | In-Reply-To: <patchbomb.60@*> (glob) | |
2062 | References: <patchbomb.60@*> (glob) |
|
2063 | References: <patchbomb.60@*> (glob) | |
2063 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2064 | User-Agent: Mercurial-patchbomb/* (glob) | |
2064 | Date: Thu, 01 Jan 1970 00:01:01 +0000 |
|
2065 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | |
2065 | From: quux |
|
2066 | From: quux | |
2066 | To: foo |
|
2067 | To: foo | |
2067 | Cc: bar |
|
2068 | Cc: bar | |
2068 |
|
2069 | |||
2069 | # HG changeset patch |
|
2070 | # HG changeset patch | |
2070 | # User test |
|
2071 | # User test | |
2071 | # Date 1 0 |
|
2072 | # Date 1 0 | |
2072 | # Thu Jan 01 00:00:01 1970 +0000 |
|
2073 | # Thu Jan 01 00:00:01 1970 +0000 | |
2073 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2074 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2074 | # Parent 0000000000000000000000000000000000000000 |
|
2075 | # Parent 0000000000000000000000000000000000000000 | |
2075 | a |
|
2076 | a | |
2076 |
|
2077 | |||
2077 | diff -r 000000000000 -r 8580ff50825a a |
|
2078 | diff -r 000000000000 -r 8580ff50825a a | |
2078 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2079 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2079 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
2080 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
2080 | @@ -0,0 +1,1 @@ |
|
2081 | @@ -0,0 +1,1 @@ | |
2081 | +a |
|
2082 | +a | |
2082 |
|
2083 | |||
2083 | displaying [PATCH 2 of 2] b ... |
|
2084 | displaying [PATCH 2 of 2] b ... | |
2084 | MIME-Version: 1.0 |
|
2085 | MIME-Version: 1.0 | |
2085 | Content-Type: text/plain; charset="us-ascii" |
|
2086 | Content-Type: text/plain; charset="us-ascii" | |
2086 | Content-Transfer-Encoding: 7bit |
|
2087 | Content-Transfer-Encoding: 7bit | |
2087 | Subject: [PATCH 2 of 2] b |
|
2088 | Subject: [PATCH 2 of 2] b | |
2088 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
2089 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
2089 | X-Mercurial-Series-Index: 2 |
|
2090 | X-Mercurial-Series-Index: 2 | |
2090 | X-Mercurial-Series-Total: 2 |
|
2091 | X-Mercurial-Series-Total: 2 | |
2091 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
|
2092 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) | |
2092 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
2093 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
2093 | In-Reply-To: <patchbomb.60@*> (glob) |
|
2094 | In-Reply-To: <patchbomb.60@*> (glob) | |
2094 | References: <patchbomb.60@*> (glob) |
|
2095 | References: <patchbomb.60@*> (glob) | |
2095 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2096 | User-Agent: Mercurial-patchbomb/* (glob) | |
2096 | Date: Thu, 01 Jan 1970 00:01:02 +0000 |
|
2097 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | |
2097 | From: quux |
|
2098 | From: quux | |
2098 | To: foo |
|
2099 | To: foo | |
2099 | Cc: bar |
|
2100 | Cc: bar | |
2100 |
|
2101 | |||
2101 | # HG changeset patch |
|
2102 | # HG changeset patch | |
2102 | # User test |
|
2103 | # User test | |
2103 | # Date 2 0 |
|
2104 | # Date 2 0 | |
2104 | # Thu Jan 01 00:00:02 1970 +0000 |
|
2105 | # Thu Jan 01 00:00:02 1970 +0000 | |
2105 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
2106 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
2106 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2107 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2107 | b |
|
2108 | b | |
2108 |
|
2109 | |||
2109 | diff -r 8580ff50825a -r 97d72e5f12c7 b |
|
2110 | diff -r 8580ff50825a -r 97d72e5f12c7 b | |
2110 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2111 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2111 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
|
2112 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 | |
2112 | @@ -0,0 +1,1 @@ |
|
2113 | @@ -0,0 +1,1 @@ | |
2113 | +b |
|
2114 | +b | |
2114 |
|
2115 | |||
2115 |
|
2116 | |||
2116 | test single flag for single patch (and no warning when not mailing dirty rev): |
|
2117 | test single flag for single patch (and no warning when not mailing dirty rev): | |
2117 | $ hg up -qr1 |
|
2118 | $ hg up -qr1 | |
2118 | $ echo dirt > a |
|
2119 | $ echo dirt > a | |
2119 | $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \ |
|
2120 | $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \ | |
2120 | > -r 2 | $FILTERBOUNDARY |
|
2121 | > -r 2 | $FILTERBOUNDARY | |
2121 | this patch series consists of 1 patches. |
|
2122 | this patch series consists of 1 patches. | |
2122 |
|
2123 | |||
2123 |
|
2124 | |||
2124 | displaying [PATCH fooFlag] test ... |
|
2125 | displaying [PATCH fooFlag] test ... | |
2125 | MIME-Version: 1.0 |
|
2126 | MIME-Version: 1.0 | |
2126 | Content-Type: text/plain; charset="us-ascii" |
|
2127 | Content-Type: text/plain; charset="us-ascii" | |
2127 | Content-Transfer-Encoding: 7bit |
|
2128 | Content-Transfer-Encoding: 7bit | |
2128 | Subject: [PATCH fooFlag] test |
|
2129 | Subject: [PATCH fooFlag] test | |
2129 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
2130 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
2130 | X-Mercurial-Series-Index: 1 |
|
2131 | X-Mercurial-Series-Index: 1 | |
2131 | X-Mercurial-Series-Total: 1 |
|
2132 | X-Mercurial-Series-Total: 1 | |
2132 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
2133 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
2133 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
2134 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
2134 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2135 | User-Agent: Mercurial-patchbomb/* (glob) | |
2135 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
2136 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
2136 | From: quux |
|
2137 | From: quux | |
2137 | To: foo |
|
2138 | To: foo | |
2138 | Cc: bar |
|
2139 | Cc: bar | |
2139 |
|
2140 | |||
2140 | # HG changeset patch |
|
2141 | # HG changeset patch | |
2141 | # User test |
|
2142 | # User test | |
2142 | # Date 3 0 |
|
2143 | # Date 3 0 | |
2143 | # Thu Jan 01 00:00:03 1970 +0000 |
|
2144 | # Thu Jan 01 00:00:03 1970 +0000 | |
2144 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
2145 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
2145 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
2146 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
2146 | c |
|
2147 | c | |
2147 |
|
2148 | |||
2148 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
|
2149 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c | |
2149 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2150 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2150 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
|
2151 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 | |
2151 | @@ -0,0 +1,1 @@ |
|
2152 | @@ -0,0 +1,1 @@ | |
2152 | +c |
|
2153 | +c | |
2153 |
|
2154 | |||
2154 |
|
2155 | |||
2155 | test single flag for multiple patches (and warning when mailing dirty rev): |
|
2156 | test single flag for multiple patches (and warning when mailing dirty rev): | |
2156 | $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \ |
|
2157 | $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \ | |
2157 | > -r 0:1 |
|
2158 | > -r 0:1 | |
2158 | warning: working directory has uncommitted changes |
|
2159 | warning: working directory has uncommitted changes | |
2159 | this patch series consists of 2 patches. |
|
2160 | this patch series consists of 2 patches. | |
2160 |
|
2161 | |||
2161 |
|
2162 | |||
2162 | Write the introductory message for the patch series. |
|
2163 | Write the introductory message for the patch series. | |
2163 |
|
2164 | |||
2164 |
|
2165 | |||
2165 | displaying [PATCH 0 of 2 fooFlag] test ... |
|
2166 | displaying [PATCH 0 of 2 fooFlag] test ... | |
2166 | MIME-Version: 1.0 |
|
2167 | MIME-Version: 1.0 | |
2167 | Content-Type: text/plain; charset="us-ascii" |
|
2168 | Content-Type: text/plain; charset="us-ascii" | |
2168 | Content-Transfer-Encoding: 7bit |
|
2169 | Content-Transfer-Encoding: 7bit | |
2169 | Subject: [PATCH 0 of 2 fooFlag] test |
|
2170 | Subject: [PATCH 0 of 2 fooFlag] test | |
2170 | Message-Id: <patchbomb.60@*> (glob) |
|
2171 | Message-Id: <patchbomb.60@*> (glob) | |
2171 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2172 | User-Agent: Mercurial-patchbomb/* (glob) | |
2172 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
2173 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
2173 | From: quux |
|
2174 | From: quux | |
2174 | To: foo |
|
2175 | To: foo | |
2175 | Cc: bar |
|
2176 | Cc: bar | |
2176 |
|
2177 | |||
2177 |
|
2178 | |||
2178 | displaying [PATCH 1 of 2 fooFlag] a ... |
|
2179 | displaying [PATCH 1 of 2 fooFlag] a ... | |
2179 | MIME-Version: 1.0 |
|
2180 | MIME-Version: 1.0 | |
2180 | Content-Type: text/plain; charset="us-ascii" |
|
2181 | Content-Type: text/plain; charset="us-ascii" | |
2181 | Content-Transfer-Encoding: 7bit |
|
2182 | Content-Transfer-Encoding: 7bit | |
2182 | Subject: [PATCH 1 of 2 fooFlag] a |
|
2183 | Subject: [PATCH 1 of 2 fooFlag] a | |
2183 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2184 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2184 | X-Mercurial-Series-Index: 1 |
|
2185 | X-Mercurial-Series-Index: 1 | |
2185 | X-Mercurial-Series-Total: 2 |
|
2186 | X-Mercurial-Series-Total: 2 | |
2186 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
2187 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) | |
2187 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
2188 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
2188 | In-Reply-To: <patchbomb.60@*> (glob) |
|
2189 | In-Reply-To: <patchbomb.60@*> (glob) | |
2189 | References: <patchbomb.60@*> (glob) |
|
2190 | References: <patchbomb.60@*> (glob) | |
2190 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2191 | User-Agent: Mercurial-patchbomb/* (glob) | |
2191 | Date: Thu, 01 Jan 1970 00:01:01 +0000 |
|
2192 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | |
2192 | From: quux |
|
2193 | From: quux | |
2193 | To: foo |
|
2194 | To: foo | |
2194 | Cc: bar |
|
2195 | Cc: bar | |
2195 |
|
2196 | |||
2196 | # HG changeset patch |
|
2197 | # HG changeset patch | |
2197 | # User test |
|
2198 | # User test | |
2198 | # Date 1 0 |
|
2199 | # Date 1 0 | |
2199 | # Thu Jan 01 00:00:01 1970 +0000 |
|
2200 | # Thu Jan 01 00:00:01 1970 +0000 | |
2200 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2201 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2201 | # Parent 0000000000000000000000000000000000000000 |
|
2202 | # Parent 0000000000000000000000000000000000000000 | |
2202 | a |
|
2203 | a | |
2203 |
|
2204 | |||
2204 | diff -r 000000000000 -r 8580ff50825a a |
|
2205 | diff -r 000000000000 -r 8580ff50825a a | |
2205 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2206 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2206 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
2207 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
2207 | @@ -0,0 +1,1 @@ |
|
2208 | @@ -0,0 +1,1 @@ | |
2208 | +a |
|
2209 | +a | |
2209 |
|
2210 | |||
2210 | displaying [PATCH 2 of 2 fooFlag] b ... |
|
2211 | displaying [PATCH 2 of 2 fooFlag] b ... | |
2211 | MIME-Version: 1.0 |
|
2212 | MIME-Version: 1.0 | |
2212 | Content-Type: text/plain; charset="us-ascii" |
|
2213 | Content-Type: text/plain; charset="us-ascii" | |
2213 | Content-Transfer-Encoding: 7bit |
|
2214 | Content-Transfer-Encoding: 7bit | |
2214 | Subject: [PATCH 2 of 2 fooFlag] b |
|
2215 | Subject: [PATCH 2 of 2 fooFlag] b | |
2215 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
2216 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
2216 | X-Mercurial-Series-Index: 2 |
|
2217 | X-Mercurial-Series-Index: 2 | |
2217 | X-Mercurial-Series-Total: 2 |
|
2218 | X-Mercurial-Series-Total: 2 | |
2218 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
|
2219 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) | |
2219 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
2220 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
2220 | In-Reply-To: <patchbomb.60@*> (glob) |
|
2221 | In-Reply-To: <patchbomb.60@*> (glob) | |
2221 | References: <patchbomb.60@*> (glob) |
|
2222 | References: <patchbomb.60@*> (glob) | |
2222 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2223 | User-Agent: Mercurial-patchbomb/* (glob) | |
2223 | Date: Thu, 01 Jan 1970 00:01:02 +0000 |
|
2224 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | |
2224 | From: quux |
|
2225 | From: quux | |
2225 | To: foo |
|
2226 | To: foo | |
2226 | Cc: bar |
|
2227 | Cc: bar | |
2227 |
|
2228 | |||
2228 | # HG changeset patch |
|
2229 | # HG changeset patch | |
2229 | # User test |
|
2230 | # User test | |
2230 | # Date 2 0 |
|
2231 | # Date 2 0 | |
2231 | # Thu Jan 01 00:00:02 1970 +0000 |
|
2232 | # Thu Jan 01 00:00:02 1970 +0000 | |
2232 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
2233 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
2233 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2234 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2234 | b |
|
2235 | b | |
2235 |
|
2236 | |||
2236 | diff -r 8580ff50825a -r 97d72e5f12c7 b |
|
2237 | diff -r 8580ff50825a -r 97d72e5f12c7 b | |
2237 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2238 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2238 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
|
2239 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 | |
2239 | @@ -0,0 +1,1 @@ |
|
2240 | @@ -0,0 +1,1 @@ | |
2240 | +b |
|
2241 | +b | |
2241 |
|
2242 | |||
2242 | $ hg revert --no-b a |
|
2243 | $ hg revert --no-b a | |
2243 | $ hg up -q |
|
2244 | $ hg up -q | |
2244 |
|
2245 | |||
2245 | test multiple flags for single patch: |
|
2246 | test multiple flags for single patch: | |
2246 | $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \ |
|
2247 | $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \ | |
2247 | > -c bar -s test -r 2 |
|
2248 | > -c bar -s test -r 2 | |
2248 | this patch series consists of 1 patches. |
|
2249 | this patch series consists of 1 patches. | |
2249 |
|
2250 | |||
2250 |
|
2251 | |||
2251 | displaying [PATCH fooFlag barFlag] test ... |
|
2252 | displaying [PATCH fooFlag barFlag] test ... | |
2252 | MIME-Version: 1.0 |
|
2253 | MIME-Version: 1.0 | |
2253 | Content-Type: text/plain; charset="us-ascii" |
|
2254 | Content-Type: text/plain; charset="us-ascii" | |
2254 | Content-Transfer-Encoding: 7bit |
|
2255 | Content-Transfer-Encoding: 7bit | |
2255 | Subject: [PATCH fooFlag barFlag] test |
|
2256 | Subject: [PATCH fooFlag barFlag] test | |
2256 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
2257 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
2257 | X-Mercurial-Series-Index: 1 |
|
2258 | X-Mercurial-Series-Index: 1 | |
2258 | X-Mercurial-Series-Total: 1 |
|
2259 | X-Mercurial-Series-Total: 1 | |
2259 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
2260 | Message-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
2260 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) |
|
2261 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.60@*> (glob) | |
2261 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2262 | User-Agent: Mercurial-patchbomb/* (glob) | |
2262 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
2263 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
2263 | From: quux |
|
2264 | From: quux | |
2264 | To: foo |
|
2265 | To: foo | |
2265 | Cc: bar |
|
2266 | Cc: bar | |
2266 |
|
2267 | |||
2267 | # HG changeset patch |
|
2268 | # HG changeset patch | |
2268 | # User test |
|
2269 | # User test | |
2269 | # Date 3 0 |
|
2270 | # Date 3 0 | |
2270 | # Thu Jan 01 00:00:03 1970 +0000 |
|
2271 | # Thu Jan 01 00:00:03 1970 +0000 | |
2271 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
2272 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
2272 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
2273 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
2273 | c |
|
2274 | c | |
2274 |
|
2275 | |||
2275 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
|
2276 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c | |
2276 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2277 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2277 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
|
2278 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 | |
2278 | @@ -0,0 +1,1 @@ |
|
2279 | @@ -0,0 +1,1 @@ | |
2279 | +c |
|
2280 | +c | |
2280 |
|
2281 | |||
2281 |
|
2282 | |||
2282 | test multiple flags for multiple patches: |
|
2283 | test multiple flags for multiple patches: | |
2283 | $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \ |
|
2284 | $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \ | |
2284 | > -c bar -s test -r 0:1 |
|
2285 | > -c bar -s test -r 0:1 | |
2285 | this patch series consists of 2 patches. |
|
2286 | this patch series consists of 2 patches. | |
2286 |
|
2287 | |||
2287 |
|
2288 | |||
2288 | Write the introductory message for the patch series. |
|
2289 | Write the introductory message for the patch series. | |
2289 |
|
2290 | |||
2290 |
|
2291 | |||
2291 | displaying [PATCH 0 of 2 fooFlag barFlag] test ... |
|
2292 | displaying [PATCH 0 of 2 fooFlag barFlag] test ... | |
2292 | MIME-Version: 1.0 |
|
2293 | MIME-Version: 1.0 | |
2293 | Content-Type: text/plain; charset="us-ascii" |
|
2294 | Content-Type: text/plain; charset="us-ascii" | |
2294 | Content-Transfer-Encoding: 7bit |
|
2295 | Content-Transfer-Encoding: 7bit | |
2295 | Subject: [PATCH 0 of 2 fooFlag barFlag] test |
|
2296 | Subject: [PATCH 0 of 2 fooFlag barFlag] test | |
2296 | Message-Id: <patchbomb.60@*> (glob) |
|
2297 | Message-Id: <patchbomb.60@*> (glob) | |
2297 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2298 | User-Agent: Mercurial-patchbomb/* (glob) | |
2298 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
2299 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
2299 | From: quux |
|
2300 | From: quux | |
2300 | To: foo |
|
2301 | To: foo | |
2301 | Cc: bar |
|
2302 | Cc: bar | |
2302 |
|
2303 | |||
2303 |
|
2304 | |||
2304 | displaying [PATCH 1 of 2 fooFlag barFlag] a ... |
|
2305 | displaying [PATCH 1 of 2 fooFlag barFlag] a ... | |
2305 | MIME-Version: 1.0 |
|
2306 | MIME-Version: 1.0 | |
2306 | Content-Type: text/plain; charset="us-ascii" |
|
2307 | Content-Type: text/plain; charset="us-ascii" | |
2307 | Content-Transfer-Encoding: 7bit |
|
2308 | Content-Transfer-Encoding: 7bit | |
2308 | Subject: [PATCH 1 of 2 fooFlag barFlag] a |
|
2309 | Subject: [PATCH 1 of 2 fooFlag barFlag] a | |
2309 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2310 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2310 | X-Mercurial-Series-Index: 1 |
|
2311 | X-Mercurial-Series-Index: 1 | |
2311 | X-Mercurial-Series-Total: 2 |
|
2312 | X-Mercurial-Series-Total: 2 | |
2312 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
2313 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) | |
2313 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
2314 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
2314 | In-Reply-To: <patchbomb.60@*> (glob) |
|
2315 | In-Reply-To: <patchbomb.60@*> (glob) | |
2315 | References: <patchbomb.60@*> (glob) |
|
2316 | References: <patchbomb.60@*> (glob) | |
2316 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2317 | User-Agent: Mercurial-patchbomb/* (glob) | |
2317 | Date: Thu, 01 Jan 1970 00:01:01 +0000 |
|
2318 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | |
2318 | From: quux |
|
2319 | From: quux | |
2319 | To: foo |
|
2320 | To: foo | |
2320 | Cc: bar |
|
2321 | Cc: bar | |
2321 |
|
2322 | |||
2322 | # HG changeset patch |
|
2323 | # HG changeset patch | |
2323 | # User test |
|
2324 | # User test | |
2324 | # Date 1 0 |
|
2325 | # Date 1 0 | |
2325 | # Thu Jan 01 00:00:01 1970 +0000 |
|
2326 | # Thu Jan 01 00:00:01 1970 +0000 | |
2326 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2327 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2327 | # Parent 0000000000000000000000000000000000000000 |
|
2328 | # Parent 0000000000000000000000000000000000000000 | |
2328 | a |
|
2329 | a | |
2329 |
|
2330 | |||
2330 | diff -r 000000000000 -r 8580ff50825a a |
|
2331 | diff -r 000000000000 -r 8580ff50825a a | |
2331 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2332 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2332 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
2333 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
2333 | @@ -0,0 +1,1 @@ |
|
2334 | @@ -0,0 +1,1 @@ | |
2334 | +a |
|
2335 | +a | |
2335 |
|
2336 | |||
2336 | displaying [PATCH 2 of 2 fooFlag barFlag] b ... |
|
2337 | displaying [PATCH 2 of 2 fooFlag barFlag] b ... | |
2337 | MIME-Version: 1.0 |
|
2338 | MIME-Version: 1.0 | |
2338 | Content-Type: text/plain; charset="us-ascii" |
|
2339 | Content-Type: text/plain; charset="us-ascii" | |
2339 | Content-Transfer-Encoding: 7bit |
|
2340 | Content-Transfer-Encoding: 7bit | |
2340 | Subject: [PATCH 2 of 2 fooFlag barFlag] b |
|
2341 | Subject: [PATCH 2 of 2 fooFlag barFlag] b | |
2341 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
2342 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
2342 | X-Mercurial-Series-Index: 2 |
|
2343 | X-Mercurial-Series-Index: 2 | |
2343 | X-Mercurial-Series-Total: 2 |
|
2344 | X-Mercurial-Series-Total: 2 | |
2344 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
|
2345 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) | |
2345 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
2346 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
2346 | In-Reply-To: <patchbomb.60@*> (glob) |
|
2347 | In-Reply-To: <patchbomb.60@*> (glob) | |
2347 | References: <patchbomb.60@*> (glob) |
|
2348 | References: <patchbomb.60@*> (glob) | |
2348 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2349 | User-Agent: Mercurial-patchbomb/* (glob) | |
2349 | Date: Thu, 01 Jan 1970 00:01:02 +0000 |
|
2350 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | |
2350 | From: quux |
|
2351 | From: quux | |
2351 | To: foo |
|
2352 | To: foo | |
2352 | Cc: bar |
|
2353 | Cc: bar | |
2353 |
|
2354 | |||
2354 | # HG changeset patch |
|
2355 | # HG changeset patch | |
2355 | # User test |
|
2356 | # User test | |
2356 | # Date 2 0 |
|
2357 | # Date 2 0 | |
2357 | # Thu Jan 01 00:00:02 1970 +0000 |
|
2358 | # Thu Jan 01 00:00:02 1970 +0000 | |
2358 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
2359 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
2359 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2360 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2360 | b |
|
2361 | b | |
2361 |
|
2362 | |||
2362 | diff -r 8580ff50825a -r 97d72e5f12c7 b |
|
2363 | diff -r 8580ff50825a -r 97d72e5f12c7 b | |
2363 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2364 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2364 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
|
2365 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 | |
2365 | @@ -0,0 +1,1 @@ |
|
2366 | @@ -0,0 +1,1 @@ | |
2366 | +b |
|
2367 | +b | |
2367 |
|
2368 | |||
2368 |
|
2369 | |||
2369 | test multi-address parsing: |
|
2370 | test multi-address parsing: | |
2370 | $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t 'spam<spam><eggs>' \ |
|
2371 | $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t 'spam<spam><eggs>' \ | |
2371 | > -t toast -c 'foo,bar@example.com' -c '"A, B <>" <a@example.com>' -s test -r 0 \ |
|
2372 | > -t toast -c 'foo,bar@example.com' -c '"A, B <>" <a@example.com>' -s test -r 0 \ | |
2372 | > --config email.bcc='"Quux, A." <quux>' |
|
2373 | > --config email.bcc='"Quux, A." <quux>' | |
2373 | this patch series consists of 1 patches. |
|
2374 | this patch series consists of 1 patches. | |
2374 |
|
2375 | |||
2375 |
|
2376 | |||
2376 | sending [PATCH] test ... |
|
2377 | sending [PATCH] test ... | |
2377 | $ cat < tmp.mbox |
|
2378 | $ cat < tmp.mbox | |
2378 | From quux ... ... .. ..:..:.. .... (re) |
|
2379 | From quux ... ... .. ..:..:.. .... (re) | |
2379 | MIME-Version: 1.0 |
|
2380 | MIME-Version: 1.0 | |
2380 | Content-Type: text/plain; charset="us-ascii" |
|
2381 | Content-Type: text/plain; charset="us-ascii" | |
2381 | Content-Transfer-Encoding: 7bit |
|
2382 | Content-Transfer-Encoding: 7bit | |
2382 | Subject: [PATCH] test |
|
2383 | Subject: [PATCH] test | |
2383 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2384 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2384 | X-Mercurial-Series-Index: 1 |
|
2385 | X-Mercurial-Series-Index: 1 | |
2385 | X-Mercurial-Series-Total: 1 |
|
2386 | X-Mercurial-Series-Total: 1 | |
2386 | Message-Id: <8580ff50825a50c8f716.315532860@*> (glob) |
|
2387 | Message-Id: <8580ff50825a50c8f716.315532860@*> (glob) | |
2387 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.315532860@*> (glob) |
|
2388 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.315532860@*> (glob) | |
2388 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2389 | User-Agent: Mercurial-patchbomb/* (glob) | |
2389 | Date: Tue, 01 Jan 1980 00:01:00 +0000 |
|
2390 | Date: Tue, 01 Jan 1980 00:01:00 +0000 | |
2390 | From: quux |
|
2391 | From: quux | |
2391 | To: spam <spam>, eggs, toast |
|
2392 | To: spam <spam>, eggs, toast | |
2392 | Cc: foo, bar@example.com, "A, B <>" <a@example.com> |
|
2393 | Cc: foo, bar@example.com, "A, B <>" <a@example.com> | |
2393 | Bcc: "Quux, A." <quux> |
|
2394 | Bcc: "Quux, A." <quux> | |
2394 |
|
2395 | |||
2395 | # HG changeset patch |
|
2396 | # HG changeset patch | |
2396 | # User test |
|
2397 | # User test | |
2397 | # Date 1 0 |
|
2398 | # Date 1 0 | |
2398 | # Thu Jan 01 00:00:01 1970 +0000 |
|
2399 | # Thu Jan 01 00:00:01 1970 +0000 | |
2399 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2400 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2400 | # Parent 0000000000000000000000000000000000000000 |
|
2401 | # Parent 0000000000000000000000000000000000000000 | |
2401 | a |
|
2402 | a | |
2402 |
|
2403 | |||
2403 | diff -r 000000000000 -r 8580ff50825a a |
|
2404 | diff -r 000000000000 -r 8580ff50825a a | |
2404 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2405 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2405 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
2406 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
2406 | @@ -0,0 +1,1 @@ |
|
2407 | @@ -0,0 +1,1 @@ | |
2407 | +a |
|
2408 | +a | |
2408 |
|
2409 | |||
2409 |
|
2410 | |||
2410 |
|
2411 | |||
2411 | test flag template: |
|
2412 | test flag template: | |
2412 | $ echo foo > intro.text |
|
2413 | $ echo foo > intro.text | |
2413 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -r 0:1 \ |
|
2414 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -r 0:1 \ | |
2414 | > --desc intro.text --subject test \ |
|
2415 | > --desc intro.text --subject test \ | |
2415 | > --config patchbomb.flagtemplate='R{rev}' |
|
2416 | > --config patchbomb.flagtemplate='R{rev}' | |
2416 | this patch series consists of 2 patches. |
|
2417 | this patch series consists of 2 patches. | |
2417 |
|
2418 | |||
2418 | Cc: |
|
2419 | Cc: | |
2419 |
|
2420 | |||
2420 | displaying [PATCH 0 of 2 R1] test ... |
|
2421 | displaying [PATCH 0 of 2 R1] test ... | |
2421 | MIME-Version: 1.0 |
|
2422 | MIME-Version: 1.0 | |
2422 | Content-Type: text/plain; charset="us-ascii" |
|
2423 | Content-Type: text/plain; charset="us-ascii" | |
2423 | Content-Transfer-Encoding: 7bit |
|
2424 | Content-Transfer-Encoding: 7bit | |
2424 | Subject: [PATCH 0 of 2 R1] test |
|
2425 | Subject: [PATCH 0 of 2 R1] test | |
2425 | Message-Id: <patchbomb.60@*> (glob) |
|
2426 | Message-Id: <patchbomb.60@*> (glob) | |
2426 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2427 | User-Agent: Mercurial-patchbomb/* (glob) | |
2427 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
2428 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
2428 | From: quux |
|
2429 | From: quux | |
2429 | To: foo |
|
2430 | To: foo | |
2430 |
|
2431 | |||
2431 | foo |
|
2432 | foo | |
2432 |
|
2433 | |||
2433 | displaying [PATCH 1 of 2 R0] a ... |
|
2434 | displaying [PATCH 1 of 2 R0] a ... | |
2434 | MIME-Version: 1.0 |
|
2435 | MIME-Version: 1.0 | |
2435 | Content-Type: text/plain; charset="us-ascii" |
|
2436 | Content-Type: text/plain; charset="us-ascii" | |
2436 | Content-Transfer-Encoding: 7bit |
|
2437 | Content-Transfer-Encoding: 7bit | |
2437 | Subject: [PATCH 1 of 2 R0] a |
|
2438 | Subject: [PATCH 1 of 2 R0] a | |
2438 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2439 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2439 | X-Mercurial-Series-Index: 1 |
|
2440 | X-Mercurial-Series-Index: 1 | |
2440 | X-Mercurial-Series-Total: 2 |
|
2441 | X-Mercurial-Series-Total: 2 | |
2441 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
2442 | Message-Id: <8580ff50825a50c8f716.61@*> (glob) | |
2442 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
2443 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
2443 | In-Reply-To: <patchbomb.60@*> (glob) |
|
2444 | In-Reply-To: <patchbomb.60@*> (glob) | |
2444 | References: <patchbomb.60@*> (glob) |
|
2445 | References: <patchbomb.60@*> (glob) | |
2445 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2446 | User-Agent: Mercurial-patchbomb/* (glob) | |
2446 | Date: Thu, 01 Jan 1970 00:01:01 +0000 |
|
2447 | Date: Thu, 01 Jan 1970 00:01:01 +0000 | |
2447 | From: quux |
|
2448 | From: quux | |
2448 | To: foo |
|
2449 | To: foo | |
2449 |
|
2450 | |||
2450 | # HG changeset patch |
|
2451 | # HG changeset patch | |
2451 | # User test |
|
2452 | # User test | |
2452 | # Date 1 0 |
|
2453 | # Date 1 0 | |
2453 | # Thu Jan 01 00:00:01 1970 +0000 |
|
2454 | # Thu Jan 01 00:00:01 1970 +0000 | |
2454 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2455 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2455 | # Parent 0000000000000000000000000000000000000000 |
|
2456 | # Parent 0000000000000000000000000000000000000000 | |
2456 | a |
|
2457 | a | |
2457 |
|
2458 | |||
2458 | diff -r 000000000000 -r 8580ff50825a a |
|
2459 | diff -r 000000000000 -r 8580ff50825a a | |
2459 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2460 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2460 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
2461 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
2461 | @@ -0,0 +1,1 @@ |
|
2462 | @@ -0,0 +1,1 @@ | |
2462 | +a |
|
2463 | +a | |
2463 |
|
2464 | |||
2464 | displaying [PATCH 2 of 2 R1] b ... |
|
2465 | displaying [PATCH 2 of 2 R1] b ... | |
2465 | MIME-Version: 1.0 |
|
2466 | MIME-Version: 1.0 | |
2466 | Content-Type: text/plain; charset="us-ascii" |
|
2467 | Content-Type: text/plain; charset="us-ascii" | |
2467 | Content-Transfer-Encoding: 7bit |
|
2468 | Content-Transfer-Encoding: 7bit | |
2468 | Subject: [PATCH 2 of 2 R1] b |
|
2469 | Subject: [PATCH 2 of 2 R1] b | |
2469 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
2470 | X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
2470 | X-Mercurial-Series-Index: 2 |
|
2471 | X-Mercurial-Series-Index: 2 | |
2471 | X-Mercurial-Series-Total: 2 |
|
2472 | X-Mercurial-Series-Total: 2 | |
2472 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) |
|
2473 | Message-Id: <97d72e5f12c7e84f8506.62@*> (glob) | |
2473 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) |
|
2474 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.61@*> (glob) | |
2474 | In-Reply-To: <patchbomb.60@*> (glob) |
|
2475 | In-Reply-To: <patchbomb.60@*> (glob) | |
2475 | References: <patchbomb.60@*> (glob) |
|
2476 | References: <patchbomb.60@*> (glob) | |
2476 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2477 | User-Agent: Mercurial-patchbomb/* (glob) | |
2477 | Date: Thu, 01 Jan 1970 00:01:02 +0000 |
|
2478 | Date: Thu, 01 Jan 1970 00:01:02 +0000 | |
2478 | From: quux |
|
2479 | From: quux | |
2479 | To: foo |
|
2480 | To: foo | |
2480 |
|
2481 | |||
2481 | # HG changeset patch |
|
2482 | # HG changeset patch | |
2482 | # User test |
|
2483 | # User test | |
2483 | # Date 2 0 |
|
2484 | # Date 2 0 | |
2484 | # Thu Jan 01 00:00:02 1970 +0000 |
|
2485 | # Thu Jan 01 00:00:02 1970 +0000 | |
2485 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
2486 | # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
2486 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2487 | # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2487 | b |
|
2488 | b | |
2488 |
|
2489 | |||
2489 | diff -r 8580ff50825a -r 97d72e5f12c7 b |
|
2490 | diff -r 8580ff50825a -r 97d72e5f12c7 b | |
2490 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2491 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2491 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 |
|
2492 | +++ b/b Thu Jan 01 00:00:02 1970 +0000 | |
2492 | @@ -0,0 +1,1 @@ |
|
2493 | @@ -0,0 +1,1 @@ | |
2493 | +b |
|
2494 | +b | |
2494 |
|
2495 | |||
2495 |
|
2496 | |||
2496 | test flag template plus --flag: |
|
2497 | test flag template plus --flag: | |
2497 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -r 0 --flag 'V2' \ |
|
2498 | $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -r 0 --flag 'V2' \ | |
2498 | > --config patchbomb.flagtemplate='{branch} {flags}' |
|
2499 | > --config patchbomb.flagtemplate='{branch} {flags}' | |
2499 | this patch series consists of 1 patches. |
|
2500 | this patch series consists of 1 patches. | |
2500 |
|
2501 | |||
2501 | Cc: |
|
2502 | Cc: | |
2502 |
|
2503 | |||
2503 | displaying [PATCH default V2] a ... |
|
2504 | displaying [PATCH default V2] a ... | |
2504 | MIME-Version: 1.0 |
|
2505 | MIME-Version: 1.0 | |
2505 | Content-Type: text/plain; charset="us-ascii" |
|
2506 | Content-Type: text/plain; charset="us-ascii" | |
2506 | Content-Transfer-Encoding: 7bit |
|
2507 | Content-Transfer-Encoding: 7bit | |
2507 | Subject: [PATCH default V2] a |
|
2508 | Subject: [PATCH default V2] a | |
2508 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2509 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2509 | X-Mercurial-Series-Index: 1 |
|
2510 | X-Mercurial-Series-Index: 1 | |
2510 | X-Mercurial-Series-Total: 1 |
|
2511 | X-Mercurial-Series-Total: 1 | |
2511 | Message-Id: <8580ff50825a50c8f716.60@*> (glob) |
|
2512 | Message-Id: <8580ff50825a50c8f716.60@*> (glob) | |
2512 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) |
|
2513 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.60@*> (glob) | |
2513 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2514 | User-Agent: Mercurial-patchbomb/* (glob) | |
2514 | Date: Thu, 01 Jan 1970 00:01:00 +0000 |
|
2515 | Date: Thu, 01 Jan 1970 00:01:00 +0000 | |
2515 | From: quux |
|
2516 | From: quux | |
2516 | To: foo |
|
2517 | To: foo | |
2517 |
|
2518 | |||
2518 | # HG changeset patch |
|
2519 | # HG changeset patch | |
2519 | # User test |
|
2520 | # User test | |
2520 | # Date 1 0 |
|
2521 | # Date 1 0 | |
2521 | # Thu Jan 01 00:00:01 1970 +0000 |
|
2522 | # Thu Jan 01 00:00:01 1970 +0000 | |
2522 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2523 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2523 | # Parent 0000000000000000000000000000000000000000 |
|
2524 | # Parent 0000000000000000000000000000000000000000 | |
2524 | a |
|
2525 | a | |
2525 |
|
2526 | |||
2526 | diff -r 000000000000 -r 8580ff50825a a |
|
2527 | diff -r 000000000000 -r 8580ff50825a a | |
2527 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2528 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2528 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
2529 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
2529 | @@ -0,0 +1,1 @@ |
|
2530 | @@ -0,0 +1,1 @@ | |
2530 | +a |
|
2531 | +a | |
2531 |
|
2532 | |||
2532 |
|
2533 | |||
2533 | test multi-byte domain parsing: |
|
2534 | test multi-byte domain parsing: | |
2534 | $ UUML=`$PYTHON -c 'import sys; sys.stdout.write("\374")'` |
|
2535 | $ UUML=`$PYTHON -c 'import sys; sys.stdout.write("\374")'` | |
2535 | $ HGENCODING=iso-8859-1 |
|
2536 | $ HGENCODING=iso-8859-1 | |
2536 | $ export HGENCODING |
|
2537 | $ export HGENCODING | |
2537 | $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t "bar@${UUML}nicode.com" -s test -r 0 |
|
2538 | $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t "bar@${UUML}nicode.com" -s test -r 0 | |
2538 | this patch series consists of 1 patches. |
|
2539 | this patch series consists of 1 patches. | |
2539 |
|
2540 | |||
2540 | Cc: |
|
2541 | Cc: | |
2541 |
|
2542 | |||
2542 | sending [PATCH] test ... |
|
2543 | sending [PATCH] test ... | |
2543 |
|
2544 | |||
2544 | $ cat tmp.mbox |
|
2545 | $ cat tmp.mbox | |
2545 | From quux ... ... .. ..:..:.. .... (re) |
|
2546 | From quux ... ... .. ..:..:.. .... (re) | |
2546 | MIME-Version: 1.0 |
|
2547 | MIME-Version: 1.0 | |
2547 | Content-Type: text/plain; charset="us-ascii" |
|
2548 | Content-Type: text/plain; charset="us-ascii" | |
2548 | Content-Transfer-Encoding: 7bit |
|
2549 | Content-Transfer-Encoding: 7bit | |
2549 | Subject: [PATCH] test |
|
2550 | Subject: [PATCH] test | |
2550 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2551 | X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2551 | X-Mercurial-Series-Index: 1 |
|
2552 | X-Mercurial-Series-Index: 1 | |
2552 | X-Mercurial-Series-Total: 1 |
|
2553 | X-Mercurial-Series-Total: 1 | |
2553 | Message-Id: <8580ff50825a50c8f716.315532860@*> (glob) |
|
2554 | Message-Id: <8580ff50825a50c8f716.315532860@*> (glob) | |
2554 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.315532860@*> (glob) |
|
2555 | X-Mercurial-Series-Id: <8580ff50825a50c8f716.315532860@*> (glob) | |
2555 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2556 | User-Agent: Mercurial-patchbomb/* (glob) | |
2556 | Date: Tue, 01 Jan 1980 00:01:00 +0000 |
|
2557 | Date: Tue, 01 Jan 1980 00:01:00 +0000 | |
2557 | From: quux |
|
2558 | From: quux | |
2558 | To: bar@xn--nicode-2ya.com |
|
2559 | To: bar@xn--nicode-2ya.com | |
2559 |
|
2560 | |||
2560 | # HG changeset patch |
|
2561 | # HG changeset patch | |
2561 | # User test |
|
2562 | # User test | |
2562 | # Date 1 0 |
|
2563 | # Date 1 0 | |
2563 | # Thu Jan 01 00:00:01 1970 +0000 |
|
2564 | # Thu Jan 01 00:00:01 1970 +0000 | |
2564 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab |
|
2565 | # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab | |
2565 | # Parent 0000000000000000000000000000000000000000 |
|
2566 | # Parent 0000000000000000000000000000000000000000 | |
2566 | a |
|
2567 | a | |
2567 |
|
2568 | |||
2568 | diff -r 000000000000 -r 8580ff50825a a |
|
2569 | diff -r 000000000000 -r 8580ff50825a a | |
2569 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2570 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2570 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 |
|
2571 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
2571 | @@ -0,0 +1,1 @@ |
|
2572 | @@ -0,0 +1,1 @@ | |
2572 | +a |
|
2573 | +a | |
2573 |
|
2574 | |||
2574 |
|
2575 | |||
2575 |
|
2576 | |||
2576 | test outgoing: |
|
2577 | test outgoing: | |
2577 | $ hg up 1 |
|
2578 | $ hg up 1 | |
2578 | 0 files updated, 0 files merged, 6 files removed, 0 files unresolved |
|
2579 | 0 files updated, 0 files merged, 6 files removed, 0 files unresolved | |
2579 |
|
2580 | |||
2580 | $ hg branch test |
|
2581 | $ hg branch test | |
2581 | marked working directory as branch test |
|
2582 | marked working directory as branch test | |
2582 | (branches are permanent and global, did you want a bookmark?) |
|
2583 | (branches are permanent and global, did you want a bookmark?) | |
2583 |
|
2584 | |||
2584 | $ echo d > d |
|
2585 | $ echo d > d | |
2585 | $ hg add d |
|
2586 | $ hg add d | |
2586 | $ hg ci -md -d '4 0' |
|
2587 | $ hg ci -md -d '4 0' | |
2587 | $ echo d >> d |
|
2588 | $ echo d >> d | |
2588 | $ hg ci -mdd -d '5 0' |
|
2589 | $ hg ci -mdd -d '5 0' | |
2589 | $ hg log -G --template "{rev}:{node|short} {desc|firstline}\n" |
|
2590 | $ hg log -G --template "{rev}:{node|short} {desc|firstline}\n" | |
2590 | @ 10:3b6f1ec9dde9 dd |
|
2591 | @ 10:3b6f1ec9dde9 dd | |
2591 | | |
|
2592 | | | |
2592 | o 9:2f9fa9b998c5 d |
|
2593 | o 9:2f9fa9b998c5 d | |
2593 | | |
|
2594 | | | |
2594 | | o 8:7aead2484924 Added tag two, two.diff for changeset ff2c9fa2018b |
|
2595 | | o 8:7aead2484924 Added tag two, two.diff for changeset ff2c9fa2018b | |
2595 | | | |
|
2596 | | | | |
2596 | | o 7:045ca29b1ea2 Added tag one, one.patch for changeset 97d72e5f12c7 |
|
2597 | | o 7:045ca29b1ea2 Added tag one, one.patch for changeset 97d72e5f12c7 | |
2597 | | | |
|
2598 | | | | |
2598 | | o 6:5d5ef15dfe5e Added tag zero, zero.foo for changeset 8580ff50825a |
|
2599 | | o 6:5d5ef15dfe5e Added tag zero, zero.foo for changeset 8580ff50825a | |
2599 | | | |
|
2600 | | | | |
2600 | | o 5:240fb913fc1b isolatin 8-bit encoding |
|
2601 | | o 5:240fb913fc1b isolatin 8-bit encoding | |
2601 | | | |
|
2602 | | | | |
2602 | | o 4:a2ea8fc83dd8 long line |
|
2603 | | o 4:a2ea8fc83dd8 long line | |
2603 | | | |
|
2604 | | | | |
2604 | | o 3:909a00e13e9d utf-8 content |
|
2605 | | o 3:909a00e13e9d utf-8 content | |
2605 | | | |
|
2606 | | | | |
2606 | | o 2:ff2c9fa2018b c |
|
2607 | | o 2:ff2c9fa2018b c | |
2607 | |/ |
|
2608 | |/ | |
2608 | o 1:97d72e5f12c7 b |
|
2609 | o 1:97d72e5f12c7 b | |
2609 | | |
|
2610 | | | |
2610 | o 0:8580ff50825a a |
|
2611 | o 0:8580ff50825a a | |
2611 |
|
2612 | |||
2612 | $ hg phase --force --secret -r 10 |
|
2613 | $ hg phase --force --secret -r 10 | |
2613 | $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t -r 'rev(10) or rev(6)' |
|
2614 | $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t -r 'rev(10) or rev(6)' | |
2614 | comparing with ../t |
|
2615 | comparing with ../t | |
2615 | From [test]: test |
|
2616 | From [test]: test | |
2616 | this patch series consists of 6 patches. |
|
2617 | this patch series consists of 6 patches. | |
2617 |
|
2618 | |||
2618 |
|
2619 | |||
2619 | Write the introductory message for the patch series. |
|
2620 | Write the introductory message for the patch series. | |
2620 |
|
2621 | |||
2621 | Cc: |
|
2622 | Cc: | |
2622 |
|
2623 | |||
2623 | displaying [PATCH 0 of 6] test ... |
|
2624 | displaying [PATCH 0 of 6] test ... | |
2624 | MIME-Version: 1.0 |
|
2625 | MIME-Version: 1.0 | |
2625 | Content-Type: text/plain; charset="us-ascii" |
|
2626 | Content-Type: text/plain; charset="us-ascii" | |
2626 | Content-Transfer-Encoding: 7bit |
|
2627 | Content-Transfer-Encoding: 7bit | |
2627 | Subject: [PATCH 0 of 6] test |
|
2628 | Subject: [PATCH 0 of 6] test | |
2628 | Message-Id: <patchbomb.315532860@*> (glob) |
|
2629 | Message-Id: <patchbomb.315532860@*> (glob) | |
2629 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2630 | User-Agent: Mercurial-patchbomb/* (glob) | |
2630 | Date: Tue, 01 Jan 1980 00:01:00 +0000 |
|
2631 | Date: Tue, 01 Jan 1980 00:01:00 +0000 | |
2631 | From: test |
|
2632 | From: test | |
2632 | To: foo |
|
2633 | To: foo | |
2633 |
|
2634 | |||
2634 |
|
2635 | |||
2635 | displaying [PATCH 1 of 6] c ... |
|
2636 | displaying [PATCH 1 of 6] c ... | |
2636 | MIME-Version: 1.0 |
|
2637 | MIME-Version: 1.0 | |
2637 | Content-Type: text/plain; charset="us-ascii" |
|
2638 | Content-Type: text/plain; charset="us-ascii" | |
2638 | Content-Transfer-Encoding: 7bit |
|
2639 | Content-Transfer-Encoding: 7bit | |
2639 | Subject: [PATCH 1 of 6] c |
|
2640 | Subject: [PATCH 1 of 6] c | |
2640 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
2641 | X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
2641 | X-Mercurial-Series-Index: 1 |
|
2642 | X-Mercurial-Series-Index: 1 | |
2642 | X-Mercurial-Series-Total: 6 |
|
2643 | X-Mercurial-Series-Total: 6 | |
2643 | Message-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
|
2644 | Message-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) | |
2644 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
|
2645 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) | |
2645 | In-Reply-To: <patchbomb.315532860@*> (glob) |
|
2646 | In-Reply-To: <patchbomb.315532860@*> (glob) | |
2646 | References: <patchbomb.315532860@*> (glob) |
|
2647 | References: <patchbomb.315532860@*> (glob) | |
2647 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2648 | User-Agent: Mercurial-patchbomb/* (glob) | |
2648 | Date: Tue, 01 Jan 1980 00:01:01 +0000 |
|
2649 | Date: Tue, 01 Jan 1980 00:01:01 +0000 | |
2649 | From: test |
|
2650 | From: test | |
2650 | To: foo |
|
2651 | To: foo | |
2651 |
|
2652 | |||
2652 | # HG changeset patch |
|
2653 | # HG changeset patch | |
2653 | # User test |
|
2654 | # User test | |
2654 | # Date 3 0 |
|
2655 | # Date 3 0 | |
2655 | # Thu Jan 01 00:00:03 1970 +0000 |
|
2656 | # Thu Jan 01 00:00:03 1970 +0000 | |
2656 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
2657 | # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
2657 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
2658 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
2658 | c |
|
2659 | c | |
2659 |
|
2660 | |||
2660 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c |
|
2661 | diff -r 97d72e5f12c7 -r ff2c9fa2018b c | |
2661 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2662 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2662 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 |
|
2663 | +++ b/c Thu Jan 01 00:00:03 1970 +0000 | |
2663 | @@ -0,0 +1,1 @@ |
|
2664 | @@ -0,0 +1,1 @@ | |
2664 | +c |
|
2665 | +c | |
2665 |
|
2666 | |||
2666 | displaying [PATCH 2 of 6] utf-8 content ... |
|
2667 | displaying [PATCH 2 of 6] utf-8 content ... | |
2667 | MIME-Version: 1.0 |
|
2668 | MIME-Version: 1.0 | |
2668 | Content-Type: text/plain; charset="us-ascii" |
|
2669 | Content-Type: text/plain; charset="us-ascii" | |
2669 | Content-Transfer-Encoding: 8bit |
|
2670 | Content-Transfer-Encoding: 8bit | |
2670 | Subject: [PATCH 2 of 6] utf-8 content |
|
2671 | Subject: [PATCH 2 of 6] utf-8 content | |
2671 | X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f |
|
2672 | X-Mercurial-Node: 909a00e13e9d78b575aeee23dddbada46d5a143f | |
2672 | X-Mercurial-Series-Index: 2 |
|
2673 | X-Mercurial-Series-Index: 2 | |
2673 | X-Mercurial-Series-Total: 6 |
|
2674 | X-Mercurial-Series-Total: 6 | |
2674 | Message-Id: <909a00e13e9d78b575ae.315532862@*> (glob) |
|
2675 | Message-Id: <909a00e13e9d78b575ae.315532862@*> (glob) | |
2675 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
|
2676 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) | |
2676 | In-Reply-To: <patchbomb.315532860@*> (glob) |
|
2677 | In-Reply-To: <patchbomb.315532860@*> (glob) | |
2677 | References: <patchbomb.315532860@*> (glob) |
|
2678 | References: <patchbomb.315532860@*> (glob) | |
2678 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2679 | User-Agent: Mercurial-patchbomb/* (glob) | |
2679 | Date: Tue, 01 Jan 1980 00:01:02 +0000 |
|
2680 | Date: Tue, 01 Jan 1980 00:01:02 +0000 | |
2680 | From: test |
|
2681 | From: test | |
2681 | To: foo |
|
2682 | To: foo | |
2682 |
|
2683 | |||
2683 | # HG changeset patch |
|
2684 | # HG changeset patch | |
2684 | # User test |
|
2685 | # User test | |
2685 | # Date 4 0 |
|
2686 | # Date 4 0 | |
2686 | # Thu Jan 01 00:00:04 1970 +0000 |
|
2687 | # Thu Jan 01 00:00:04 1970 +0000 | |
2687 | # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f |
|
2688 | # Node ID 909a00e13e9d78b575aeee23dddbada46d5a143f | |
2688 | # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f |
|
2689 | # Parent ff2c9fa2018b15fa74b33363bda9527323e2a99f | |
2689 | utf-8 content |
|
2690 | utf-8 content | |
2690 |
|
2691 | |||
2691 | diff -r ff2c9fa2018b -r 909a00e13e9d description |
|
2692 | diff -r ff2c9fa2018b -r 909a00e13e9d description | |
2692 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2693 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2693 | +++ b/description Thu Jan 01 00:00:04 1970 +0000 |
|
2694 | +++ b/description Thu Jan 01 00:00:04 1970 +0000 | |
2694 | @@ -0,0 +1,3 @@ |
|
2695 | @@ -0,0 +1,3 @@ | |
2695 | +a multiline |
|
2696 | +a multiline | |
2696 | + |
|
2697 | + | |
2697 | +description |
|
2698 | +description | |
2698 | diff -r ff2c9fa2018b -r 909a00e13e9d utf |
|
2699 | diff -r ff2c9fa2018b -r 909a00e13e9d utf | |
2699 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2700 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2700 | +++ b/utf Thu Jan 01 00:00:04 1970 +0000 |
|
2701 | +++ b/utf Thu Jan 01 00:00:04 1970 +0000 | |
2701 | @@ -0,0 +1,1 @@ |
|
2702 | @@ -0,0 +1,1 @@ | |
2702 | +h\xc3\xb6mma! (esc) |
|
2703 | +h\xc3\xb6mma! (esc) | |
2703 |
|
2704 | |||
2704 | displaying [PATCH 3 of 6] long line ... |
|
2705 | displaying [PATCH 3 of 6] long line ... | |
2705 | MIME-Version: 1.0 |
|
2706 | MIME-Version: 1.0 | |
2706 | Content-Type: text/plain; charset="us-ascii" |
|
2707 | Content-Type: text/plain; charset="us-ascii" | |
2707 | Content-Transfer-Encoding: quoted-printable |
|
2708 | Content-Transfer-Encoding: quoted-printable | |
2708 | Subject: [PATCH 3 of 6] long line |
|
2709 | Subject: [PATCH 3 of 6] long line | |
2709 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
2710 | X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
2710 | X-Mercurial-Series-Index: 3 |
|
2711 | X-Mercurial-Series-Index: 3 | |
2711 | X-Mercurial-Series-Total: 6 |
|
2712 | X-Mercurial-Series-Total: 6 | |
2712 | Message-Id: <a2ea8fc83dd8b93cfd86.315532863@*> (glob) |
|
2713 | Message-Id: <a2ea8fc83dd8b93cfd86.315532863@*> (glob) | |
2713 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
|
2714 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) | |
2714 | In-Reply-To: <patchbomb.315532860@*> (glob) |
|
2715 | In-Reply-To: <patchbomb.315532860@*> (glob) | |
2715 | References: <patchbomb.315532860@*> (glob) |
|
2716 | References: <patchbomb.315532860@*> (glob) | |
2716 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2717 | User-Agent: Mercurial-patchbomb/* (glob) | |
2717 | Date: Tue, 01 Jan 1980 00:01:03 +0000 |
|
2718 | Date: Tue, 01 Jan 1980 00:01:03 +0000 | |
2718 | From: test |
|
2719 | From: test | |
2719 | To: foo |
|
2720 | To: foo | |
2720 |
|
2721 | |||
2721 | # HG changeset patch |
|
2722 | # HG changeset patch | |
2722 | # User test |
|
2723 | # User test | |
2723 | # Date 4 0 |
|
2724 | # Date 4 0 | |
2724 | # Thu Jan 01 00:00:04 1970 +0000 |
|
2725 | # Thu Jan 01 00:00:04 1970 +0000 | |
2725 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
2726 | # Node ID a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
2726 | # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f |
|
2727 | # Parent 909a00e13e9d78b575aeee23dddbada46d5a143f | |
2727 | long line |
|
2728 | long line | |
2728 |
|
2729 | |||
2729 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long |
|
2730 | diff -r 909a00e13e9d -r a2ea8fc83dd8 long | |
2730 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2731 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2731 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 |
|
2732 | +++ b/long Thu Jan 01 00:00:04 1970 +0000 | |
2732 | @@ -0,0 +1,4 @@ |
|
2733 | @@ -0,0 +1,4 @@ | |
2733 | +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
2734 | +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
2734 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
2735 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
2735 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
2736 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
2736 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
2737 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
2737 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
2738 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
2738 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
2739 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
2739 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
2740 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
2740 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
2741 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
2741 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
2742 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
2742 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
2743 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
2743 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
2744 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
2744 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
2745 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
2745 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= |
|
2746 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= | |
2746 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
|
2747 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
2747 | +foo |
|
2748 | +foo | |
2748 | + |
|
2749 | + | |
2749 | +bar |
|
2750 | +bar | |
2750 |
|
2751 | |||
2751 | displaying [PATCH 4 of 6] isolatin 8-bit encoding ... |
|
2752 | displaying [PATCH 4 of 6] isolatin 8-bit encoding ... | |
2752 | MIME-Version: 1.0 |
|
2753 | MIME-Version: 1.0 | |
2753 | Content-Type: text/plain; charset="us-ascii" |
|
2754 | Content-Type: text/plain; charset="us-ascii" | |
2754 | Content-Transfer-Encoding: 8bit |
|
2755 | Content-Transfer-Encoding: 8bit | |
2755 | Subject: [PATCH 4 of 6] isolatin 8-bit encoding |
|
2756 | Subject: [PATCH 4 of 6] isolatin 8-bit encoding | |
2756 | X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
|
2757 | X-Mercurial-Node: 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 | |
2757 | X-Mercurial-Series-Index: 4 |
|
2758 | X-Mercurial-Series-Index: 4 | |
2758 | X-Mercurial-Series-Total: 6 |
|
2759 | X-Mercurial-Series-Total: 6 | |
2759 | Message-Id: <240fb913fc1b7ff15ddb.315532864@*> (glob) |
|
2760 | Message-Id: <240fb913fc1b7ff15ddb.315532864@*> (glob) | |
2760 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
|
2761 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) | |
2761 | In-Reply-To: <patchbomb.315532860@*> (glob) |
|
2762 | In-Reply-To: <patchbomb.315532860@*> (glob) | |
2762 | References: <patchbomb.315532860@*> (glob) |
|
2763 | References: <patchbomb.315532860@*> (glob) | |
2763 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2764 | User-Agent: Mercurial-patchbomb/* (glob) | |
2764 | Date: Tue, 01 Jan 1980 00:01:04 +0000 |
|
2765 | Date: Tue, 01 Jan 1980 00:01:04 +0000 | |
2765 | From: test |
|
2766 | From: test | |
2766 | To: foo |
|
2767 | To: foo | |
2767 |
|
2768 | |||
2768 | # HG changeset patch |
|
2769 | # HG changeset patch | |
2769 | # User test |
|
2770 | # User test | |
2770 | # Date 5 0 |
|
2771 | # Date 5 0 | |
2771 | # Thu Jan 01 00:00:05 1970 +0000 |
|
2772 | # Thu Jan 01 00:00:05 1970 +0000 | |
2772 | # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
|
2773 | # Node ID 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 | |
2773 | # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 |
|
2774 | # Parent a2ea8fc83dd8b93cfd86ac97b28287204ab806e1 | |
2774 | isolatin 8-bit encoding |
|
2775 | isolatin 8-bit encoding | |
2775 |
|
2776 | |||
2776 | diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin |
|
2777 | diff -r a2ea8fc83dd8 -r 240fb913fc1b isolatin | |
2777 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2778 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2778 | +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000 |
|
2779 | +++ b/isolatin Thu Jan 01 00:00:05 1970 +0000 | |
2779 | @@ -0,0 +1,1 @@ |
|
2780 | @@ -0,0 +1,1 @@ | |
2780 | +h\xf6mma! (esc) |
|
2781 | +h\xf6mma! (esc) | |
2781 |
|
2782 | |||
2782 | displaying [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a ... |
|
2783 | displaying [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a ... | |
2783 | MIME-Version: 1.0 |
|
2784 | MIME-Version: 1.0 | |
2784 | Content-Type: text/plain; charset="us-ascii" |
|
2785 | Content-Type: text/plain; charset="us-ascii" | |
2785 | Content-Transfer-Encoding: 7bit |
|
2786 | Content-Transfer-Encoding: 7bit | |
2786 | Subject: [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a |
|
2787 | Subject: [PATCH 5 of 6] Added tag zero, zero.foo for changeset 8580ff50825a | |
2787 | X-Mercurial-Node: 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433 |
|
2788 | X-Mercurial-Node: 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433 | |
2788 | X-Mercurial-Series-Index: 5 |
|
2789 | X-Mercurial-Series-Index: 5 | |
2789 | X-Mercurial-Series-Total: 6 |
|
2790 | X-Mercurial-Series-Total: 6 | |
2790 | Message-Id: <5d5ef15dfe5e7bd3a4ee.315532865@*> (glob) |
|
2791 | Message-Id: <5d5ef15dfe5e7bd3a4ee.315532865@*> (glob) | |
2791 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
|
2792 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) | |
2792 | In-Reply-To: <patchbomb.315532860@*> (glob) |
|
2793 | In-Reply-To: <patchbomb.315532860@*> (glob) | |
2793 | References: <patchbomb.315532860@*> (glob) |
|
2794 | References: <patchbomb.315532860@*> (glob) | |
2794 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2795 | User-Agent: Mercurial-patchbomb/* (glob) | |
2795 | Date: Tue, 01 Jan 1980 00:01:05 +0000 |
|
2796 | Date: Tue, 01 Jan 1980 00:01:05 +0000 | |
2796 | From: test |
|
2797 | From: test | |
2797 | To: foo |
|
2798 | To: foo | |
2798 |
|
2799 | |||
2799 | # HG changeset patch |
|
2800 | # HG changeset patch | |
2800 | # User test |
|
2801 | # User test | |
2801 | # Date 0 0 |
|
2802 | # Date 0 0 | |
2802 | # Thu Jan 01 00:00:00 1970 +0000 |
|
2803 | # Thu Jan 01 00:00:00 1970 +0000 | |
2803 | # Node ID 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433 |
|
2804 | # Node ID 5d5ef15dfe5e7bd3a4ee154b5fff76c7945ec433 | |
2804 | # Parent 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 |
|
2805 | # Parent 240fb913fc1b7ff15ddb9f33e73d82bf5277c720 | |
2805 | Added tag zero, zero.foo for changeset 8580ff50825a |
|
2806 | Added tag zero, zero.foo for changeset 8580ff50825a | |
2806 |
|
2807 | |||
2807 | diff -r 240fb913fc1b -r 5d5ef15dfe5e .hgtags |
|
2808 | diff -r 240fb913fc1b -r 5d5ef15dfe5e .hgtags | |
2808 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2809 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2809 | +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000 |
|
2810 | +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000 | |
2810 | @@ -0,0 +1,2 @@ |
|
2811 | @@ -0,0 +1,2 @@ | |
2811 | +8580ff50825a50c8f716709acdf8de0deddcd6ab zero |
|
2812 | +8580ff50825a50c8f716709acdf8de0deddcd6ab zero | |
2812 | +8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo |
|
2813 | +8580ff50825a50c8f716709acdf8de0deddcd6ab zero.foo | |
2813 |
|
2814 | |||
2814 | displaying [PATCH 6 of 6] d ... |
|
2815 | displaying [PATCH 6 of 6] d ... | |
2815 | MIME-Version: 1.0 |
|
2816 | MIME-Version: 1.0 | |
2816 | Content-Type: text/plain; charset="us-ascii" |
|
2817 | Content-Type: text/plain; charset="us-ascii" | |
2817 | Content-Transfer-Encoding: 7bit |
|
2818 | Content-Transfer-Encoding: 7bit | |
2818 | Subject: [PATCH 6 of 6] d |
|
2819 | Subject: [PATCH 6 of 6] d | |
2819 | X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
|
2820 | X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 | |
2820 | X-Mercurial-Series-Index: 6 |
|
2821 | X-Mercurial-Series-Index: 6 | |
2821 | X-Mercurial-Series-Total: 6 |
|
2822 | X-Mercurial-Series-Total: 6 | |
2822 | Message-Id: <2f9fa9b998c5fe3ac2bd.315532866@*> (glob) |
|
2823 | Message-Id: <2f9fa9b998c5fe3ac2bd.315532866@*> (glob) | |
2823 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) |
|
2824 | X-Mercurial-Series-Id: <ff2c9fa2018b15fa74b3.315532861@*> (glob) | |
2824 | In-Reply-To: <patchbomb.315532860@*> (glob) |
|
2825 | In-Reply-To: <patchbomb.315532860@*> (glob) | |
2825 | References: <patchbomb.315532860@*> (glob) |
|
2826 | References: <patchbomb.315532860@*> (glob) | |
2826 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2827 | User-Agent: Mercurial-patchbomb/* (glob) | |
2827 | Date: Tue, 01 Jan 1980 00:01:06 +0000 |
|
2828 | Date: Tue, 01 Jan 1980 00:01:06 +0000 | |
2828 | From: test |
|
2829 | From: test | |
2829 | To: foo |
|
2830 | To: foo | |
2830 |
|
2831 | |||
2831 | # HG changeset patch |
|
2832 | # HG changeset patch | |
2832 | # User test |
|
2833 | # User test | |
2833 | # Date 4 0 |
|
2834 | # Date 4 0 | |
2834 | # Thu Jan 01 00:00:04 1970 +0000 |
|
2835 | # Thu Jan 01 00:00:04 1970 +0000 | |
2835 | # Branch test |
|
2836 | # Branch test | |
2836 | # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
|
2837 | # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 | |
2837 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
2838 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
2838 | d |
|
2839 | d | |
2839 |
|
2840 | |||
2840 | diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d |
|
2841 | diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d | |
2841 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2842 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2842 | +++ b/d Thu Jan 01 00:00:04 1970 +0000 |
|
2843 | +++ b/d Thu Jan 01 00:00:04 1970 +0000 | |
2843 | @@ -0,0 +1,1 @@ |
|
2844 | @@ -0,0 +1,1 @@ | |
2844 | +d |
|
2845 | +d | |
2845 |
|
2846 | |||
2846 |
|
2847 | |||
2847 | Don't prompt for a CC header. |
|
2848 | Don't prompt for a CC header. | |
2848 |
|
2849 | |||
2849 | $ echo "[email]" >> $HGRCPATH |
|
2850 | $ echo "[email]" >> $HGRCPATH | |
2850 | $ echo "cc=" >> $HGRCPATH |
|
2851 | $ echo "cc=" >> $HGRCPATH | |
2851 |
|
2852 | |||
2852 | dest#branch URIs: |
|
2853 | dest#branch URIs: | |
2853 | $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t#test |
|
2854 | $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t#test | |
2854 | comparing with ../t |
|
2855 | comparing with ../t | |
2855 | From [test]: test |
|
2856 | From [test]: test | |
2856 | this patch series consists of 1 patches. |
|
2857 | this patch series consists of 1 patches. | |
2857 |
|
2858 | |||
2858 |
|
2859 | |||
2859 | displaying [PATCH] test ... |
|
2860 | displaying [PATCH] test ... | |
2860 | MIME-Version: 1.0 |
|
2861 | MIME-Version: 1.0 | |
2861 | Content-Type: text/plain; charset="us-ascii" |
|
2862 | Content-Type: text/plain; charset="us-ascii" | |
2862 | Content-Transfer-Encoding: 7bit |
|
2863 | Content-Transfer-Encoding: 7bit | |
2863 | Subject: [PATCH] test |
|
2864 | Subject: [PATCH] test | |
2864 | X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
|
2865 | X-Mercurial-Node: 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 | |
2865 | X-Mercurial-Series-Index: 1 |
|
2866 | X-Mercurial-Series-Index: 1 | |
2866 | X-Mercurial-Series-Total: 1 |
|
2867 | X-Mercurial-Series-Total: 1 | |
2867 | Message-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob) |
|
2868 | Message-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob) | |
2868 | X-Mercurial-Series-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob) |
|
2869 | X-Mercurial-Series-Id: <2f9fa9b998c5fe3ac2bd.315532860@*> (glob) | |
2869 | User-Agent: Mercurial-patchbomb/* (glob) |
|
2870 | User-Agent: Mercurial-patchbomb/* (glob) | |
2870 | Date: Tue, 01 Jan 1980 00:01:00 +0000 |
|
2871 | Date: Tue, 01 Jan 1980 00:01:00 +0000 | |
2871 | From: test |
|
2872 | From: test | |
2872 | To: foo |
|
2873 | To: foo | |
2873 |
|
2874 | |||
2874 | # HG changeset patch |
|
2875 | # HG changeset patch | |
2875 | # User test |
|
2876 | # User test | |
2876 | # Date 4 0 |
|
2877 | # Date 4 0 | |
2877 | # Thu Jan 01 00:00:04 1970 +0000 |
|
2878 | # Thu Jan 01 00:00:04 1970 +0000 | |
2878 | # Branch test |
|
2879 | # Branch test | |
2879 | # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
|
2880 | # Node ID 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 | |
2880 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 |
|
2881 | # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9 | |
2881 | d |
|
2882 | d | |
2882 |
|
2883 | |||
2883 | diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d |
|
2884 | diff -r 97d72e5f12c7 -r 2f9fa9b998c5 d | |
2884 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
2885 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
2885 | +++ b/d Thu Jan 01 00:00:04 1970 +0000 |
|
2886 | +++ b/d Thu Jan 01 00:00:04 1970 +0000 | |
2886 | @@ -0,0 +1,1 @@ |
|
2887 | @@ -0,0 +1,1 @@ | |
2887 | +d |
|
2888 | +d | |
2888 |
|
2889 | |||
2889 | #if no-windows |
|
2890 | #if no-windows | |
2890 |
|
2891 | |||
2891 | Set up a fake sendmail program |
|
2892 | Set up a fake sendmail program | |
2892 |
|
2893 | |||
2893 | $ cat > pretendmail.sh << 'EOF' |
|
2894 | $ cat > pretendmail.sh << 'EOF' | |
2894 | > #!/bin/sh |
|
2895 | > #!/bin/sh | |
2895 | > echo "$@" |
|
2896 | > echo "$@" | |
2896 | > cat |
|
2897 | > cat | |
2897 | > EOF |
|
2898 | > EOF | |
2898 | $ chmod +x pretendmail.sh |
|
2899 | $ chmod +x pretendmail.sh | |
2899 |
|
2900 | |||
2900 | $ echo '[email]' >> $HGRCPATH |
|
2901 | $ echo '[email]' >> $HGRCPATH | |
2901 | $ echo "method=`pwd`/pretendmail.sh" >> $HGRCPATH |
|
2902 | $ echo "method=`pwd`/pretendmail.sh" >> $HGRCPATH | |
2902 |
|
2903 | |||
2903 | Test introduction configuration |
|
2904 | Test introduction configuration | |
2904 | ================================= |
|
2905 | ================================= | |
2905 |
|
2906 | |||
2906 | $ echo '[patchbomb]' >> $HGRCPATH |
|
2907 | $ echo '[patchbomb]' >> $HGRCPATH | |
2907 |
|
2908 | |||
2908 | "auto" setting |
|
2909 | "auto" setting | |
2909 | ---------------- |
|
2910 | ---------------- | |
2910 |
|
2911 | |||
2911 | $ echo 'intro=auto' >> $HGRCPATH |
|
2912 | $ echo 'intro=auto' >> $HGRCPATH | |
2912 |
|
2913 | |||
2913 | single rev |
|
2914 | single rev | |
2914 |
|
2915 | |||
2915 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series." |
|
2916 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series." | |
2916 | [1] |
|
2917 | [1] | |
2917 |
|
2918 | |||
2918 | single rev + flag |
|
2919 | single rev + flag | |
2919 |
|
2920 | |||
2920 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." |
|
2921 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." | |
2921 | Write the introductory message for the patch series. |
|
2922 | Write the introductory message for the patch series. | |
2922 |
|
2923 | |||
2923 |
|
2924 | |||
2924 | Multi rev |
|
2925 | Multi rev | |
2925 |
|
2926 | |||
2926 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series." |
|
2927 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series." | |
2927 | Write the introductory message for the patch series. |
|
2928 | Write the introductory message for the patch series. | |
2928 |
|
2929 | |||
2929 | "never" setting |
|
2930 | "never" setting | |
2930 | ----------------- |
|
2931 | ----------------- | |
2931 |
|
2932 | |||
2932 | $ echo 'intro=never' >> $HGRCPATH |
|
2933 | $ echo 'intro=never' >> $HGRCPATH | |
2933 |
|
2934 | |||
2934 | single rev |
|
2935 | single rev | |
2935 |
|
2936 | |||
2936 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series." |
|
2937 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series." | |
2937 | [1] |
|
2938 | [1] | |
2938 |
|
2939 | |||
2939 | single rev + flag |
|
2940 | single rev + flag | |
2940 |
|
2941 | |||
2941 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." |
|
2942 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." | |
2942 | Write the introductory message for the patch series. |
|
2943 | Write the introductory message for the patch series. | |
2943 |
|
2944 | |||
2944 |
|
2945 | |||
2945 | Multi rev |
|
2946 | Multi rev | |
2946 |
|
2947 | |||
2947 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series." |
|
2948 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series." | |
2948 | [1] |
|
2949 | [1] | |
2949 |
|
2950 | |||
2950 | Multi rev + flag |
|
2951 | Multi rev + flag | |
2951 |
|
2952 | |||
2952 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' --intro | grep "Write the introductory message for the patch series." |
|
2953 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' --intro | grep "Write the introductory message for the patch series." | |
2953 | Write the introductory message for the patch series. |
|
2954 | Write the introductory message for the patch series. | |
2954 |
|
2955 | |||
2955 | "always" setting |
|
2956 | "always" setting | |
2956 | ----------------- |
|
2957 | ----------------- | |
2957 |
|
2958 | |||
2958 | $ echo 'intro=always' >> $HGRCPATH |
|
2959 | $ echo 'intro=always' >> $HGRCPATH | |
2959 |
|
2960 | |||
2960 | single rev |
|
2961 | single rev | |
2961 |
|
2962 | |||
2962 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series." |
|
2963 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep "Write the introductory message for the patch series." | |
2963 | Write the introductory message for the patch series. |
|
2964 | Write the introductory message for the patch series. | |
2964 |
|
2965 | |||
2965 | single rev + flag |
|
2966 | single rev + flag | |
2966 |
|
2967 | |||
2967 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." |
|
2968 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' --intro | grep "Write the introductory message for the patch series." | |
2968 | Write the introductory message for the patch series. |
|
2969 | Write the introductory message for the patch series. | |
2969 |
|
2970 | |||
2970 |
|
2971 | |||
2971 | Multi rev |
|
2972 | Multi rev | |
2972 |
|
2973 | |||
2973 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series." |
|
2974 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' | grep "Write the introductory message for the patch series." | |
2974 | Write the introductory message for the patch series. |
|
2975 | Write the introductory message for the patch series. | |
2975 |
|
2976 | |||
2976 | Multi rev + flag |
|
2977 | Multi rev + flag | |
2977 |
|
2978 | |||
2978 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' --intro | grep "Write the introductory message for the patch series." |
|
2979 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '9::' --intro | grep "Write the introductory message for the patch series." | |
2979 | Write the introductory message for the patch series. |
|
2980 | Write the introductory message for the patch series. | |
2980 |
|
2981 | |||
2981 | bad value setting |
|
2982 | bad value setting | |
2982 | ----------------- |
|
2983 | ----------------- | |
2983 |
|
2984 | |||
2984 | $ echo 'intro=mpmwearaclownnose' >> $HGRCPATH |
|
2985 | $ echo 'intro=mpmwearaclownnose' >> $HGRCPATH | |
2985 |
|
2986 | |||
2986 | single rev |
|
2987 | single rev | |
2987 |
|
2988 | |||
2988 | $ hg email --date '1980-1-1 0:1' -v -t foo -s test -r '10' |
|
2989 | $ hg email --date '1980-1-1 0:1' -v -t foo -s test -r '10' | |
2989 | From [test]: test |
|
2990 | From [test]: test | |
2990 | this patch series consists of 1 patches. |
|
2991 | this patch series consists of 1 patches. | |
2991 |
|
2992 | |||
2992 | warning: invalid patchbomb.intro value "mpmwearaclownnose" |
|
2993 | warning: invalid patchbomb.intro value "mpmwearaclownnose" | |
2993 | (should be one of always, never, auto) |
|
2994 | (should be one of always, never, auto) | |
2994 | -f test foo |
|
2995 | -f test foo | |
2995 | MIME-Version: 1.0 |
|
2996 | MIME-Version: 1.0 | |
2996 | Content-Type: text/plain; charset="us-ascii" |
|
2997 | Content-Type: text/plain; charset="us-ascii" | |
2997 | Content-Transfer-Encoding: 7bit |
|
2998 | Content-Transfer-Encoding: 7bit | |
2998 | Subject: [PATCH] test |
|
2999 | Subject: [PATCH] test | |
2999 | X-Mercurial-Node: 3b6f1ec9dde933a40a115a7990f8b320477231af |
|
3000 | X-Mercurial-Node: 3b6f1ec9dde933a40a115a7990f8b320477231af | |
3000 | X-Mercurial-Series-Index: 1 |
|
3001 | X-Mercurial-Series-Index: 1 | |
3001 | X-Mercurial-Series-Total: 1 |
|
3002 | X-Mercurial-Series-Total: 1 | |
3002 | Message-Id: <3b6f1ec9dde933a40a11*> (glob) |
|
3003 | Message-Id: <3b6f1ec9dde933a40a11*> (glob) | |
3003 | X-Mercurial-Series-Id: <3b6f1ec9dde933a40a11.*> (glob) |
|
3004 | X-Mercurial-Series-Id: <3b6f1ec9dde933a40a11.*> (glob) | |
3004 | User-Agent: Mercurial-patchbomb/* (glob) |
|
3005 | User-Agent: Mercurial-patchbomb/* (glob) | |
3005 | Date: Tue, 01 Jan 1980 00:01:00 +0000 |
|
3006 | Date: Tue, 01 Jan 1980 00:01:00 +0000 | |
3006 | From: test |
|
3007 | From: test | |
3007 | To: foo |
|
3008 | To: foo | |
3008 |
|
3009 | |||
3009 | # HG changeset patch |
|
3010 | # HG changeset patch | |
3010 | # User test |
|
3011 | # User test | |
3011 | # Date 5 0 |
|
3012 | # Date 5 0 | |
3012 | # Thu Jan 01 00:00:05 1970 +0000 |
|
3013 | # Thu Jan 01 00:00:05 1970 +0000 | |
3013 | # Branch test |
|
3014 | # Branch test | |
3014 | # Node ID 3b6f1ec9dde933a40a115a7990f8b320477231af |
|
3015 | # Node ID 3b6f1ec9dde933a40a115a7990f8b320477231af | |
3015 | # Parent 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 |
|
3016 | # Parent 2f9fa9b998c5fe3ac2bd9a2b14bfcbeecbc7c268 | |
3016 | dd |
|
3017 | dd | |
3017 |
|
3018 | |||
3018 | diff -r 2f9fa9b998c5 -r 3b6f1ec9dde9 d |
|
3019 | diff -r 2f9fa9b998c5 -r 3b6f1ec9dde9 d | |
3019 | --- a/d Thu Jan 01 00:00:04 1970 +0000 |
|
3020 | --- a/d Thu Jan 01 00:00:04 1970 +0000 | |
3020 | +++ b/d Thu Jan 01 00:00:05 1970 +0000 |
|
3021 | +++ b/d Thu Jan 01 00:00:05 1970 +0000 | |
3021 | @@ -1,1 +1,2 @@ |
|
3022 | @@ -1,1 +1,2 @@ | |
3022 | d |
|
3023 | d | |
3023 | +d |
|
3024 | +d | |
3024 |
|
3025 | |||
3025 | sending [PATCH] test ... |
|
3026 | sending [PATCH] test ... | |
3026 | sending mail: $TESTTMP/t2/pretendmail.sh -f test foo |
|
3027 | sending mail: $TESTTMP/t2/pretendmail.sh -f test foo | |
3027 |
|
3028 | |||
3028 | Test pull url header |
|
3029 | Test pull url header | |
3029 | ================================= |
|
3030 | ================================= | |
3030 |
|
3031 | |||
3031 | basic version |
|
3032 | basic version | |
3032 |
|
3033 | |||
3033 | $ echo 'intro=auto' >> $HGRCPATH |
|
3034 | $ echo 'intro=auto' >> $HGRCPATH | |
3034 | $ echo "publicurl=$TESTTMP/t2" >> $HGRCPATH |
|
3035 | $ echo "publicurl=$TESTTMP/t2" >> $HGRCPATH | |
3035 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep '^#' |
|
3036 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep '^#' | |
3036 | abort: public url $TESTTMP/t2 is missing 3b6f1ec9dde9 |
|
3037 | abort: public url $TESTTMP/t2 is missing 3b6f1ec9dde9 | |
3037 | (use 'hg push $TESTTMP/t2 -r 3b6f1ec9dde9') |
|
3038 | (use 'hg push $TESTTMP/t2 -r 3b6f1ec9dde9') | |
3038 | [1] |
|
3039 | [1] | |
3039 |
|
3040 | |||
3040 | public missing |
|
3041 | public missing | |
3041 |
|
3042 | |||
3042 | $ echo 'publicurl=$TESTTMP/missing' >> $HGRCPATH |
|
3043 | $ echo 'publicurl=$TESTTMP/missing' >> $HGRCPATH | |
3043 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' |
|
3044 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | |
3044 | unable to access public repo: $TESTTMP/missing |
|
3045 | unable to access public repo: $TESTTMP/missing | |
3045 | abort: repository $TESTTMP/missing not found! |
|
3046 | abort: repository $TESTTMP/missing not found! | |
3046 | [255] |
|
3047 | [255] | |
3047 |
|
3048 | |||
3048 | node missing at public |
|
3049 | node missing at public | |
3049 |
|
3050 | |||
3050 | $ hg clone -r '9' . ../t3 |
|
3051 | $ hg clone -r '9' . ../t3 | |
3051 | adding changesets |
|
3052 | adding changesets | |
3052 | adding manifests |
|
3053 | adding manifests | |
3053 | adding file changes |
|
3054 | adding file changes | |
3054 | added 3 changesets with 3 changes to 3 files |
|
3055 | added 3 changesets with 3 changes to 3 files | |
3055 | updating to branch test |
|
3056 | updating to branch test | |
3056 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
3057 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
3057 | $ echo 'publicurl=$TESTTMP/t3' >> $HGRCPATH |
|
3058 | $ echo 'publicurl=$TESTTMP/t3' >> $HGRCPATH | |
3058 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' |
|
3059 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | |
3059 | abort: public url $TESTTMP/t3 is missing 3b6f1ec9dde9 |
|
3060 | abort: public url $TESTTMP/t3 is missing 3b6f1ec9dde9 | |
3060 | (use 'hg push $TESTTMP/t3 -r 3b6f1ec9dde9') |
|
3061 | (use 'hg push $TESTTMP/t3 -r 3b6f1ec9dde9') | |
3061 | [255] |
|
3062 | [255] | |
3062 |
|
3063 | |||
3063 | multiple heads are missing at public |
|
3064 | multiple heads are missing at public | |
3064 |
|
3065 | |||
3065 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '2+10' |
|
3066 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '2+10' | |
3066 | abort: public "$TESTTMP/t3" is missing ff2c9fa2018b and 1 others |
|
3067 | abort: public "$TESTTMP/t3" is missing ff2c9fa2018b and 1 others | |
3067 | (use 'hg push $TESTTMP/t3 -r ff2c9fa2018b -r 3b6f1ec9dde9') |
|
3068 | (use 'hg push $TESTTMP/t3 -r ff2c9fa2018b -r 3b6f1ec9dde9') | |
3068 | [255] |
|
3069 | [255] | |
3069 |
|
3070 | |||
3070 | #endif |
|
3071 | #endif |
@@ -1,379 +1,361 b'' | |||||
1 |
|
1 | |||
2 | $ cat > loop.py <<EOF |
|
2 | $ cat > loop.py <<EOF | |
3 | > from __future__ import absolute_import |
|
3 | > from __future__ import absolute_import | |
4 | > import time |
|
4 | > import time | |
5 | > from mercurial import commands, registrar |
|
5 | > from mercurial import commands, registrar | |
6 | > |
|
6 | > | |
7 | > cmdtable = {} |
|
7 | > cmdtable = {} | |
8 | > command = registrar.command(cmdtable) |
|
8 | > command = registrar.command(cmdtable) | |
9 | > |
|
9 | > | |
10 | > class incrementingtime(object): |
|
10 | > class incrementingtime(object): | |
11 | > def __init__(self): |
|
11 | > def __init__(self): | |
12 | > self._time = 0.0 |
|
12 | > self._time = 0.0 | |
13 | > def __call__(self): |
|
13 | > def __call__(self): | |
14 | > self._time += 0.25 |
|
14 | > self._time += 0.25 | |
15 | > return self._time |
|
15 | > return self._time | |
16 | > time.time = incrementingtime() |
|
16 | > time.time = incrementingtime() | |
17 | > |
|
17 | > | |
18 | > @command(b'loop', |
|
18 | > @command(b'loop', | |
19 | > [('', 'total', '', 'override for total'), |
|
19 | > [('', 'total', '', 'override for total'), | |
20 | > ('', 'nested', False, 'show nested results'), |
|
20 | > ('', 'nested', False, 'show nested results'), | |
21 | > ('', 'parallel', False, 'show parallel sets of results')], |
|
21 | > ('', 'parallel', False, 'show parallel sets of results')], | |
22 | > 'hg loop LOOPS', |
|
22 | > 'hg loop LOOPS', | |
23 | > norepo=True) |
|
23 | > norepo=True) | |
24 | > def loop(ui, loops, **opts): |
|
24 | > def loop(ui, loops, **opts): | |
25 | > loops = int(loops) |
|
25 | > loops = int(loops) | |
26 | > total = None |
|
26 | > total = None | |
27 | > if loops >= 0: |
|
27 | > if loops >= 0: | |
28 | > total = loops |
|
28 | > total = loops | |
29 | > if opts.get('total', None): |
|
29 | > if opts.get('total', None): | |
30 | > total = int(opts.get('total')) |
|
30 | > total = int(opts.get('total')) | |
31 | > nested = False |
|
31 | > nested = False | |
32 | > if opts.get('nested', None): |
|
32 | > if opts.get('nested', None): | |
33 | > nested = True |
|
33 | > nested = True | |
34 | > loops = abs(loops) |
|
34 | > loops = abs(loops) | |
35 | > |
|
35 | > | |
36 | > for i in range(loops): |
|
36 | > for i in range(loops): | |
37 | > ui.progress(topiclabel, i, getloopitem(i), 'loopnum', total) |
|
37 | > ui.progress(topiclabel, i, getloopitem(i), 'loopnum', total) | |
38 | > if opts.get('parallel'): |
|
38 | > if opts.get('parallel'): | |
39 | > ui.progress('other', i, 'other.%d' % i, 'othernum', total) |
|
39 | > ui.progress('other', i, 'other.%d' % i, 'othernum', total) | |
40 | > if nested: |
|
40 | > if nested: | |
41 | > nested_steps = 2 |
|
41 | > nested_steps = 2 | |
42 | > if i and i % 4 == 0: |
|
42 | > if i and i % 4 == 0: | |
43 | > nested_steps = 5 |
|
43 | > nested_steps = 5 | |
44 | > for j in range(nested_steps): |
|
44 | > for j in range(nested_steps): | |
45 | > ui.progress( |
|
45 | > ui.progress( | |
46 | > 'nested', j, 'nested.%d' % j, 'nestnum', nested_steps) |
|
46 | > 'nested', j, 'nested.%d' % j, 'nestnum', nested_steps) | |
47 | > ui.progress( |
|
47 | > ui.progress( | |
48 | > 'nested', None, 'nested.done', 'nestnum', nested_steps) |
|
48 | > 'nested', None, 'nested.done', 'nestnum', nested_steps) | |
49 | > ui.progress(topiclabel, None, 'loop.done', 'loopnum', total) |
|
49 | > ui.progress(topiclabel, None, 'loop.done', 'loopnum', total) | |
50 | > |
|
50 | > | |
51 | > topiclabel = 'loop' |
|
51 | > topiclabel = 'loop' | |
52 | > def getloopitem(i): |
|
52 | > def getloopitem(i): | |
53 | > return 'loop.%d' % i |
|
53 | > return 'loop.%d' % i | |
54 | > |
|
54 | > | |
55 | > EOF |
|
55 | > EOF | |
56 |
|
56 | |||
57 | $ cp $HGRCPATH $HGRCPATH.orig |
|
57 | $ cp $HGRCPATH $HGRCPATH.orig | |
58 | $ echo "[extensions]" >> $HGRCPATH |
|
58 | $ echo "[extensions]" >> $HGRCPATH | |
59 | $ echo "progress=" >> $HGRCPATH |
|
59 | $ echo "progress=" >> $HGRCPATH | |
60 | $ echo "loop=`pwd`/loop.py" >> $HGRCPATH |
|
60 | $ echo "loop=`pwd`/loop.py" >> $HGRCPATH | |
61 | $ echo "[progress]" >> $HGRCPATH |
|
61 | $ echo "[progress]" >> $HGRCPATH | |
62 | $ echo "format = topic bar number" >> $HGRCPATH |
|
62 | $ echo "format = topic bar number" >> $HGRCPATH | |
63 | $ echo "assume-tty=1" >> $HGRCPATH |
|
63 | $ echo "assume-tty=1" >> $HGRCPATH | |
64 | $ echo "width=60" >> $HGRCPATH |
|
64 | $ echo "width=60" >> $HGRCPATH | |
65 |
|
65 | |||
66 | test default params, display nothing because of delay |
|
66 | test default params, display nothing because of delay | |
67 |
|
67 | |||
68 | $ hg -y loop 3 |
|
68 | $ hg -y loop 3 | |
69 | $ echo "delay=0" >> $HGRCPATH |
|
69 | $ echo "delay=0" >> $HGRCPATH | |
70 | $ echo "refresh=0" >> $HGRCPATH |
|
70 | $ echo "refresh=0" >> $HGRCPATH | |
71 |
|
71 | |||
72 | test with delay=0, refresh=0 |
|
72 | test with delay=0, refresh=0 | |
73 |
|
73 | |||
74 | $ hg -y loop 3 |
|
74 | $ hg -y loop 3 | |
75 | \r (no-eol) (esc) |
|
75 | \r (no-eol) (esc) | |
76 | loop [ ] 0/3\r (no-eol) (esc) |
|
76 | loop [ ] 0/3\r (no-eol) (esc) | |
77 | loop [===============> ] 1/3\r (no-eol) (esc) |
|
77 | loop [===============> ] 1/3\r (no-eol) (esc) | |
78 | loop [===============================> ] 2/3\r (no-eol) (esc) |
|
78 | loop [===============================> ] 2/3\r (no-eol) (esc) | |
79 | \r (no-eol) (esc) |
|
79 | \r (no-eol) (esc) | |
80 | no progress with --quiet |
|
80 | no progress with --quiet | |
81 | $ hg -y loop 3 --quiet |
|
81 | $ hg -y loop 3 --quiet | |
82 |
|
82 | |||
83 | test plain mode exception |
|
83 | test plain mode exception | |
84 | $ HGPLAINEXCEPT=progress hg -y loop 1 |
|
84 | $ HGPLAINEXCEPT=progress hg -y loop 1 | |
85 | \r (no-eol) (esc) |
|
85 | \r (no-eol) (esc) | |
86 | loop [ ] 0/1\r (no-eol) (esc) |
|
86 | loop [ ] 0/1\r (no-eol) (esc) | |
87 | \r (no-eol) (esc) |
|
87 | \r (no-eol) (esc) | |
88 |
|
88 | |||
89 | test nested short-lived topics (which shouldn't display with nestdelay): |
|
89 | test nested short-lived topics (which shouldn't display with nestdelay): | |
90 |
|
90 | |||
91 | $ hg -y loop 3 --nested |
|
91 | $ hg -y loop 3 --nested | |
92 | \r (no-eol) (esc) |
|
92 | \r (no-eol) (esc) | |
93 | loop [ ] 0/3\r (no-eol) (esc) |
|
93 | loop [ ] 0/3\r (no-eol) (esc) | |
94 | loop [===============> ] 1/3\r (no-eol) (esc) |
|
94 | loop [===============> ] 1/3\r (no-eol) (esc) | |
95 | loop [===============================> ] 2/3\r (no-eol) (esc) |
|
95 | loop [===============================> ] 2/3\r (no-eol) (esc) | |
96 | \r (no-eol) (esc) |
|
96 | \r (no-eol) (esc) | |
97 |
|
97 | |||
98 | Test nested long-lived topic which has the same name as a short-lived |
|
98 | Test nested long-lived topic which has the same name as a short-lived | |
99 | peer. We shouldn't get stuck showing the short-lived inner steps, and |
|
99 | peer. We shouldn't get stuck showing the short-lived inner steps, and | |
100 | should go back to skipping the inner steps when the slow nested step |
|
100 | should go back to skipping the inner steps when the slow nested step | |
101 | finishes. |
|
101 | finishes. | |
102 |
|
102 | |||
103 | $ hg -y loop 7 --nested |
|
103 | $ hg -y loop 7 --nested | |
104 | \r (no-eol) (esc) |
|
104 | \r (no-eol) (esc) | |
105 | loop [ ] 0/7\r (no-eol) (esc) |
|
105 | loop [ ] 0/7\r (no-eol) (esc) | |
106 | loop [=====> ] 1/7\r (no-eol) (esc) |
|
106 | loop [=====> ] 1/7\r (no-eol) (esc) | |
107 | loop [============> ] 2/7\r (no-eol) (esc) |
|
107 | loop [============> ] 2/7\r (no-eol) (esc) | |
108 | loop [===================> ] 3/7\r (no-eol) (esc) |
|
108 | loop [===================> ] 3/7\r (no-eol) (esc) | |
109 | loop [==========================> ] 4/7\r (no-eol) (esc) |
|
109 | loop [==========================> ] 4/7\r (no-eol) (esc) | |
110 | nested [==========================> ] 3/5\r (no-eol) (esc) |
|
110 | nested [==========================> ] 3/5\r (no-eol) (esc) | |
111 | nested [===================================> ] 4/5\r (no-eol) (esc) |
|
111 | nested [===================================> ] 4/5\r (no-eol) (esc) | |
112 | loop [=================================> ] 5/7\r (no-eol) (esc) |
|
112 | loop [=================================> ] 5/7\r (no-eol) (esc) | |
113 | loop [========================================> ] 6/7\r (no-eol) (esc) |
|
113 | loop [========================================> ] 6/7\r (no-eol) (esc) | |
114 | \r (no-eol) (esc) |
|
114 | \r (no-eol) (esc) | |
115 |
|
115 | |||
116 |
|
116 | |||
117 | $ hg --config progress.changedelay=0 -y loop 3 --nested |
|
117 | $ hg --config progress.changedelay=0 -y loop 3 --nested | |
118 | \r (no-eol) (esc) |
|
118 | \r (no-eol) (esc) | |
119 | loop [ ] 0/3\r (no-eol) (esc) |
|
119 | loop [ ] 0/3\r (no-eol) (esc) | |
120 | nested [ ] 0/2\r (no-eol) (esc) |
|
120 | nested [ ] 0/2\r (no-eol) (esc) | |
121 | nested [======================> ] 1/2\r (no-eol) (esc) |
|
121 | nested [======================> ] 1/2\r (no-eol) (esc) | |
122 | loop [===============> ] 1/3\r (no-eol) (esc) |
|
122 | loop [===============> ] 1/3\r (no-eol) (esc) | |
123 | nested [ ] 0/2\r (no-eol) (esc) |
|
123 | nested [ ] 0/2\r (no-eol) (esc) | |
124 | nested [======================> ] 1/2\r (no-eol) (esc) |
|
124 | nested [======================> ] 1/2\r (no-eol) (esc) | |
125 | loop [===============================> ] 2/3\r (no-eol) (esc) |
|
125 | loop [===============================> ] 2/3\r (no-eol) (esc) | |
126 | nested [ ] 0/2\r (no-eol) (esc) |
|
126 | nested [ ] 0/2\r (no-eol) (esc) | |
127 | nested [======================> ] 1/2\r (no-eol) (esc) |
|
127 | nested [======================> ] 1/2\r (no-eol) (esc) | |
128 | \r (no-eol) (esc) |
|
128 | \r (no-eol) (esc) | |
129 |
|
129 | |||
130 |
|
130 | |||
131 | test two topics being printed in parallel (as when we're doing a local |
|
131 | test two topics being printed in parallel (as when we're doing a local | |
132 | --pull clone, where you get the unbundle and bundle progress at the |
|
132 | --pull clone, where you get the unbundle and bundle progress at the | |
133 | same time): |
|
133 | same time): | |
134 | $ hg loop 3 --parallel |
|
134 | $ hg loop 3 --parallel | |
135 | \r (no-eol) (esc) |
|
135 | \r (no-eol) (esc) | |
136 | loop [ ] 0/3\r (no-eol) (esc) |
|
136 | loop [ ] 0/3\r (no-eol) (esc) | |
137 | loop [===============> ] 1/3\r (no-eol) (esc) |
|
137 | loop [===============> ] 1/3\r (no-eol) (esc) | |
138 | loop [===============================> ] 2/3\r (no-eol) (esc) |
|
138 | loop [===============================> ] 2/3\r (no-eol) (esc) | |
139 | \r (no-eol) (esc) |
|
139 | \r (no-eol) (esc) | |
140 | test refresh is taken in account |
|
140 | test refresh is taken in account | |
141 |
|
141 | |||
142 | $ hg -y --config progress.refresh=100 loop 3 |
|
142 | $ hg -y --config progress.refresh=100 loop 3 | |
143 |
|
143 | |||
144 | test format options 1 |
|
144 | test format options 1 | |
145 |
|
145 | |||
146 | $ hg -y --config 'progress.format=number topic item+2' loop 2 |
|
146 | $ hg -y --config 'progress.format=number topic item+2' loop 2 | |
147 | \r (no-eol) (esc) |
|
147 | \r (no-eol) (esc) | |
148 | 0/2 loop lo\r (no-eol) (esc) |
|
148 | 0/2 loop lo\r (no-eol) (esc) | |
149 | 1/2 loop lo\r (no-eol) (esc) |
|
149 | 1/2 loop lo\r (no-eol) (esc) | |
150 | \r (no-eol) (esc) |
|
150 | \r (no-eol) (esc) | |
151 |
|
151 | |||
152 | test format options 2 |
|
152 | test format options 2 | |
153 |
|
153 | |||
154 | $ hg -y --config 'progress.format=number item-3 bar' loop 2 |
|
154 | $ hg -y --config 'progress.format=number item-3 bar' loop 2 | |
155 | \r (no-eol) (esc) |
|
155 | \r (no-eol) (esc) | |
156 | 0/2 p.0 [ ]\r (no-eol) (esc) |
|
156 | 0/2 p.0 [ ]\r (no-eol) (esc) | |
157 | 1/2 p.1 [=======================> ]\r (no-eol) (esc) |
|
157 | 1/2 p.1 [=======================> ]\r (no-eol) (esc) | |
158 | \r (no-eol) (esc) |
|
158 | \r (no-eol) (esc) | |
159 |
|
159 | |||
160 | test format options and indeterminate progress |
|
160 | test format options and indeterminate progress | |
161 |
|
161 | |||
162 | $ hg -y --config 'progress.format=number item bar' loop -- -2 |
|
162 | $ hg -y --config 'progress.format=number item bar' loop -- -2 | |
163 | \r (no-eol) (esc) |
|
163 | \r (no-eol) (esc) | |
164 | 0 loop.0 [ <=> ]\r (no-eol) (esc) |
|
164 | 0 loop.0 [ <=> ]\r (no-eol) (esc) | |
165 | 1 loop.1 [ <=> ]\r (no-eol) (esc) |
|
165 | 1 loop.1 [ <=> ]\r (no-eol) (esc) | |
166 | \r (no-eol) (esc) |
|
166 | \r (no-eol) (esc) | |
167 |
|
167 | |||
168 | make sure things don't fall over if count > total |
|
168 | make sure things don't fall over if count > total | |
169 |
|
169 | |||
170 | $ hg -y loop --total 4 6 |
|
170 | $ hg -y loop --total 4 6 | |
171 | \r (no-eol) (esc) |
|
171 | \r (no-eol) (esc) | |
172 | loop [ ] 0/4\r (no-eol) (esc) |
|
172 | loop [ ] 0/4\r (no-eol) (esc) | |
173 | loop [===========> ] 1/4\r (no-eol) (esc) |
|
173 | loop [===========> ] 1/4\r (no-eol) (esc) | |
174 | loop [=======================> ] 2/4\r (no-eol) (esc) |
|
174 | loop [=======================> ] 2/4\r (no-eol) (esc) | |
175 | loop [===================================> ] 3/4\r (no-eol) (esc) |
|
175 | loop [===================================> ] 3/4\r (no-eol) (esc) | |
176 | loop [===============================================>] 4/4\r (no-eol) (esc) |
|
176 | loop [===============================================>] 4/4\r (no-eol) (esc) | |
177 | loop [ <=> ] 5/4\r (no-eol) (esc) |
|
177 | loop [ <=> ] 5/4\r (no-eol) (esc) | |
178 | \r (no-eol) (esc) |
|
178 | \r (no-eol) (esc) | |
179 |
|
179 | |||
180 | test immediate progress completion |
|
180 | test immediate progress completion | |
181 |
|
181 | |||
182 | $ hg -y loop 0 |
|
182 | $ hg -y loop 0 | |
183 |
|
183 | |||
184 | test delay time estimates |
|
184 | test delay time estimates | |
185 |
|
185 | |||
186 | #if no-chg |
|
186 | #if no-chg | |
187 |
|
187 | |||
188 | $ cat > mocktime.py <<EOF |
|
|||
189 | > import os |
|
|||
190 | > import time |
|
|||
191 | > |
|
|||
192 | > class mocktime(object): |
|
|||
193 | > def __init__(self, increment): |
|
|||
194 | > self.time = 0 |
|
|||
195 | > self.increment = [int(s) for s in increment.split()] |
|
|||
196 | > self.pos = 0 |
|
|||
197 | > def __call__(self): |
|
|||
198 | > self.time += self.increment[self.pos % len(self.increment)] |
|
|||
199 | > self.pos += 1 |
|
|||
200 | > return self.time |
|
|||
201 | > |
|
|||
202 | > def uisetup(ui): |
|
|||
203 | > time.time = mocktime(os.environ.get('MOCKTIME', '11')) |
|
|||
204 | > EOF |
|
|||
205 |
|
||||
206 | $ cp $HGRCPATH.orig $HGRCPATH |
|
188 | $ cp $HGRCPATH.orig $HGRCPATH | |
207 | $ echo "[extensions]" >> $HGRCPATH |
|
189 | $ echo "[extensions]" >> $HGRCPATH | |
208 |
$ echo "mocktime= |
|
190 | $ echo "mocktime=$TESTDIR/mocktime.py" >> $HGRCPATH | |
209 | $ echo "progress=" >> $HGRCPATH |
|
191 | $ echo "progress=" >> $HGRCPATH | |
210 | $ echo "loop=`pwd`/loop.py" >> $HGRCPATH |
|
192 | $ echo "loop=`pwd`/loop.py" >> $HGRCPATH | |
211 | $ echo "[progress]" >> $HGRCPATH |
|
193 | $ echo "[progress]" >> $HGRCPATH | |
212 | $ echo "assume-tty=1" >> $HGRCPATH |
|
194 | $ echo "assume-tty=1" >> $HGRCPATH | |
213 | $ echo "delay=25" >> $HGRCPATH |
|
195 | $ echo "delay=25" >> $HGRCPATH | |
214 | $ echo "width=60" >> $HGRCPATH |
|
196 | $ echo "width=60" >> $HGRCPATH | |
215 |
|
197 | |||
216 | $ hg -y loop 8 |
|
198 | $ MOCKTIME=11 hg -y loop 8 | |
217 | \r (no-eol) (esc) |
|
199 | \r (no-eol) (esc) | |
218 | loop [=========> ] 2/8 1m07s\r (no-eol) (esc) |
|
200 | loop [=========> ] 2/8 1m07s\r (no-eol) (esc) | |
219 | loop [===============> ] 3/8 56s\r (no-eol) (esc) |
|
201 | loop [===============> ] 3/8 56s\r (no-eol) (esc) | |
220 | loop [=====================> ] 4/8 45s\r (no-eol) (esc) |
|
202 | loop [=====================> ] 4/8 45s\r (no-eol) (esc) | |
221 | loop [==========================> ] 5/8 34s\r (no-eol) (esc) |
|
203 | loop [==========================> ] 5/8 34s\r (no-eol) (esc) | |
222 | loop [================================> ] 6/8 23s\r (no-eol) (esc) |
|
204 | loop [================================> ] 6/8 23s\r (no-eol) (esc) | |
223 | loop [=====================================> ] 7/8 12s\r (no-eol) (esc) |
|
205 | loop [=====================================> ] 7/8 12s\r (no-eol) (esc) | |
224 | \r (no-eol) (esc) |
|
206 | \r (no-eol) (esc) | |
225 |
|
207 | |||
226 | $ MOCKTIME=10000 hg -y loop 4 |
|
208 | $ MOCKTIME=10000 hg -y loop 4 | |
227 | \r (no-eol) (esc) |
|
209 | \r (no-eol) (esc) | |
228 | loop [ ] 0/4\r (no-eol) (esc) |
|
210 | loop [ ] 0/4\r (no-eol) (esc) | |
229 | loop [=========> ] 1/4 8h21m\r (no-eol) (esc) |
|
211 | loop [=========> ] 1/4 8h21m\r (no-eol) (esc) | |
230 | loop [====================> ] 2/4 5h34m\r (no-eol) (esc) |
|
212 | loop [====================> ] 2/4 5h34m\r (no-eol) (esc) | |
231 | loop [==============================> ] 3/4 2h47m\r (no-eol) (esc) |
|
213 | loop [==============================> ] 3/4 2h47m\r (no-eol) (esc) | |
232 | \r (no-eol) (esc) |
|
214 | \r (no-eol) (esc) | |
233 |
|
215 | |||
234 | $ MOCKTIME=1000000 hg -y loop 4 |
|
216 | $ MOCKTIME=1000000 hg -y loop 4 | |
235 | \r (no-eol) (esc) |
|
217 | \r (no-eol) (esc) | |
236 | loop [ ] 0/4\r (no-eol) (esc) |
|
218 | loop [ ] 0/4\r (no-eol) (esc) | |
237 | loop [=========> ] 1/4 5w00d\r (no-eol) (esc) |
|
219 | loop [=========> ] 1/4 5w00d\r (no-eol) (esc) | |
238 | loop [====================> ] 2/4 3w03d\r (no-eol) (esc) |
|
220 | loop [====================> ] 2/4 3w03d\r (no-eol) (esc) | |
239 | loop [=============================> ] 3/4 11d14h\r (no-eol) (esc) |
|
221 | loop [=============================> ] 3/4 11d14h\r (no-eol) (esc) | |
240 | \r (no-eol) (esc) |
|
222 | \r (no-eol) (esc) | |
241 |
|
223 | |||
242 |
|
224 | |||
243 | $ MOCKTIME=14000000 hg -y loop 4 |
|
225 | $ MOCKTIME=14000000 hg -y loop 4 | |
244 | \r (no-eol) (esc) |
|
226 | \r (no-eol) (esc) | |
245 | loop [ ] 0/4\r (no-eol) (esc) |
|
227 | loop [ ] 0/4\r (no-eol) (esc) | |
246 | loop [=========> ] 1/4 1y18w\r (no-eol) (esc) |
|
228 | loop [=========> ] 1/4 1y18w\r (no-eol) (esc) | |
247 | loop [===================> ] 2/4 46w03d\r (no-eol) (esc) |
|
229 | loop [===================> ] 2/4 46w03d\r (no-eol) (esc) | |
248 | loop [=============================> ] 3/4 23w02d\r (no-eol) (esc) |
|
230 | loop [=============================> ] 3/4 23w02d\r (no-eol) (esc) | |
249 | \r (no-eol) (esc) |
|
231 | \r (no-eol) (esc) | |
250 |
|
232 | |||
251 | Non-linear progress: |
|
233 | Non-linear progress: | |
252 |
|
234 | |||
253 | $ MOCKTIME='20 20 20 20 20 20 20 20 20 20 500 500 500 500 500 20 20 20 20 20' hg -y loop 20 |
|
235 | $ MOCKTIME='20 20 20 20 20 20 20 20 20 20 500 500 500 500 500 20 20 20 20 20' hg -y loop 20 | |
254 | \r (no-eol) (esc) |
|
236 | \r (no-eol) (esc) | |
255 | loop [=> ] 1/20 6m21s\r (no-eol) (esc) |
|
237 | loop [=> ] 1/20 6m21s\r (no-eol) (esc) | |
256 | loop [===> ] 2/20 6m01s\r (no-eol) (esc) |
|
238 | loop [===> ] 2/20 6m01s\r (no-eol) (esc) | |
257 | loop [=====> ] 3/20 5m41s\r (no-eol) (esc) |
|
239 | loop [=====> ] 3/20 5m41s\r (no-eol) (esc) | |
258 | loop [=======> ] 4/20 5m21s\r (no-eol) (esc) |
|
240 | loop [=======> ] 4/20 5m21s\r (no-eol) (esc) | |
259 | loop [=========> ] 5/20 5m01s\r (no-eol) (esc) |
|
241 | loop [=========> ] 5/20 5m01s\r (no-eol) (esc) | |
260 | loop [===========> ] 6/20 4m41s\r (no-eol) (esc) |
|
242 | loop [===========> ] 6/20 4m41s\r (no-eol) (esc) | |
261 | loop [=============> ] 7/20 4m21s\r (no-eol) (esc) |
|
243 | loop [=============> ] 7/20 4m21s\r (no-eol) (esc) | |
262 | loop [===============> ] 8/20 4m01s\r (no-eol) (esc) |
|
244 | loop [===============> ] 8/20 4m01s\r (no-eol) (esc) | |
263 | loop [================> ] 9/20 25m40s\r (no-eol) (esc) |
|
245 | loop [================> ] 9/20 25m40s\r (no-eol) (esc) | |
264 | loop [===================> ] 10/20 1h06m\r (no-eol) (esc) |
|
246 | loop [===================> ] 10/20 1h06m\r (no-eol) (esc) | |
265 | loop [=====================> ] 11/20 1h13m\r (no-eol) (esc) |
|
247 | loop [=====================> ] 11/20 1h13m\r (no-eol) (esc) | |
266 | loop [=======================> ] 12/20 1h07m\r (no-eol) (esc) |
|
248 | loop [=======================> ] 12/20 1h07m\r (no-eol) (esc) | |
267 | loop [========================> ] 13/20 58m19s\r (no-eol) (esc) |
|
249 | loop [========================> ] 13/20 58m19s\r (no-eol) (esc) | |
268 | loop [===========================> ] 14/20 7m09s\r (no-eol) (esc) |
|
250 | loop [===========================> ] 14/20 7m09s\r (no-eol) (esc) | |
269 | loop [=============================> ] 15/20 3m38s\r (no-eol) (esc) |
|
251 | loop [=============================> ] 15/20 3m38s\r (no-eol) (esc) | |
270 | loop [===============================> ] 16/20 2m15s\r (no-eol) (esc) |
|
252 | loop [===============================> ] 16/20 2m15s\r (no-eol) (esc) | |
271 | loop [=================================> ] 17/20 1m27s\r (no-eol) (esc) |
|
253 | loop [=================================> ] 17/20 1m27s\r (no-eol) (esc) | |
272 | loop [====================================> ] 18/20 52s\r (no-eol) (esc) |
|
254 | loop [====================================> ] 18/20 52s\r (no-eol) (esc) | |
273 | loop [======================================> ] 19/20 25s\r (no-eol) (esc) |
|
255 | loop [======================================> ] 19/20 25s\r (no-eol) (esc) | |
274 | \r (no-eol) (esc) |
|
256 | \r (no-eol) (esc) | |
275 |
|
257 | |||
276 | Time estimates should not fail when there's no end point: |
|
258 | Time estimates should not fail when there's no end point: | |
277 | $ hg -y loop -- -4 |
|
259 | $ MOCKTIME=11 hg -y loop -- -4 | |
278 | \r (no-eol) (esc) |
|
260 | \r (no-eol) (esc) | |
279 | loop [ <=> ] 2\r (no-eol) (esc) |
|
261 | loop [ <=> ] 2\r (no-eol) (esc) | |
280 | loop [ <=> ] 3\r (no-eol) (esc) |
|
262 | loop [ <=> ] 3\r (no-eol) (esc) | |
281 | \r (no-eol) (esc) |
|
263 | \r (no-eol) (esc) | |
282 |
|
264 | |||
283 | #endif |
|
265 | #endif | |
284 |
|
266 | |||
285 | test line trimming by '[progress] width', when progress topic contains |
|
267 | test line trimming by '[progress] width', when progress topic contains | |
286 | multi-byte characters, of which length of byte sequence and columns in |
|
268 | multi-byte characters, of which length of byte sequence and columns in | |
287 | display are different from each other. |
|
269 | display are different from each other. | |
288 |
|
270 | |||
289 | $ cp $HGRCPATH.orig $HGRCPATH |
|
271 | $ cp $HGRCPATH.orig $HGRCPATH | |
290 | $ cat >> $HGRCPATH <<EOF |
|
272 | $ cat >> $HGRCPATH <<EOF | |
291 | > [extensions] |
|
273 | > [extensions] | |
292 | > progress= |
|
274 | > progress= | |
293 | > loop=`pwd`/loop.py |
|
275 | > loop=`pwd`/loop.py | |
294 | > [progress] |
|
276 | > [progress] | |
295 | > assume-tty = 1 |
|
277 | > assume-tty = 1 | |
296 | > delay = 0 |
|
278 | > delay = 0 | |
297 | > refresh = 0 |
|
279 | > refresh = 0 | |
298 | > EOF |
|
280 | > EOF | |
299 |
|
281 | |||
300 | $ rm -f loop.pyc |
|
282 | $ rm -f loop.pyc | |
301 | $ cat >> loop.py <<EOF |
|
283 | $ cat >> loop.py <<EOF | |
302 | > # use non-ascii characters as topic label of progress |
|
284 | > # use non-ascii characters as topic label of progress | |
303 | > # 2 x 4 = 8 columns, but 3 x 4 = 12 bytes |
|
285 | > # 2 x 4 = 8 columns, but 3 x 4 = 12 bytes | |
304 | > topiclabel = u'\u3042\u3044\u3046\u3048'.encode('utf-8') |
|
286 | > topiclabel = u'\u3042\u3044\u3046\u3048'.encode('utf-8') | |
305 | > EOF |
|
287 | > EOF | |
306 |
|
288 | |||
307 | $ cat >> $HGRCPATH <<EOF |
|
289 | $ cat >> $HGRCPATH <<EOF | |
308 | > [progress] |
|
290 | > [progress] | |
309 | > format = topic number |
|
291 | > format = topic number | |
310 | > width= 12 |
|
292 | > width= 12 | |
311 | > EOF |
|
293 | > EOF | |
312 |
|
294 | |||
313 | $ hg --encoding utf-8 -y loop --total 3 3 |
|
295 | $ hg --encoding utf-8 -y loop --total 3 3 | |
314 | \r (no-eol) (esc) |
|
296 | \r (no-eol) (esc) | |
315 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 0/3\r (no-eol) (esc) |
|
297 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 0/3\r (no-eol) (esc) | |
316 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 1/3\r (no-eol) (esc) |
|
298 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 1/3\r (no-eol) (esc) | |
317 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 2/3\r (no-eol) (esc) |
|
299 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 2/3\r (no-eol) (esc) | |
318 | \r (no-eol) (esc) |
|
300 | \r (no-eol) (esc) | |
319 |
|
301 | |||
320 | test calculation of bar width, when progress topic contains multi-byte |
|
302 | test calculation of bar width, when progress topic contains multi-byte | |
321 | characters, of which length of byte sequence and columns in display |
|
303 | characters, of which length of byte sequence and columns in display | |
322 | are different from each other. |
|
304 | are different from each other. | |
323 |
|
305 | |||
324 | $ cat >> $HGRCPATH <<EOF |
|
306 | $ cat >> $HGRCPATH <<EOF | |
325 | > [progress] |
|
307 | > [progress] | |
326 | > format = topic bar |
|
308 | > format = topic bar | |
327 | > width= 21 |
|
309 | > width= 21 | |
328 | > # progwidth should be 9 (= 21 - (8+1) - 3) |
|
310 | > # progwidth should be 9 (= 21 - (8+1) - 3) | |
329 | > EOF |
|
311 | > EOF | |
330 |
|
312 | |||
331 | $ hg --encoding utf-8 -y loop --total 3 3 |
|
313 | $ hg --encoding utf-8 -y loop --total 3 3 | |
332 | \r (no-eol) (esc) |
|
314 | \r (no-eol) (esc) | |
333 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 [ ]\r (no-eol) (esc) |
|
315 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 [ ]\r (no-eol) (esc) | |
334 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 [==> ]\r (no-eol) (esc) |
|
316 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 [==> ]\r (no-eol) (esc) | |
335 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 [=====> ]\r (no-eol) (esc) |
|
317 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 [=====> ]\r (no-eol) (esc) | |
336 | \r (no-eol) (esc) |
|
318 | \r (no-eol) (esc) | |
337 |
|
319 | |||
338 | test trimming progress items, when they contain multi-byte characters, |
|
320 | test trimming progress items, when they contain multi-byte characters, | |
339 | of which length of byte sequence and columns in display are different |
|
321 | of which length of byte sequence and columns in display are different | |
340 | from each other. |
|
322 | from each other. | |
341 |
|
323 | |||
342 | $ rm -f loop.pyc |
|
324 | $ rm -f loop.pyc | |
343 | $ rm -Rf __pycache__ |
|
325 | $ rm -Rf __pycache__ | |
344 | $ cat >> loop.py <<EOF |
|
326 | $ cat >> loop.py <<EOF | |
345 | > # use non-ascii characters as loop items of progress |
|
327 | > # use non-ascii characters as loop items of progress | |
346 | > loopitems = [ |
|
328 | > loopitems = [ | |
347 | > u'\u3042\u3044'.encode('utf-8'), # 2 x 2 = 4 columns |
|
329 | > u'\u3042\u3044'.encode('utf-8'), # 2 x 2 = 4 columns | |
348 | > u'\u3042\u3044\u3046'.encode('utf-8'), # 2 x 3 = 6 columns |
|
330 | > u'\u3042\u3044\u3046'.encode('utf-8'), # 2 x 3 = 6 columns | |
349 | > u'\u3042\u3044\u3046\u3048'.encode('utf-8'), # 2 x 4 = 8 columns |
|
331 | > u'\u3042\u3044\u3046\u3048'.encode('utf-8'), # 2 x 4 = 8 columns | |
350 | > ] |
|
332 | > ] | |
351 | > def getloopitem(i): |
|
333 | > def getloopitem(i): | |
352 | > return loopitems[i % len(loopitems)] |
|
334 | > return loopitems[i % len(loopitems)] | |
353 | > EOF |
|
335 | > EOF | |
354 |
|
336 | |||
355 | $ cat >> $HGRCPATH <<EOF |
|
337 | $ cat >> $HGRCPATH <<EOF | |
356 | > [progress] |
|
338 | > [progress] | |
357 | > # trim at tail side |
|
339 | > # trim at tail side | |
358 | > format = item+6 |
|
340 | > format = item+6 | |
359 | > EOF |
|
341 | > EOF | |
360 |
|
342 | |||
361 | $ hg --encoding utf-8 -y loop --total 3 3 |
|
343 | $ hg --encoding utf-8 -y loop --total 3 3 | |
362 | \r (no-eol) (esc) |
|
344 | \r (no-eol) (esc) | |
363 | \xe3\x81\x82\xe3\x81\x84 \r (no-eol) (esc) |
|
345 | \xe3\x81\x82\xe3\x81\x84 \r (no-eol) (esc) | |
364 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\r (no-eol) (esc) |
|
346 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\r (no-eol) (esc) | |
365 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\r (no-eol) (esc) |
|
347 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\r (no-eol) (esc) | |
366 | \r (no-eol) (esc) |
|
348 | \r (no-eol) (esc) | |
367 |
|
349 | |||
368 | $ cat >> $HGRCPATH <<EOF |
|
350 | $ cat >> $HGRCPATH <<EOF | |
369 | > [progress] |
|
351 | > [progress] | |
370 | > # trim at left side |
|
352 | > # trim at left side | |
371 | > format = item-6 |
|
353 | > format = item-6 | |
372 | > EOF |
|
354 | > EOF | |
373 |
|
355 | |||
374 | $ hg --encoding utf-8 -y loop --total 3 3 |
|
356 | $ hg --encoding utf-8 -y loop --total 3 3 | |
375 | \r (no-eol) (esc) |
|
357 | \r (no-eol) (esc) | |
376 | \xe3\x81\x82\xe3\x81\x84 \r (no-eol) (esc) |
|
358 | \xe3\x81\x82\xe3\x81\x84 \r (no-eol) (esc) | |
377 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\r (no-eol) (esc) |
|
359 | \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\r (no-eol) (esc) | |
378 | \xe3\x81\x84\xe3\x81\x86\xe3\x81\x88\r (no-eol) (esc) |
|
360 | \xe3\x81\x84\xe3\x81\x86\xe3\x81\x88\r (no-eol) (esc) | |
379 | \r (no-eol) (esc) |
|
361 | \r (no-eol) (esc) |
General Comments 0
You need to be logged in to leave comments.
Login now