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