mq: test case for issue399
authorBrendan Cully <brendan@kublai.com>
Wed, 18 Oct 2006 10:37:34 -0700
changeset 3459 ba3a96750de0
parent 3458 031aac7ec584
child 3460 2d35a8d2b32d
mq: test case for issue399
tests/test-mq
tests/test-mq.out
--- a/tests/test-mq
+++ b/tests/test-mq
@@ -165,11 +165,13 @@ cd ..
 hg qrefresh
 hg qnew -mbar bar
 echo foo > foo
-hg add foo
+echo bar > bar
+hg add foo bar
 hg qrefresh
 hg qpop -a
 echo bar > foo
 hg qpush -a
+hg st
 
 cat >>$HGRCPATH <<EOF
 [diff]
--- a/tests/test-mq.out
+++ b/tests/test-mq.out
@@ -172,6 +172,8 @@ 1 out of 1 hunk ignored -- saving reject
 patch failed, unable to continue (try -v)
 patch failed, rejects left in working dir
 Errors during apply, please fix and refresh bar
+? foo
+? foo.rej
 new file
 
 diff --git a/new b/new