Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/tests/test-encoding Thu Dec 07 14:35:43 2006 -0200 +++ b/tests/test-encoding Fri Dec 08 01:36:50 2006 -0200 @@ -25,6 +25,9 @@ HGENCODING=utf-8 hg ci -l utf-8 -d "0 0" HGENCODING=latin-1 hg tag -d "0 0" `cat latin-1-tag` +cp latin-1-tag .hg/branch +HGENCODING=latin-1 hg ci -d "0 0" -m 'latin1 branch' +rm .hg/branch echo % ascii hg --encoding ascii log @@ -38,3 +41,9 @@ HGENCODING=latin-1 hg tags echo % utf-8 HGENCODING=utf-8 hg tags +echo % ascii +HGENCODING=ascii hg branches +echo % latin-1 +HGENCODING=latin-1 hg branches +echo % utf-8 +HGENCODING=utf-8 hg branches