Neels J Hofmeyr <ne...@elego.de> writes:

> Found this but haven't got the time to dive into right now.
> An unversioned file should never be killed, right?
> Should I create an issue?
>
> [[[
> svn mkdir -mm ^/x
> echo important data > x
> svn st
> svn up
> svn st
> svn revert x
> svn st
> # empty status
> ls -l
> # x is now a dir, and "important data" is gone.
> ]]]

You are explicitly reverting x, are you saying revert should fail?  My
first instinct is that revert is doing the right thing.  What about
this:

svn rm x         # delete a versioned dir
echo data > x    # add an unversioned file
svn revert x     # directory restored

Do you think revert should fail here as well?

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com

Reply via email to