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

Re: svn rm should be 'fixed'

From: Blair Zajac <blair_at_orcaware.com>
Date: Mon, 11 Jan 2010 19:48:49 -0800

Plus it won't delete the file if there are local modifications in it.

I don't think the behavior is wrong, BTW. If I delete a file then I don't want
it to be there and compile against it. It would also be inconsistent with other
commands. svn mv does a move both in svn and the filesystem and then rm wouldn't.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<blair_at_orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
Bob Archer wrote:
> You can also use:
> 
>  
> 
> svn rm --keep-local
> 
>  
> 
> BOb
> 
>  
> 
>  
> 
> *From:* Mahi Haile [mailto:begin.middle.end_at_gmail.com]
> *Sent:* Monday, January 11, 2010 2:13 PM
> *To:* users_at_subversion.apache.org
> *Subject:* svn rm should be 'fixed'
> 
>  
> 
> I really like svn. I use it everyday.
> 
>  
> 
> But I really dislike 'svn rm', because I make the mistake everyday. I 
> always want to remove something from the repository and use it, but end 
> up deleting the file on the local machine. Especially bad when I just 
> added the file, or there are changes on it I have not saved yet.
> 
>  
> 
> I have come to think of it more as a bug than a feature. I think 'svn 
> rm' should do just that -- rm from the repository rather than the local 
> file as well.
> 
>  
> 
> Thank you,
> 
Received on 2010-01-12 04:49:32 CET

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