Show More
@@ -1,11 +1,14 | |||||
1 | #!/bin/sh |
|
1 | #!/bin/sh | |
2 |
|
2 | |||
|
3 | # test that 'hg commit' does not crash if the user removes a | |||
|
4 | # newly added file | |||
|
5 | ||||
3 | hg init |
|
6 | hg init | |
4 | echo This is file a1 > a |
|
7 | echo This is file a1 > a | |
5 | hg add a |
|
8 | hg add a | |
6 | hg commit -m "commit #0" -d "1000000 0" |
|
9 | hg commit -m "commit #0" -d "1000000 0" | |
7 | touch b |
|
10 | touch b | |
8 | hg add b |
|
11 | hg add b | |
9 | rm b |
|
12 | rm b | |
10 | hg commit -A -m"comment #1" -d "1000000 0" |
|
13 | hg commit -A -m"comment #1" -d "1000000 0" | |
11 | exit 0 |
|
14 | exit 0 |
1 | NO CONTENT: file renamed from tests/test-merge3.out to tests/test-remove-new.out |
|
NO CONTENT: file renamed from tests/test-merge3.out to tests/test-remove-new.out |
General Comments 0
You need to be logged in to leave comments.
Login now