Add test for invalid branch cache (fixed by
27ebe4efe98e)
--- a/tests/test-newbranch Wed Oct 18 09:26:23 2006 +0200
+++ b/tests/test-newbranch Wed Oct 18 10:35:14 2006 +0200
@@ -23,4 +23,6 @@
HG_MERGE=true hg ci -m "merge" -d "0 0"
hg log
-
+echo % test for invalid branch cache
+hg rollback
+hg tip
--- a/tests/test-newbranch.out Wed Oct 18 09:26:23 2006 +0200
+++ b/tests/test-newbranch.out Wed Oct 18 10:35:14 2006 +0200
@@ -41,3 +41,13 @@
date: Thu Jan 01 00:00:00 1970 +0000
summary: initial
+% test for invalid branch cache
+rolling back last transaction
+changeset: 4:98d14f698afe
+branch: foo
+tag: tip
+parent: 1:0079f24813e2
+user: test
+date: Thu Jan 01 00:00:00 1970 +0000
+summary: modify a branch
+