diff tests/test-mq-qpush-fail @ 9590:07a62819b309

mq: fix traceback for qpush inexistant-patch with no patch applied
author Benoit Allard <benoit@aeteurope.nl>
date Fri, 16 Oct 2009 00:09:18 +0200
parents 801cacf46e62
children 8cb81d75730c
line wrap: on
line diff
--- a/tests/test-mq-qpush-fail	Wed Oct 14 20:55:39 2009 +0300
+++ b/tests/test-mq-qpush-fail	Fri Oct 16 00:09:18 2009 +0200
@@ -53,4 +53,10 @@
 echo '% now we expect the push to fail, but it should NOT complain about patch1'
 hg qpush
 
+echo '% preparing qpush of missing patch with no patch applied'
+hg qpop -a
+rm .hg/patches/patch1
+echo '% qpush should fail the same way as below'
+hg qpush
+
 true # happy ending