[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: Ramoj Paruchuri <ramojparuchuri_at_gmail.com>
Date: 2004-10-13 16:41:44 CEST

If I remember correctly --

$svn add <file>

$svn rm <file>
should fail as its not been into DB yet. now,

$svn rm --force <file>
should remove the lock (perhaps tag or whatever...) it has on the file
and make it a free file.

I was rm'ing some files yesterday (with --force option) and
accidentally got one of my local files which has not been added. In
either case I think it is safe that svn rm --force should only act on
the files in the repository and not on the local files.

--Ramoj
PS: Thanks guys!

On Wed, 13 Oct 2004 09:15:54 -0400, Ben Collins-Sussman
<sussman@collab.net> wrote:
> Please reply to the list, not me personally.
>
>
> On Oct 12, 2004, at 9:42 PM, Ramoj Paruchuri wrote:
>
> > Yeah I think I was using a --force option. But in either case why is
> > svn deleting files that are local and not in the repository.
>
> Because you're passing the --force option. 'svn rm' won't destroy
> unversioned data, unless you pass that option. "--force" means
> "destroy the file no matter what."
>
>

-- 
Ramoj Paruchuri
Mobile:+1(512)789-2019
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 14 05:32:25 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.