tests/test-revert-unknown
changeset 1933 7544700fd931
parent 1236 67a28636ea64
child 2982 890e285c52a1
equal deleted inserted replaced
1932:82995896d5af 1933:7544700fd931
     3 hg init
     3 hg init
     4 touch unknown
     4 touch unknown
     5 
     5 
     6 touch a
     6 touch a
     7 hg add a
     7 hg add a
     8 hg ci -m "1" -d "0 0"
     8 hg ci -m "1" -d "1000000 0"
     9 
     9 
    10 touch b
    10 touch b
    11 hg add b
    11 hg add b
    12 hg ci -m "2" -d "0 0"
    12 hg ci -m "2" -d "1000000 0"
    13 
    13 
    14 echo %% Should show unknown
    14 echo %% Should show unknown
    15 hg status
    15 hg status
    16 hg revert -r 0
    16 hg revert -r 0
    17 echo %% Should show unknown and b removed
    17 echo %% Should show unknown and b removed