tests/test-remove-new.t
branchstable
changeset 17225 a06e2681dd17
parent 17222 98823bd0d697
parent 17224 23b247234454
child 17226 436cc9d017c6
equal deleted inserted replaced
17222:98823bd0d697 17225:a06e2681dd17
     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"
       
     7   $ touch b
       
     8   $ hg add b
       
     9   $ rm b
       
    10   $ hg commit -A -m"comment #1"
       
    11   removing b
       
    12   nothing changed
       
    13   [1]