mq: test commit in repo with patches applied
authorVadim Gelfer <vadim.gelfer@gmail.com>
Thu, 10 Aug 2006 15:02:18 -0700
changeset 2834 b8d587cfa3bb
parent 2833 addd03c7fbfa
child 2835 2ff57e3113a4
mq: test commit in repo with patches applied
tests/test-mq
tests/test-mq.out
--- a/tests/test-mq
+++ b/tests/test-mq
@@ -103,6 +103,9 @@ hg qnext
 hg qprev
 hg qapplied
 
+echo % commit should fail
+hg commit
+
 echo % qunapplied
 hg qunapplied
 
--- a/tests/test-mq.out
+++ b/tests/test-mq.out
@@ -102,6 +102,8 @@ Now at: test.patch
 test2.patch
 Only one patch applied
 test.patch
+% commit should fail
+abort: cannot commit over an applied mq patch
 % qunapplied
 test2.patch
 % strip