Mercurial > hg
changeset 7506:abd2bc899d86
test-mq-missing: add test for directory creation on git copy
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Thu, 11 Dec 2008 22:59:35 +0100 |
parents | fe0e02f952b0 |
children | 8e76e9f67cb3 |
files | tests/test-mq-missingfiles tests/test-mq-missingfiles.out |
diffstat | 2 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-mq-missingfiles Tue Dec 09 14:27:47 2008 +0100 +++ b/tests/test-mq-missingfiles Thu Dec 11 22:59:35 2008 +0100 @@ -71,3 +71,15 @@ cat b.rej cd .. +echo % test push creating directory during git copy or rename +hg init missingdir +cd missingdir +echo a > a +hg ci -Am adda +mkdir d +hg copy a d/a2 +hg mv a d/a +hg qnew -g -f patch +hg qpop +hg qpush +cd ..
--- a/tests/test-mq-missingfiles.out Tue Dec 09 14:27:47 2008 +0100 +++ b/tests/test-mq-missingfiles.out Thu Dec 11 22:59:35 2008 +0100 @@ -47,3 +47,8 @@ literal 2 Jc${No0000400IC2 +% test push creating directory during git copy or rename +adding a +Patch queue now empty +applying patch +Now at: patch