tests/test-newbranch
changeset 5988 ee317dbfb9d0
parent 4410 bbc97d419b16
child 6160 3ee3bc5d06c5
--- a/tests/test-newbranch	Sun Feb 03 21:03:46 2008 -0200
+++ b/tests/test-newbranch	Sun Feb 03 21:03:46 2008 -0200
@@ -41,6 +41,15 @@
 hg log -qr foo
 cat .hg/branch.cache
 
+echo % push should update the branch cache
+hg init ../target
+echo % pushing just rev 0
+hg push -qr 0 ../target
+cat ../target/.hg/branch.cache
+echo % pushing everything
+hg push -qf ../target
+cat ../target/.hg/branch.cache
+
 echo % update with no arguments: tipmost revision of the current branch
 hg up -q -C 0
 hg up -q