Mercurial > hg
annotate tests/test-notify.t @ 13512:0a6bca3d5273 stable
i18n-pt_BR: synchronized with 9b617c56eb65
author | Wagner Bruna <wbruna@yahoo.com> |
---|---|
date | Tue, 01 Mar 2011 01:00:35 -0300 |
parents | 1e497df514e2 |
children | 301725c3df9a |
rev | line source |
---|---|
3740
aef384dbc731
add test for the notify extension
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
1 |
12473 | 2 $ cat <<EOF >> $HGRCPATH |
3 > [extensions] | |
4 > notify= | |
5 > | |
6 > [hooks] | |
7 > incoming.notify = python:hgext.notify.hook | |
8 > | |
9 > [notify] | |
10 > sources = pull | |
11 > diffstat = False | |
12 > | |
13 > [usersubs] | |
14 > foo@bar = * | |
15 > | |
16 > [reposubs] | |
17 > * = baz | |
18 > EOF | |
19 $ hg help notify | |
20 notify extension - hooks for sending email notifications at commit/push time | |
21 | |
22 Subscriptions can be managed through a hgrc file. Default mode is to print | |
23 messages to stdout, for testing and configuring. | |
24 | |
25 To use, configure the notify extension and enable it in hgrc like this: | |
26 | |
27 [extensions] | |
28 notify = | |
29 | |
30 [hooks] | |
31 # one email for each incoming changeset | |
32 incoming.notify = python:hgext.notify.hook | |
33 # batch emails when many changesets incoming at one time | |
34 changegroup.notify = python:hgext.notify.hook | |
35 | |
36 [notify] | |
37 # config items go here | |
38 | |
39 Required configuration items: | |
40 | |
41 config = /path/to/file # file containing subscriptions | |
42 | |
43 Optional configuration items: | |
44 | |
45 test = True # print messages to stdout for testing | |
46 strip = 3 # number of slashes to strip for url paths | |
47 domain = example.com # domain to use if committer missing domain | |
48 style = ... # style file to use when formatting email | |
49 template = ... # template to use when formatting email | |
50 incoming = ... # template to use when run as incoming hook | |
51 changegroup = ... # template when run as changegroup hook | |
52 maxdiff = 300 # max lines of diffs to include (0=none, -1=all) | |
53 maxsubject = 67 # truncate subject line longer than this | |
54 diffstat = True # add a diffstat before the diff content | |
55 sources = serve # notify if source of incoming changes in this list | |
56 # (serve == ssh or http, push, pull, bundle) | |
57 merge = False # send notification for merges (default True) | |
58 [email] | |
59 from = user@host.com # email address to send as if none given | |
60 [web] | |
61 baseurl = http://hgserver/... # root of hg web site for browsing commits | |
62 | |
63 The notify config file has same format as a regular hgrc file. It has two | |
64 sections so you can express subscriptions in whatever way is handier for you. | |
65 | |
66 [usersubs] | |
67 # key is subscriber email, value is ","-separated list of glob patterns | |
68 user@host = pattern | |
69 | |
70 [reposubs] | |
71 # key is glob pattern, value is ","-separated list of subscriber emails | |
72 pattern = user@host | |
73 | |
74 Glob patterns are matched against path to repository root. | |
75 | |
76 If you like, you can put notify config file in repository that users can push | |
77 changes to, they can manage their own subscriptions. | |
78 | |
79 no commands defined | |
80 $ hg init a | |
81 $ echo a > a/a | |
3740
aef384dbc731
add test for the notify extension
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
82 |
12473 | 83 commit |
84 | |
85 $ hg --cwd a commit -Ama -d '0 0' | |
86 adding a | |
87 | |
88 | |
89 clone | |
90 | |
91 $ hg --traceback clone a b | |
92 updating to branch default | |
93 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
94 $ echo a >> a/a | |
95 | |
96 commit | |
97 | |
98 $ hg --traceback --cwd a commit -Amb -d '1 0' | |
99 | |
100 on Mac OS X 10.5 the tmp path is very long so would get stripped in the subject line | |
101 | |
102 $ cat <<EOF >> $HGRCPATH | |
103 > [notify] | |
104 > maxsubject = 200 | |
105 > EOF | |
106 | |
107 the python call below wraps continuation lines, which appear on Mac OS X 10.5 because | |
108 of the very long subject line | |
109 pull (minimal config) | |
6359
25e74cd3f023
test-notify: make it pass on Mac OS X 10.5
Florent Guillaume <fg@nuxeo.com>
parents:
4517
diff
changeset
|
110 |
12473 | 111 $ hg --traceback --cwd b pull ../a | \ |
12646
624859bf4314
test-notify: fix fix for line continuation in long mail header lines
Mads Kiilerich <mads@kiilerich.com>
parents:
12644
diff
changeset
|
112 > python -c 'import sys,re; print re.sub("\n[\t ]", " ", sys.stdin.read()),' |
12473 | 113 pulling from ../a |
114 searching for changes | |
115 adding changesets | |
116 adding manifests | |
117 adding file changes | |
118 added 1 changesets with 1 changes to 1 files | |
119 Content-Type: text/plain; charset="us-ascii" | |
120 MIME-Version: 1.0 | |
121 Content-Transfer-Encoding: 7bit | |
122 Date: * (glob) | |
12640
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12473
diff
changeset
|
123 Subject: changeset in $TESTTMP/b: b |
12473 | 124 From: test |
125 X-Hg-Notification: changeset 0647d048b600 | |
126 Message-Id: <*> (glob) | |
127 To: baz, foo@bar | |
128 | |
12640
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12473
diff
changeset
|
129 changeset 0647d048b600 in $TESTTMP/b |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12473
diff
changeset
|
130 details: $TESTTMP/b?cmd=changeset;node=0647d048b600 |
12473 | 131 description: b |
132 | |
133 diffs (6 lines): | |
134 | |
135 diff -r cb9a9f314b8b -r 0647d048b600 a | |
136 --- a/a Thu Jan 01 00:00:00 1970 +0000 | |
137 +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
12646
624859bf4314
test-notify: fix fix for line continuation in long mail header lines
Mads Kiilerich <mads@kiilerich.com>
parents:
12644
diff
changeset
|
138 @@ -1,1 +1,2 @@ a |
12473 | 139 +a |
140 (run 'hg update' to get a working copy) | |
141 $ cat <<EOF >> $HGRCPATH | |
142 > [notify] | |
12642
bb35840e965c
tests: remove the last traces of $HGTMP
Mads Kiilerich <mads@kiilerich.com>
parents:
12640
diff
changeset
|
143 > config = `pwd`/.notify.conf |
12473 | 144 > domain = test.com |
12644
0490d2223882
test-notify: stabilize output
Mads Kiilerich <mads@kiilerich.com>
parents:
12642
diff
changeset
|
145 > strip = 42 |
12473 | 146 > template = Subject: {desc|firstline|strip}\nFrom: {author}\nX-Test: foo\n\nchangeset {node|short} in {webroot}\ndescription:\n\t{desc|tabindent|strip} |
147 > | |
148 > [web] | |
149 > baseurl = http://test/ | |
150 > EOF | |
4094
fbf0e9acfd83
notify: don't try to fix addresses if notify.domain is not set
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
4009
diff
changeset
|
151 |
12473 | 152 fail for config file is missing |
4094
fbf0e9acfd83
notify: don't try to fix addresses if notify.domain is not set
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
4009
diff
changeset
|
153 |
12473 | 154 $ hg --cwd b rollback |
13446
1e497df514e2
rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents:
13225
diff
changeset
|
155 repository tip rolled back to revision 0 (undo pull) |
1e497df514e2
rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents:
13225
diff
changeset
|
156 working directory now based on revision 0 |
12473 | 157 $ hg --cwd b pull ../a 2>&1 | grep 'error.*\.notify\.conf' > /dev/null && echo pull failed |
158 pull failed | |
12642
bb35840e965c
tests: remove the last traces of $HGTMP
Mads Kiilerich <mads@kiilerich.com>
parents:
12640
diff
changeset
|
159 $ touch ".notify.conf" |
12473 | 160 |
161 pull | |
4094
fbf0e9acfd83
notify: don't try to fix addresses if notify.domain is not set
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
4009
diff
changeset
|
162 |
12473 | 163 $ hg --cwd b rollback |
13446
1e497df514e2
rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents:
13225
diff
changeset
|
164 repository tip rolled back to revision 0 (undo pull) |
1e497df514e2
rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents:
13225
diff
changeset
|
165 working directory now based on revision 0 |
12473 | 166 $ hg --traceback --cwd b pull ../a | \ |
167 > python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' | |
168 pulling from ../a | |
169 searching for changes | |
170 adding changesets | |
171 adding manifests | |
172 adding file changes | |
173 added 1 changesets with 1 changes to 1 files | |
174 Content-Type: text/plain; charset="us-ascii" | |
175 MIME-Version: 1.0 | |
176 Content-Transfer-Encoding: 7bit | |
177 X-Test: foo | |
178 Date: * (glob) | |
179 Subject: b | |
180 From: test@test.com | |
181 X-Hg-Notification: changeset 0647d048b600 | |
182 Message-Id: <*> (glob) | |
183 To: baz@test.com, foo@bar | |
184 | |
12644
0490d2223882
test-notify: stabilize output
Mads Kiilerich <mads@kiilerich.com>
parents:
12642
diff
changeset
|
185 changeset 0647d048b600 in b |
12473 | 186 description: b |
187 diffs (6 lines): | |
188 | |
189 diff -r cb9a9f314b8b -r 0647d048b600 a | |
190 --- a/a Thu Jan 01 00:00:00 1970 +0000 | |
191 +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
192 @@ -1,1 +1,2 @@ | |
193 a | |
194 +a | |
195 (run 'hg update' to get a working copy) | |
4517
5371a213b0f4
ui: make readsections() abort when configuration cannot be read.
Patrick Mezard <pmezard@gmail.com>
parents:
4479
diff
changeset
|
196 |
12473 | 197 $ cat << EOF >> $HGRCPATH |
198 > [hooks] | |
199 > incoming.notify = python:hgext.notify.hook | |
200 > | |
201 > [notify] | |
202 > sources = pull | |
203 > diffstat = True | |
204 > EOF | |
205 | |
206 pull | |
4094
fbf0e9acfd83
notify: don't try to fix addresses if notify.domain is not set
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
4009
diff
changeset
|
207 |
12473 | 208 $ hg --cwd b rollback |
13446
1e497df514e2
rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents:
13225
diff
changeset
|
209 repository tip rolled back to revision 0 (undo pull) |
1e497df514e2
rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents:
13225
diff
changeset
|
210 working directory now based on revision 0 |
12473 | 211 $ hg --traceback --cwd b pull ../a | \ |
212 > python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' | |
213 pulling from ../a | |
214 searching for changes | |
215 adding changesets | |
216 adding manifests | |
217 adding file changes | |
218 added 1 changesets with 1 changes to 1 files | |
219 Content-Type: text/plain; charset="us-ascii" | |
220 MIME-Version: 1.0 | |
221 Content-Transfer-Encoding: 7bit | |
222 X-Test: foo | |
223 Date: * (glob) | |
224 Subject: b | |
225 From: test@test.com | |
226 X-Hg-Notification: changeset 0647d048b600 | |
227 Message-Id: <*> (glob) | |
228 To: baz@test.com, foo@bar | |
229 | |
12644
0490d2223882
test-notify: stabilize output
Mads Kiilerich <mads@kiilerich.com>
parents:
12642
diff
changeset
|
230 changeset 0647d048b600 in b |
12473 | 231 description: b |
232 diffstat: | |
233 | |
234 a | 1 + | |
235 1 files changed, 1 insertions(+), 0 deletions(-) | |
236 | |
237 diffs (6 lines): | |
238 | |
239 diff -r cb9a9f314b8b -r 0647d048b600 a | |
240 --- a/a Thu Jan 01 00:00:00 1970 +0000 | |
241 +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |
242 @@ -1,1 +1,2 @@ | |
243 a | |
244 +a | |
245 (run 'hg update' to get a working copy) | |
7105
31837416ef4d
tests: add some testing for patch.diffstat()
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6359
diff
changeset
|
246 |
12473 | 247 test merge |
7105
31837416ef4d
tests: add some testing for patch.diffstat()
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6359
diff
changeset
|
248 |
12473 | 249 $ cd a |
250 $ hg up -C 0 | |
251 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
252 $ echo a >> a | |
253 $ hg ci -Am adda2 -d '2 0' | |
254 created new head | |
255 $ hg merge | |
256 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
257 (branch merge, don't forget to commit) | |
258 $ hg ci -m merge -d '3 0' | |
259 $ cd .. | |
260 $ hg --traceback --cwd b pull ../a | \ | |
261 > python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' | |
262 pulling from ../a | |
263 searching for changes | |
264 adding changesets | |
265 adding manifests | |
266 adding file changes | |
267 added 2 changesets with 0 changes to 0 files | |
268 Content-Type: text/plain; charset="us-ascii" | |
269 MIME-Version: 1.0 | |
270 Content-Transfer-Encoding: 7bit | |
271 X-Test: foo | |
272 Date: * (glob) | |
273 Subject: adda2 | |
274 From: test@test.com | |
275 X-Hg-Notification: changeset 0a184ce6067f | |
276 Message-Id: <*> (glob) | |
277 To: baz@test.com, foo@bar | |
278 | |
12644
0490d2223882
test-notify: stabilize output
Mads Kiilerich <mads@kiilerich.com>
parents:
12642
diff
changeset
|
279 changeset 0a184ce6067f in b |
12473 | 280 description: adda2 |
281 diffstat: | |
282 | |
283 a | 1 + | |
284 1 files changed, 1 insertions(+), 0 deletions(-) | |
285 | |
286 diffs (6 lines): | |
287 | |
288 diff -r cb9a9f314b8b -r 0a184ce6067f a | |
289 --- a/a Thu Jan 01 00:00:00 1970 +0000 | |
290 +++ b/a Thu Jan 01 00:00:02 1970 +0000 | |
291 @@ -1,1 +1,2 @@ | |
292 a | |
293 +a | |
294 Content-Type: text/plain; charset="us-ascii" | |
295 MIME-Version: 1.0 | |
296 Content-Transfer-Encoding: 7bit | |
297 X-Test: foo | |
298 Date: * (glob) | |
299 Subject: merge | |
300 From: test@test.com | |
301 X-Hg-Notification: changeset 22c88b85aa27 | |
302 Message-Id: <*> (glob) | |
303 To: baz@test.com, foo@bar | |
304 | |
12644
0490d2223882
test-notify: stabilize output
Mads Kiilerich <mads@kiilerich.com>
parents:
12642
diff
changeset
|
305 changeset 22c88b85aa27 in b |
12473 | 306 description: merge |
307 (run 'hg update' to get a working copy) | |
13225
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
308 |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
309 truncate multi-byte subject |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
310 |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
311 $ cat <<EOF >> $HGRCPATH |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
312 > [notify] |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
313 > maxsubject = 4 |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
314 > EOF |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
315 $ echo a >> a/a |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
316 $ hg --cwd a --encoding utf-8 commit -A -d '0 0' \ |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
317 > -m `python -c 'print "\xc3\xa0\xc3\xa1\xc3\xa2\xc3\xa3\xc3\xa4"'` |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
318 $ hg --traceback --cwd b --encoding utf-8 pull ../a | \ |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
319 > python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
320 pulling from ../a |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
321 searching for changes |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
322 adding changesets |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
323 adding manifests |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
324 adding file changes |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
325 added 1 changesets with 1 changes to 1 files |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
326 Content-Type: text/plain; charset="us-ascii" |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
327 MIME-Version: 1.0 |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
328 Content-Transfer-Encoding: 8bit |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
329 X-Test: foo |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
330 Date: * (glob) |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
331 Subject: \xc3\xa0... (esc) |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
332 From: test@test.com |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
333 X-Hg-Notification: changeset 4a47f01c1356 |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
334 Message-Id: <*> (glob) |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
335 To: baz@test.com, foo@bar |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
336 |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
337 changeset 4a47f01c1356 in b |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
338 description: \xc3\xa0\xc3\xa1\xc3\xa2\xc3\xa3\xc3\xa4 (esc) |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
339 diffstat: |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
340 |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
341 a | 1 + |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
342 1 files changed, 1 insertions(+), 0 deletions(-) |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
343 |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
344 diffs (7 lines): |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
345 |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
346 diff -r 22c88b85aa27 -r 4a47f01c1356 a |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
347 --- a/a Thu Jan 01 00:00:03 1970 +0000 |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
348 +++ b/a Thu Jan 01 00:00:00 1970 +0000 |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
349 @@ -1,2 +1,3 @@ |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
350 a |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
351 a |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
352 +a |
e3bf16703e26
util: fix ellipsis() not to break multi-byte sequence (issue2564)
Yuya Nishihara <yuya@tcha.org>
parents:
12646
diff
changeset
|
353 (run 'hg update' to get a working copy) |