Mercurial > hg > mercurial-crew-with-dirclash
changeset 3078:760414dc7ac6
Added tests for qpush/qpop with index.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 12 Sep 2006 17:26:20 +0200 |
parents | e270cbd4aa20 |
children | bed7cb835d8d |
files | tests/test-mq tests/test-mq.out |
diffstat | 2 files changed, 26 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-mq +++ b/tests/test-mq @@ -115,6 +115,19 @@ hg push ../../k echo % qunapplied hg qunapplied +echo % qpush/qpop with index +hg qnew test1b.patch +echo 1b > 1b +hg add 1b +hg qrefresh +hg qpush 2 +hg qpop 0 +hg qpush test.patch+1 +hg qpush test.patch+2 +hg qpop test2.patch-1 +hg qpop test2.patch-2 +hg qpush test1b.patch+1 + echo % push should succeed hg qpop -a hg push ../../k
--- a/tests/test-mq.out +++ b/tests/test-mq.out @@ -110,6 +110,19 @@ pushing to ../../k abort: source has mq patches applied % qunapplied test2.patch +% qpush/qpop with index +applying test2.patch +Now at: test2.patch +Now at: test.patch +applying test1b.patch +Now at: test1b.patch +applying test2.patch +Now at: test2.patch +Now at: test1b.patch +Now at: test.patch +applying test1b.patch +applying test2.patch +Now at: test2.patch % push should succeed Patch queue now empty pushing to ../../k