Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
4218:2216535f07d7 | 4225:281f9f8f1bd4 |
---|---|
86 hg revert --all -rtip | 86 hg revert --all -rtip |
87 | 87 |
88 echo %% issue332 | 88 echo %% issue332 |
89 hg ci -A -m b -d '1000001 0' | 89 hg ci -A -m b -d '1000001 0' |
90 echo foobar > b/b | 90 echo foobar > b/b |
91 hg revert b | 91 mkdir newdir |
92 echo foo > newdir/newfile | |
93 hg add newdir/newfile | |
94 hg revert b newdir | |
92 true | 95 true |