tests/test-revert-unknown
changeset 12111 327dee7f7327
parent 12110 58a8105242a5
child 12112 d27d5ae576a2
equal deleted inserted replaced
12110:58a8105242a5 12111:327dee7f7327
     1 #!/bin/sh
       
     2 
       
     3 hg init
       
     4 touch unknown
       
     5 
       
     6 touch a
       
     7 hg add a
       
     8 hg ci -m "1" -d "1000000 0"
       
     9 
       
    10 touch b
       
    11 hg add b
       
    12 hg ci -m "2" -d "1000000 0"
       
    13 
       
    14 echo %% Should show unknown
       
    15 hg status
       
    16 hg revert -r 0 --all
       
    17 echo %% Should show unknown and b removed
       
    18 hg status
       
    19 echo %% Should show a and unknown
       
    20 ls