tests/test-mq-qpush-fail
changeset 8875 801cacf46e62
parent 8795 51c29aec0b75
child 9590 07a62819b309
--- a/tests/test-mq-qpush-fail	Sun Jun 21 16:54:57 2009 +0200
+++ b/tests/test-mq-qpush-fail	Sun Jun 21 17:34:33 2009 +0200
@@ -45,3 +45,12 @@
 
 echo '% bar should be gone; other unknown/ignored files should still be around'
 hg status -A
+
+echo '% preparing qpush of a missing patch'
+hg qpop -a
+hg qpush
+rm .hg/patches/patch2
+echo '% now we expect the push to fail, but it should NOT complain about patch1'
+hg qpush
+
+true # happy ending