##// END OF EJS Templates
test for git empty new files
Brendan Cully -
r3589:1c9b6f12 default
parent child Browse files
Show More
@@ -14,6 +14,13 index 0000000..7898192
14 14 +a
15 15 EOF
16 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
23
17 24 echo % chmod +x
18 25 hg import -msetx - <<EOF
19 26 diff --git a/new b/new
@@ -1,5 +1,8
1 1 % new file
2 2 applying patch from stdin
3 % new empty file
4 applying patch from stdin
5 empty
3 6 % chmod +x
4 7 applying patch from stdin
5 8 % copy
@@ -9,10 +12,12 a
9 12 % rename
10 13 applying patch from stdin
11 14 copyx
15 empty
12 16 new
13 17 rename
14 18 % delete
15 19 applying patch from stdin
20 empty
16 21 new
17 22 rename
18 23 % regular diff
General Comments 0
You need to be logged in to leave comments. Login now