--- 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
--- a/tests/test-git-import.out Mon Oct 30 16:10:58 2006 -0800
+++ b/tests/test-git-import.out Mon Oct 30 16:14:38 2006 -0800
@@ -1,5 +1,8 @@
% new file
applying patch from stdin
+% new empty file
+applying patch from stdin
+empty
% chmod +x
applying patch from stdin
% copy
@@ -9,10 +12,12 @@
% rename
applying patch from stdin
copyx
+empty
new
rename
% delete
applying patch from stdin
+empty
new
rename
% regular diff