diff tests/test-mq-missingfiles @ 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 e90e72c6b4c7
children
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 ..