comparison tests/test-remove-new.t @ 12100:4d6bb7615564

tests: unify test-remove-new
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Mon, 30 Aug 2010 13:08:18 +0900
parents tests/test-remove-new@e740f36cfb4b
children 4c94b6d0fb1c
comparison
equal deleted inserted replaced
12099:54c9549ccb22 12100:4d6bb7615564
1 test that 'hg commit' does not crash if the user removes a newly added file
2
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