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

Re: delete file from repository, not locally?

From: Barry Gershenfeld <barry_g_at_zmicro.com>
Date: 2006-09-14 00:18:08 CEST

>>>in my repository there are files that must be unversioned, but somehow
>>>they got versioned(maybe a coworker or else) - how can I delete them
>>>from the repository without deleting them locally? (lukas erlacher)

>>You need to make a copy of those files first. Then you can update your
>>working copy (which removes the files in question). After that, copy the
>>saved files back. (Stefan Küng)

>And after doing that, make sure you've got the svn:ignore property set
>correctly on the folder to discourage them getting committed in future.
>Or if you want to be absolutely certain, put a check in a precommit
>script so that they *can't* be committed. (Gavin Lambert)

I see a danger with this: When you delete the file from the repository,
that event gets propagated to everyone who does an svn update. That is,
their copy of this file will be deleted.

I thought that maybe something could be done with the ignore property to
prevent this, but, as far as I can tell, the ignore list is a client-side
feature--I can't make it show up in any other working copy.

Disclaimers: (1) Never tried properties before so I don't know what I'm
doing. (2) TSVN 1.1.4 under W98; things could be different now. (Though
this all seems to be svn-related and not Tortoise.)


To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Sep 14 01:17:24 2006

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

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