tests/test-revert
changeset 6109 242595e612ed
parent 6031 7383384793fb
child 6110 81e20e01d465
equal deleted inserted replaced
6108:5086576a2152 6109:242595e612ed
    26 echo %% should show b unknown, and c modified
    26 echo %% should show b unknown, and c modified
    27 hg status
    27 hg status
    28 hg revert --no-backup c
    28 hg revert --no-backup c
    29 echo %% should show unknown: b
    29 echo %% should show unknown: b
    30 hg status
    30 hg status
    31 echo %% should show a b c e
    31 hg add b
       
    32 echo %% should show b added
       
    33 hg status b
       
    34 rm b
       
    35 echo %% should show b added
       
    36 hg status b
       
    37 hg revert -v b
       
    38 echo %% should not find b
       
    39 hg status b
       
    40 echo %% should show a c e
    32 ls
    41 ls
    33 echo %% should verbosely save backup to e.orig
    42 echo %% should verbosely save backup to e.orig
    34 echo z > e
    43 echo z > e
    35 hg revert --all -v
    44 hg revert --all -v
    36 echo %% should say no changes needed
    45 echo %% should say no changes needed