[PATCH 1 of 2] mq: test case for issue399

Brendan Cully brendan at kublai.com
Tue Oct 17 18:41:29 UTC 2006


# HG changeset patch
# User Brendan Cully <brendan at kublai.com>
# Date 1161110180 25200
# Node ID 5b3eef875afe8469ba15168ea123c02faa96eef2
# Parent  594d1ff79609de19ac991058b180a07a6876f205
mq: test case for issue399

diff -r 594d1ff79609 -r 5b3eef875afe tests/test-mq
--- a/tests/test-mq	Tue Oct 17 11:46:53 2006 +0200
+++ b/tests/test-mq	Tue Oct 17 11:36:20 2006 -0700
@@ -165,11 +165,13 @@ hg qrefresh
 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]
diff -r 594d1ff79609 -r 5b3eef875afe tests/test-mq.out
--- a/tests/test-mq.out	Tue Oct 17 11:46:53 2006 +0200
+++ b/tests/test-mq.out	Tue Oct 17 11:36:20 2006 -0700
@@ -172,6 +172,8 @@ patch failed, unable to continue (try -v
 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



More information about the Mercurial-devel mailing list