[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn rm

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-10-13 00:15:12 CEST

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 13 00:15:54 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.