Re: svn rm

Ben Collins-Sussman <[email protected]>
Newsgroups gmane.mail.eyebrowse.user,gmane.comp.version-control.subversion.devel
Message-ID <2FB4E31C-1C9C-11D9-A94C-000A95D699A0__3275.75751948661$1097619382$gmane$org@collab.net>
On Oct 12, 2004, at 5:37 PM, Ramoj Paruchuri wrote:

> $svn rm <file>
>
> Problem: if the file is not on the database it removes the local copy
> too. Is there anyway to get back that file?
>

What are you talking about?  'svn' will never destroy unversioned files.

For example, I have an unversioned file 'ktrace.out' in my working copy:

$ svn st
?      ktrace.out

$ svn rm ktrace.out
subversion/clients/cmdline/delete-cmd.c:48: (apr_err=200005)
svn: Use --force to override this restriction
subversion/libsvn_client/delete.c:65: (apr_err=200005)
svn: 'ktrace.out' is not under version control

$ svn st
?      ktrace.out


Show us an example of what you're worried about.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.