comparison 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
comparison
equal deleted inserted replaced
3588:45574a225632 3589:1c9b6f1237e0
11 --- /dev/null 11 --- /dev/null
12 +++ b/new 12 +++ b/new
13 @@ -0,0 +1 @@ 13 @@ -0,0 +1 @@
14 +a 14 +a
15 EOF 15 EOF
16
17 echo % new empty file
18 hg import -mempty - <<EOF
19 diff --git a/empty b/empty
20 new file mode 100644
21 EOF
22 hg locate empty
16 23
17 echo % chmod +x 24 echo % chmod +x
18 hg import -msetx - <<EOF 25 hg import -msetx - <<EOF
19 diff --git a/new b/new 26 diff --git a/new b/new
20 old mode 100644 27 old mode 100644