diff tests/test-git-import @ 3589:1c9b6f1237e0

test for git empty new files
author Brendan Cully <brendan@kublai.com>
date Mon, 30 Oct 2006 16:14:38 -0800
parents e2b69dbb2daa
children 05c8704a3743
line wrap: on
line diff
--- a/tests/test-git-import	Mon Oct 30 16:10:58 2006 -0800
+++ b/tests/test-git-import	Mon Oct 30 16:14:38 2006 -0800
@@ -14,6 +14,13 @@
 +a
 EOF
 
+echo % new empty file
+hg import -mempty - <<EOF
+diff --git a/empty b/empty
+new file mode 100644
+EOF
+hg locate empty
+
 echo % chmod +x
 hg import -msetx - <<EOF
 diff --git a/new b/new