--- 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