Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-encoding.out @ 3785:1427949b8f80
imported patch folding
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 04 Dec 2006 17:10:29 -0600 |
parents | 4421cef5d3f0 |
children | 3674ca805a5b |
rev | line source |
---|---|
3779 | 1 adding changesets |
2 adding manifests | |
3 adding file changes | |
4 added 1 changesets with 1 changes to 1 files | |
5 (run 'hg update' to get a working copy) | |
6 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
7 % should fail with encoding error | |
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 | 13 |
14 transaction abort! | |
15 rollback completed | |
16 % these should work | |
3784
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
17 % ascii |
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
18 changeset: 3:5edfc7acb541 |
3779 | 19 tag: tip |
20 user: test | |
21 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
|
22 summary: Added tag ? for changeset 91878608adb3 |
3779 | 23 |
3784
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
24 changeset: 2:91878608adb3 |
3779 | 25 tag: ? |
26 user: test | |
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: utf-8 e' encoded: ? |
3779 | 29 |
30 changeset: 1:6355cacf842e | |
31 user: test | |
32 date: Thu Jan 01 00:00:00 1970 +0000 | |
33 summary: latin-1 e' encoded: ? | |
34 | |
35 changeset: 0:60aad1dd20a9 | |
36 user: test | |
37 date: Thu Jan 01 00:00:00 1970 +0000 | |
38 summary: latin-1 e': ? | |
39 | |
3784
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
40 % latin-1 |
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
41 changeset: 3:5edfc7acb541 |
3779 | 42 tag: tip |
43 user: test | |
44 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
|
45 summary: Added tag é for changeset 91878608adb3 |
3779 | 46 |
3784
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
47 changeset: 2:91878608adb3 |
3779 | 48 tag: é |
49 user: test | |
50 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
|
51 summary: utf-8 e' encoded: é |
3779 | 52 |
53 changeset: 1:6355cacf842e | |
54 user: test | |
55 date: Thu Jan 01 00:00:00 1970 +0000 | |
56 summary: latin-1 e' encoded: é | |
57 | |
58 changeset: 0:60aad1dd20a9 | |
59 user: test | |
60 date: Thu Jan 01 00:00:00 1970 +0000 | |
61 summary: latin-1 e': é | |
62 | |
3784
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
63 % utf-8 |
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
64 changeset: 3:5edfc7acb541 |
3779 | 65 tag: tip |
66 user: test | |
67 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
|
68 summary: Added tag é for changeset 91878608adb3 |
3779 | 69 |
3784
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
70 changeset: 2:91878608adb3 |
3779 | 71 tag: é |
72 user: test | |
73 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
|
74 summary: utf-8 e' encoded: é |
3779 | 75 |
76 changeset: 1:6355cacf842e | |
77 user: test | |
78 date: Thu Jan 01 00:00:00 1970 +0000 | |
79 summary: latin-1 e' encoded: é | |
80 | |
81 changeset: 0:60aad1dd20a9 | |
82 user: test | |
83 date: Thu Jan 01 00:00:00 1970 +0000 | |
84 summary: latin-1 e': é | |
85 | |
3784
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
86 % ascii |
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
87 tip 3:5edfc7acb541 |
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
88 ? 2:91878608adb3 |
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
89 % latin-1 |
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
90 tip 3:5edfc7acb541 |
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
91 é 2:91878608adb3 |
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
92 % utf-8 |
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
93 tip 3:5edfc7acb541 |
4421cef5d3f0
Make quoting in test-encoding simpler
Matt Mackall <mpm@selenic.com>
parents:
3781
diff
changeset
|
94 é 2:91878608adb3 |