diff -r 077a2da7f1de -r a514c7509fa9 tests/test-revert --- a/tests/test-revert Mon Apr 03 14:56:00 2006 +0200 +++ b/tests/test-revert Mon Apr 03 10:02:09 2006 -0700 @@ -37,7 +37,21 @@ echo %% should say file not managed echo q > q hg revert q +rm q echo %% should say file not found hg revert notfound +hg rm a +hg commit -m "second" -d "1000000 0" +echo z > z +hg add z +hg st +echo %% should add a, forget z +hg revert -r0 +echo %% should forget a +hg revert -rtip +rm -f a *.orig +echo %% should silently add a +hg revert -r0 a +hg st a true