diff tests/test-revert @ 4225:281f9f8f1bd4

Fix confusing message from hg revert (issue332) % mkdir sub1 % touch sub1/file1 % hg add sub1/ adding sub1/file1 % hg rev sub1 sub1: No such file in rev e4c586763258 forgetting sub1/file1
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 16 Mar 2007 00:22:52 -0300
parents 9dcf9d45cab8
children da6b14877195
line wrap: on
line diff
--- a/tests/test-revert	Thu Mar 15 18:55:53 2007 -0500
+++ b/tests/test-revert	Fri Mar 16 00:22:52 2007 -0300
@@ -88,5 +88,8 @@
 echo %% issue332
 hg ci -A -m b -d '1000001 0'
 echo foobar > b/b
-hg revert b
+mkdir newdir
+echo foo > newdir/newfile
+hg add newdir/newfile
+hg revert b newdir
 true