Dmitry Suzdalev wrote:
...
> Let's say I have working copy which has the following layout (all files and
> dirs are versioned):
>
> workingcopy/README
> workingcopy/TODO
> workingcopy/src/myfile.cpp
> workingcopy/src/myfile.h
> workingcopy/...someother_files...
> ...
>
> And then I do:
>
> cd workingcopy
> svn rm README
> svn rm TODO
> svn rm src/myfile.*
>
> Okaaay. Now I want to revert them all. Being in workingcopy/ I issue the
> command:
> svn revert -R *
> (or svn revert -R . - no matter)
>
> And here happens something strange.
> src/myfile.cpp and src/myfile.h
> get restored, but README and TODO are still reported by svn status as:
> D README
> D TODO
>
> Why?
Because the '*' in "svn revert -R *" is expanden by the shell.
So, what you told svn was: "svn revert -R src".
And that's what it did do.
You should have used "svn revert -R .".
Carsten.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 23 19:30:15 2006