comparison tests/test-encoding @ 3827:3674ca805a5b

log: convert branch names to the local encoding
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 08 Dec 2006 01:36:50 -0200
parents 734b1d6ba3dc
children d1ce5461beed
comparison
equal deleted inserted replaced
3826:b3b868113d24 3827:3674ca805a5b
23 HGENCODING=latin-1 hg ci -l latin-1 -d "0 0" 23 HGENCODING=latin-1 hg ci -l latin-1 -d "0 0"
24 echo "utf-8" > a 24 echo "utf-8" > a
25 HGENCODING=utf-8 hg ci -l utf-8 -d "0 0" 25 HGENCODING=utf-8 hg ci -l utf-8 -d "0 0"
26 26
27 HGENCODING=latin-1 hg tag -d "0 0" `cat latin-1-tag` 27 HGENCODING=latin-1 hg tag -d "0 0" `cat latin-1-tag`
28 cp latin-1-tag .hg/branch
29 HGENCODING=latin-1 hg ci -d "0 0" -m 'latin1 branch'
30 rm .hg/branch
28 31
29 echo % ascii 32 echo % ascii
30 hg --encoding ascii log 33 hg --encoding ascii log
31 echo % latin-1 34 echo % latin-1
32 hg --encoding latin-1 log 35 hg --encoding latin-1 log
36 HGENCODING=ascii hg tags 39 HGENCODING=ascii hg tags
37 echo % latin-1 40 echo % latin-1
38 HGENCODING=latin-1 hg tags 41 HGENCODING=latin-1 hg tags
39 echo % utf-8 42 echo % utf-8
40 HGENCODING=utf-8 hg tags 43 HGENCODING=utf-8 hg tags
44 echo % ascii
45 HGENCODING=ascii hg branches
46 echo % latin-1
47 HGENCODING=latin-1 hg branches
48 echo % utf-8
49 HGENCODING=utf-8 hg branches