tests/test-encoding-align.t
changeset 12722 22f45e53bb21
parent 12418 09c6dd129f82
child 12941 b911cb80c671
equal deleted inserted replaced
12721:d4e21a9de8bc 12722:22f45e53bb21
    50   
    50   
    51   dummy command to show option descriptions
    51   dummy command to show option descriptions
    52   
    52   
    53   options:
    53   options:
    54   
    54   
    55    -s --opt1 短名          short width
    55    -s --opt1 \xe7\x9f\xad\xe5\x90\x8d          short width
    56    -m --opt2 MIDDLE_       middle width
    56    -m --opt2 MIDDLE_       middle width
    57    -l --opt3 長い長い名前  long width
    57    -l --opt3 \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d  long width
    58   
    58   
    59   use "hg -v help showoptlist" to show global options
    59   use "hg -v help showoptlist" to show global options
    60 
    60 
    61 
    61 
    62   $ rm -f s; touch s
    62   $ rm -f s; touch s
    94   $ hg commit -m 'third commit' -u $L
    94   $ hg commit -m 'third commit' -u $L
    95 
    95 
    96 check alignment of user names in annotate
    96 check alignment of user names in annotate
    97 
    97 
    98   $ hg annotate -u $M
    98   $ hg annotate -u $M
    99           短名: first line(2)
    99           \xe7\x9f\xad\xe5\x90\x8d: first line(2)
   100        MIDDLE_: second line(2)
   100        MIDDLE_: second line(2)
   101   長い長い名前: third line(2)
   101   \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d: third line(2)
   102 
   102 
   103 check alignment of filenames in diffstat
   103 check alignment of filenames in diffstat
   104 
   104 
   105   $ hg diff -c tip --stat
   105   $ hg diff -c tip --stat
   106    MIDDLE_      |  1 +
   106    MIDDLE_      |  1 +
   107    短名         |  1 +
   107    \xe7\x9f\xad\xe5\x90\x8d         |  1 +
   108    長い長い名前 |  1 +
   108    \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d |  1 +
   109    3 files changed, 3 insertions(+), 0 deletions(-)
   109    3 files changed, 3 insertions(+), 0 deletions(-)
   110 
   110 
   111 add branches/tags
   111 add branches/tags
   112 
   112 
   113   $ hg branch $S
   113   $ hg branch $S
   114   marked working directory as branch 短名
   114   marked working directory as branch \xe7\x9f\xad\xe5\x90\x8d
   115   $ hg tag $S
   115   $ hg tag $S
   116   $ hg branch $M
   116   $ hg branch $M
   117   marked working directory as branch MIDDLE_
   117   marked working directory as branch MIDDLE_
   118   $ hg tag $M
   118   $ hg tag $M
   119   $ hg branch $L
   119   $ hg branch $L
   120   marked working directory as branch 長い長い名前
   120   marked working directory as branch \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d
   121   $ hg tag $L
   121   $ hg tag $L
   122 
   122 
   123 check alignment of branches
   123 check alignment of branches
   124 
   124 
   125   $ hg tags
   125   $ hg tags
   126   tip                                5:d745ff46155b
   126   tip                                5:d745ff46155b
   127   長い長い名前                       4:9259be597f19
   127   \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d                       4:9259be597f19
   128   MIDDLE_                            3:b06c5b6def9e
   128   MIDDLE_                            3:b06c5b6def9e
   129   短名                               2:64a70663cee8
   129   \xe7\x9f\xad\xe5\x90\x8d                               2:64a70663cee8
   130 
   130 
   131 check alignment of tags
   131 check alignment of tags
   132 
   132 
   133   $ hg tags
   133   $ hg tags
   134   tip                                5:d745ff46155b
   134   tip                                5:d745ff46155b
   135   長い長い名前                       4:9259be597f19
   135   \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d                       4:9259be597f19
   136   MIDDLE_                            3:b06c5b6def9e
   136   MIDDLE_                            3:b06c5b6def9e
   137   短名                               2:64a70663cee8
   137   \xe7\x9f\xad\xe5\x90\x8d                               2:64a70663cee8