tests/test-encoding
changeset 3862 46abbed02b2d
parent 3845 8958417abf62
child 9483 29d2a7e3a88b
--- a/tests/test-encoding	Sun Dec 10 23:03:53 2006 +0100
+++ b/tests/test-encoding	Sun Dec 10 20:35:28 2006 -0200
@@ -25,7 +25,7 @@
 HGENCODING=utf-8 hg ci -l utf-8 -d "1000000 0"
 
 HGENCODING=latin-1 hg tag -d "1000000 0" `cat latin-1-tag`
-cp latin-1-tag .hg/branch
+HGENCODING=latin-1 hg branch `cat latin-1-tag`
 HGENCODING=latin-1 hg ci -d "1000000 0" -m 'latin1 branch'
 rm .hg/branch
 
@@ -55,4 +55,7 @@
 
 HGENCODING=dolphin hg log
 
+HGENCODING=ascii hg branch `cat latin-1-tag`
+cp latin-1-tag .hg/branch
+HGENCODING=latin-1 hg ci -d "1000000 0" -m 'should fail'
 exit 0