# HG changeset patch # User Vadim Gelfer # Date 1155247338 25200 # Node ID b8d587cfa3bbfe8c8e2e619f810048a60c4930eb # Parent addd03c7fbfae012e57c96cd96217d65d75e781a mq: test commit in repo with patches applied diff -r addd03c7fbfa -r b8d587cfa3bb tests/test-mq --- 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 diff -r addd03c7fbfa -r b8d587cfa3bb tests/test-mq.out --- 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