# HG changeset patch # User Vadim Gelfer # Date 2006-08-10 22:02:18 # Node ID b8d587cfa3bbfe8c8e2e619f810048a60c4930eb # Parent addd03c7fbfae012e57c96cd96217d65d75e781a mq: test commit in repo with patches applied diff --git a/tests/test-mq b/tests/test-mq --- 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 diff --git a/tests/test-mq.out b/tests/test-mq.out --- 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