--- 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