tests/test-encoding.out
author Matt Mackall <mpm@selenic.com>
Tue, 05 Dec 2006 16:06:13 -0600
changeset 3795 17a11f4ff260
parent 3783 4421cef5d3f0
child 3827 3674ca805a5b
permissions -rw-r--r--
Add basic support for help topics and a dates topic
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3778
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
3783
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
     9
? latin-1
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    10
? latin-1-tag
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    11
? utf-8
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    12
abort: decoding near ' encoded: é': 'ascii' codec can't decode byte 0xe9 in position 20: ordinal not in range(128)!
3778
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
3783
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    17
% ascii
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    18
changeset:   3:5edfc7acb541
3778
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    19
tag:         tip
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    20
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    21
date:        Thu Jan 01 00:00:00 1970 +0000
3783
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    22
summary:     Added tag ? for changeset 91878608adb3
3778
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    23
3783
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    24
changeset:   2:91878608adb3
3778
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    25
tag:         ?
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
3783
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    28
summary:     utf-8 e' encoded: ?
3778
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    29
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    30
changeset:   1:6355cacf842e
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    31
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    32
date:        Thu Jan 01 00:00:00 1970 +0000
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    33
summary:     latin-1 e' encoded: ?
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    34
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    35
changeset:   0:60aad1dd20a9
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    36
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    37
date:        Thu Jan 01 00:00:00 1970 +0000
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    38
summary:     latin-1 e': ?
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    39
3783
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    40
% latin-1
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    41
changeset:   3:5edfc7acb541
3778
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    42
tag:         tip
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    43
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    44
date:        Thu Jan 01 00:00:00 1970 +0000
3783
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    45
summary:     Added tag é for changeset 91878608adb3
3778
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    46
3783
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    47
changeset:   2:91878608adb3
3778
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    48
tag:         é
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    49
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    50
date:        Thu Jan 01 00:00:00 1970 +0000
3783
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    51
summary:     utf-8 e' encoded: é
3778
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    52
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    53
changeset:   1:6355cacf842e
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    54
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    55
date:        Thu Jan 01 00:00:00 1970 +0000
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    56
summary:     latin-1 e' encoded: é
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    57
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    58
changeset:   0:60aad1dd20a9
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    59
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    60
date:        Thu Jan 01 00:00:00 1970 +0000
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    61
summary:     latin-1 e': é
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    62
3783
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    63
% utf-8
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    64
changeset:   3:5edfc7acb541
3778
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    65
tag:         tip
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
3783
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    68
summary:     Added tag é for changeset 91878608adb3
3778
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    69
3783
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    70
changeset:   2:91878608adb3
3778
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    71
tag:         é
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    72
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    73
date:        Thu Jan 01 00:00:00 1970 +0000
3783
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    74
summary:     utf-8 e' encoded: é
3778
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    75
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    76
changeset:   1:6355cacf842e
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    77
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    78
date:        Thu Jan 01 00:00:00 1970 +0000
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    79
summary:     latin-1 e' encoded: é
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    80
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    81
changeset:   0:60aad1dd20a9
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    82
user:        test
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    83
date:        Thu Jan 01 00:00:00 1970 +0000
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    84
summary:     latin-1 e': é
b4cc5d221dc6 Add output for encoding test
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    85
3783
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    86
% ascii
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    87
tip                                3:5edfc7acb541
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    88
?                                  2:91878608adb3
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    89
% latin-1
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    90
tip                                3:5edfc7acb541
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    91
é                                  2:91878608adb3
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    92
% utf-8
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    93
tip                                3:5edfc7acb541
4421cef5d3f0 Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents: 3780
diff changeset
    94
é                                  2:91878608adb3