diff tests/test-newbranch @ 3761:9433bdcaa9ae

Ignore all errors while parsing the branch cache.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sat, 02 Dec 2006 03:38:55 -0200
parents aeafd80c1e78
children 0182cb2e4aac
line wrap: on
line diff
--- 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