--- a/tests/test-encoding-align.t Sat Oct 02 22:57:25 2010 +0900
+++ b/tests/test-encoding-align.t Sat Oct 02 22:59:29 2010 +0900
@@ -52,9 +52,9 @@
options:
- -s --opt1 短名 short width
+ -s --opt1 \xe7\x9f\xad\xe5\x90\x8d short width
-m --opt2 MIDDLE_ middle width
- -l --opt3 長い長い名前 long width
+ -l --opt3 \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d long width
use "hg -v help showoptlist" to show global options
@@ -96,42 +96,42 @@
check alignment of user names in annotate
$ hg annotate -u $M
- 短名: first line(2)
+ \xe7\x9f\xad\xe5\x90\x8d: first line(2)
MIDDLE_: second line(2)
- 長い長い名前: third line(2)
+ \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d: third line(2)
check alignment of filenames in diffstat
$ hg diff -c tip --stat
MIDDLE_ | 1 +
- 短名 | 1 +
- 長い長い名前 | 1 +
+ \xe7\x9f\xad\xe5\x90\x8d | 1 +
+ \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
add branches/tags
$ hg branch $S
- marked working directory as branch 短名
+ marked working directory as branch \xe7\x9f\xad\xe5\x90\x8d
$ hg tag $S
$ hg branch $M
marked working directory as branch MIDDLE_
$ hg tag $M
$ hg branch $L
- marked working directory as branch 長い長い名前
+ marked working directory as branch \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d
$ hg tag $L
check alignment of branches
$ hg tags
tip 5:d745ff46155b
- 長い長い名前 4:9259be597f19
+ \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d 4:9259be597f19
MIDDLE_ 3:b06c5b6def9e
- 短名 2:64a70663cee8
+ \xe7\x9f\xad\xe5\x90\x8d 2:64a70663cee8
check alignment of tags
$ hg tags
tip 5:d745ff46155b
- 長い長い名前 4:9259be597f19
+ \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d 4:9259be597f19
MIDDLE_ 3:b06c5b6def9e
- 短名 2:64a70663cee8
+ \xe7\x9f\xad\xe5\x90\x8d 2:64a70663cee8