tests/test-newbranch
changeset 3761 9433bdcaa9ae
parent 3760 aeafd80c1e78
child 4169 0182cb2e4aac
--- a/tests/test-newbranch	Sat Dec 02 03:16:17 2006 -0200
+++ b/tests/test-newbranch	Sat Dec 02 03:38:55 2006 -0200
@@ -30,4 +30,11 @@
 
 echo % test for invalid branch cache
 hg rollback
+cp .hg/branches.cache .hg/bc-invalid
 hg log -r foo
+cp .hg/bc-invalid .hg/branches.cache
+hg --debug log -r foo
+rm .hg/branches.cache
+echo corrupted > .hg/branches.cache
+hg log -qr foo
+cat .hg/branches.cache