Skip to content
Snippets Groups Projects
Commit 4d6bb761 authored by Nicolas Dumazet's avatar Nicolas Dumazet
Browse files

tests: unify test-remove-new

parent 54c9549c
No related branches found
No related tags found
No related merge requests found
removing b
nothing changed
#!/bin/sh
# test that 'hg commit' does not crash if the user removes a
# newly added file
test that 'hg commit' does not crash if the user removes a newly added file
......@@ -5,10 +2,12 @@
hg init
echo This is file a1 > a
hg add a
hg commit -m "commit #0" -d "1000000 0"
touch b
hg add b
rm b
hg commit -A -m"comment #1" -d "1000000 0"
exit 0
$ hg init
$ echo This is file a1 > a
$ hg add a
$ hg commit -m "commit #0" -d "1000000 0"
$ touch b
$ hg add b
$ rm b
$ hg commit -A -m"comment #1" -d "1000000 0"
removing b
nothing changed
$ exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment