Mercurial > hg > mercurial-crew-with-dirclash
changeset 3589:1c9b6f1237e0
test for git empty new files
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Mon, 30 Oct 2006 16:14:38 -0800 |
parents | 45574a225632 |
children | 231e61de692c 5f08389bcf06 |
files | tests/test-git-import tests/test-git-import.out |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-git-import +++ b/tests/test-git-import @@ -14,6 +14,13 @@ index 0000000..7898192 +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 +++ b/tests/test-git-import.out @@ -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 @@ a % rename applying patch from stdin copyx +empty new rename % delete applying patch from stdin +empty new rename % regular diff