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