Mercurial > public > mercurial-scm > hg
diff tests/test-revert @ 6109:242595e612ed
revert: unify forget and remove lists
This doesn't make a difference right now, but after the next revision
some files in state 'a' may end up in the deleted list, and revert
won't be able to just remove all files in that list.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Thu, 14 Feb 2008 18:08:16 -0200 |
parents | 7383384793fb |
children | 81e20e01d465 |
line wrap: on
line diff
--- a/tests/test-revert Thu Feb 14 18:08:16 2008 -0200 +++ b/tests/test-revert Thu Feb 14 18:08:16 2008 -0200 @@ -28,7 +28,16 @@ hg revert --no-backup c echo %% should show unknown: b hg status -echo %% should show a b c e +hg add b +echo %% should show b added +hg status b +rm b +echo %% should show b added +hg status b +hg revert -v b +echo %% should not find b +hg status b +echo %% should show a c e ls echo %% should verbosely save backup to e.orig echo z > e