changeset 2846:b8d587cfa3bb

mq: test commit in repo with patches applied
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Thu, 10 Aug 2006 15:02:18 -0700
parents addd03c7fbfa
children 2ff57e3113a4
files tests/test-mq tests/test-mq.out
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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