[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-15 01:44:50 CEST

Gavin Lambert wrote:
>Quoth Barry Gershenfeld:
>>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.
>
>Only if they don't have any local modifications. If their copy is
>different from the versioned one then it will be retained (but marked as
>unversioned).

I tried it that way, and sure enough, it left the file. I would have
expected some sort of conflict (two different things were done to the file)
but I guess, in this case, we get what we want.

>>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.
>
>svn:ignore properties are stored in the repository, but only apply to the
>specific folder that you've applied them to. (Setting an ignore property
>on a file has no effect, and they're not recursive.) So they're not
>purely client-side.

Right again. I thought the property was not being remembered at all, but I
was looking at the file...I looked at the folder properties and there it
was...in each client.

Thanks for the tips. That's why I read this list. Learning one thing at a
time.

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Sep 15 01:47:19 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.