Mercurial > public > mercurial-scm > hg
diff tests/test-mq @ 7142:88f1b8081f1c
Prevent import over an applied patch (closes issue795)
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Sat, 18 Oct 2008 13:22:29 -0700 |
parents | 25961e53a07f |
children | b420ef2c812b |
line wrap: on
line diff
--- a/tests/test-mq Sat Oct 18 11:43:45 2008 -0700 +++ b/tests/test-mq Sat Oct 18 13:22:29 2008 -0700 @@ -199,6 +199,14 @@ echo % push should fail hg push ../../k +echo % import should fail +hg st . +echo foo >> ../a +hg diff > ../../import.diff +hg revert --no-backup ../a +hg import ../../import.diff +hg st + echo % qunapplied hg qunapplied