tests/test-mq
changeset 2848 307439d6fede
parent 2846 b8d587cfa3bb
child 2934 2f190e998eb3
--- a/tests/test-mq	Thu Aug 10 15:44:05 2006 -0700
+++ b/tests/test-mq	Thu Aug 10 16:10:59 2006 -0700
@@ -10,6 +10,10 @@
 hg init a
 cd a
 echo a > a
+hg ci -Ama
+
+hg clone . ../k
+
 mkdir b
 echo z > b/z
 hg ci -Ama
@@ -106,9 +110,16 @@
 echo % commit should fail
 hg commit
 
+echo % push should fail
+hg push ../../k
+
 echo % qunapplied
 hg qunapplied
 
+echo % push should succeed
+hg qpop -a
+hg push ../../k
+
 echo % strip
 cd ../../b
 echo x>x