##// END OF EJS Templates
tests: unify test-remove-new
Nicolas Dumazet -
r12100:4d6bb761 default
parent child Browse files
Show More
@@ -1,14 +1,13
1 #!/bin/sh
2
3 # test that 'hg commit' does not crash if the user removes a
4 # newly added file
1 test that 'hg commit' does not crash if the user removes a newly added file
5 2
6 hg init
7 echo This is file a1 > a
8 hg add a
9 hg commit -m "commit #0" -d "1000000 0"
10 touch b
11 hg add b
12 rm b
13 hg commit -A -m"comment #1" -d "1000000 0"
14 exit 0
3 $ hg init
4 $ echo This is file a1 > a
5 $ hg add a
6 $ hg commit -m "commit #0" -d "1000000 0"
7 $ touch b
8 $ hg add b
9 $ rm b
10 $ hg commit -A -m"comment #1" -d "1000000 0"
11 removing b
12 nothing changed
13 $ exit 0
1 NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now