Mercurial > hg
comparison tests/test-encoding @ 3862:46abbed02b2d
Use UTF-8 in .hg/branch
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Sun, 10 Dec 2006 20:35:28 -0200 |
parents | 8958417abf62 |
children | 29d2a7e3a88b |
comparison
equal
deleted
inserted
replaced
3861:db36a4f490f6 | 3862:46abbed02b2d |
---|---|
23 HGENCODING=latin-1 hg ci -l latin-1 -d "1000000 0" | 23 HGENCODING=latin-1 hg ci -l latin-1 -d "1000000 0" |
24 echo "utf-8" > a | 24 echo "utf-8" > a |
25 HGENCODING=utf-8 hg ci -l utf-8 -d "1000000 0" | 25 HGENCODING=utf-8 hg ci -l utf-8 -d "1000000 0" |
26 | 26 |
27 HGENCODING=latin-1 hg tag -d "1000000 0" `cat latin-1-tag` | 27 HGENCODING=latin-1 hg tag -d "1000000 0" `cat latin-1-tag` |
28 cp latin-1-tag .hg/branch | 28 HGENCODING=latin-1 hg branch `cat latin-1-tag` |
29 HGENCODING=latin-1 hg ci -d "1000000 0" -m 'latin1 branch' | 29 HGENCODING=latin-1 hg ci -d "1000000 0" -m 'latin1 branch' |
30 rm .hg/branch | 30 rm .hg/branch |
31 | 31 |
32 echo % ascii | 32 echo % ascii |
33 hg --encoding ascii log | 33 hg --encoding ascii log |
53 echo % utf-8 | 53 echo % utf-8 |
54 HGENCODING=utf-8 hg log | 54 HGENCODING=utf-8 hg log |
55 | 55 |
56 HGENCODING=dolphin hg log | 56 HGENCODING=dolphin hg log |
57 | 57 |
58 HGENCODING=ascii hg branch `cat latin-1-tag` | |
59 cp latin-1-tag .hg/branch | |
60 HGENCODING=latin-1 hg ci -d "1000000 0" -m 'should fail' | |
58 exit 0 | 61 exit 0 |