tests/test-encoding.out
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 08 Dec 2006 07:48:47 +0100
changeset 3826 ed5a9b27bedc
parent 3824 3674ca805a5b
child 3835 d1ce5461beed
permissions -rw-r--r--
merge with main
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3779
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     1
adding changesets
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     2
adding manifests
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     3
adding file changes
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     4
added 1 changesets with 1 changes to 1 files
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     5
(run 'hg update' to get a working copy)
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     6
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     7
% should fail with encoding error
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     8
M a
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
     9
? latin-1
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    10
? latin-1-tag
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    11
? utf-8
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    12
abort: decoding near ' encoded: é': 'ascii' codec can't decode byte 0xe9 in position 20: ordinal not in range(128)!
3779
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    13
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    14
transaction abort!
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    15
rollback completed
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    16
% these should work
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    17
% ascii
3824
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    18
changeset:   4:d8a5d9eaf41e
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    19
branch:      ?
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    20
tag:         tip
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    21
user:        test
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    22
date:        Thu Jan 01 00:00:00 1970 +0000
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    23
summary:     latin1 branch
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    24
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    25
changeset:   3:5edfc7acb541
3779
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    26
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    27
date:        Thu Jan 01 00:00:00 1970 +0000
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    28
summary:     Added tag ? for changeset 91878608adb3
3779
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    29
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    30
changeset:   2:91878608adb3
3779
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    31
tag:         ?
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    32
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    33
date:        Thu Jan 01 00:00:00 1970 +0000
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    34
summary:     utf-8 e' encoded: ?
3779
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    35
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    36
changeset:   1:6355cacf842e
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    37
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    38
date:        Thu Jan 01 00:00:00 1970 +0000
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    39
summary:     latin-1 e' encoded: ?
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    40
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    41
changeset:   0:60aad1dd20a9
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    42
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    43
date:        Thu Jan 01 00:00:00 1970 +0000
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    44
summary:     latin-1 e': ?
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    45
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    46
% latin-1
3824
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    47
changeset:   4:d8a5d9eaf41e
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    48
branch:      é
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    49
tag:         tip
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    50
user:        test
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    51
date:        Thu Jan 01 00:00:00 1970 +0000
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    52
summary:     latin1 branch
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    53
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    54
changeset:   3:5edfc7acb541
3779
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    55
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    56
date:        Thu Jan 01 00:00:00 1970 +0000
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    57
summary:     Added tag é for changeset 91878608adb3
3779
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    58
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    59
changeset:   2:91878608adb3
3779
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    60
tag:         é
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    61
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    62
date:        Thu Jan 01 00:00:00 1970 +0000
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    63
summary:     utf-8 e' encoded: é
3779
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    64
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    65
changeset:   1:6355cacf842e
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    66
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    67
date:        Thu Jan 01 00:00:00 1970 +0000
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    68
summary:     latin-1 e' encoded: é
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    69
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    70
changeset:   0:60aad1dd20a9
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    71
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    72
date:        Thu Jan 01 00:00:00 1970 +0000
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    73
summary:     latin-1 e': é
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    74
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    75
% utf-8
3824
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    76
changeset:   4:d8a5d9eaf41e
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    77
branch:      é
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    78
tag:         tip
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    79
user:        test
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    80
date:        Thu Jan 01 00:00:00 1970 +0000
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    81
summary:     latin1 branch
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
    82
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    83
changeset:   3:5edfc7acb541
3779
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    84
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    85
date:        Thu Jan 01 00:00:00 1970 +0000
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    86
summary:     Added tag é for changeset 91878608adb3
3779
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    87
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    88
changeset:   2:91878608adb3
3779
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    89
tag:         é
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    90
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    91
date:        Thu Jan 01 00:00:00 1970 +0000
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
    92
summary:     utf-8 e' encoded: é
3779
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    93
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    94
changeset:   1:6355cacf842e
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    95
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    96
date:        Thu Jan 01 00:00:00 1970 +0000
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    97
summary:     latin-1 e' encoded: é
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    98
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    99
changeset:   0:60aad1dd20a9
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   100
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   101
date:        Thu Jan 01 00:00:00 1970 +0000
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   102
summary:     latin-1 e': é
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   103
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
   104
% ascii
3824
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
   105
tip                                4:d8a5d9eaf41e
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
   106
?                                  2:91878608adb3
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
   107
% latin-1
3824
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
   108
tip                                4:d8a5d9eaf41e
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
   109
é                                  2:91878608adb3
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
   110
% utf-8
3824
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
   111
tip                                4:d8a5d9eaf41e
3784
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3781
diff changeset
   112
é                                  2:91878608adb3
3824
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
   113
% ascii
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
   114
?                              4:d8a5d9eaf41e
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
   115
% latin-1
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
   116
é                              4:d8a5d9eaf41e
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
   117
% utf-8
3674ca805a5b log: convert branch names to the local encoding
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3784
diff changeset
   118
é                              4:d8a5d9eaf41e