Mercurial > hg
comparison tests/test-revert @ 6110:81e20e01d465
status: put added files that have disappeared in the deleted list
This gives the user an indication that something went wrong with this file:
$ hg add foo
$ rm foo
$ hg status foo
! foo
Fixes issue212.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Thu, 14 Feb 2008 18:08:16 -0200 |
parents | 242595e612ed |
children |
comparison
equal
deleted
inserted
replaced
6109:242595e612ed | 6110:81e20e01d465 |
---|---|
30 hg status | 30 hg status |
31 hg add b | 31 hg add b |
32 echo %% should show b added | 32 echo %% should show b added |
33 hg status b | 33 hg status b |
34 rm b | 34 rm b |
35 echo %% should show b added | 35 echo %% should show b deleted |
36 hg status b | 36 hg status b |
37 hg revert -v b | 37 hg revert -v b |
38 echo %% should not find b | 38 echo %% should not find b |
39 hg status b | 39 hg status b |
40 echo %% should show a c e | 40 echo %% should show a c e |