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

Re: "svn update" fails to remove folder that still contains ignored files

From: Steve Bakke <steven.bakke_at_amd.com>
Date: Fri, 20 Nov 2009 09:53:04 -0500

On Nov 20, 2009, at 9:06 AM, Daniel Shahaf wrote:

> Markus Kuhn wrote on Fri, 20 Nov 2009 at 13:55 -0000:
>> Aren't ignored files those that are by definition unimportant or easily
>> remade?
>>
>
> No, they are those that don't show up as "?" in 'svn status'. Sometimes
> those files have manual effort in them [1]. Sometimes not (e.g., editor
> backup files).

Ignored files can be that way because your config file said to ignore them by default or because somebody explicitly set that properly. That doesn't necessarily make them unimportant. Maybe for whatever reason, you just didn't want to check them in.

>
> [1] http://subversion.tigris.org/faq.html#ignore-commit
>
>> Shouldn't svn update be at liberty to destroy any ignored files located
>> in a folder that it is about to remove?
>>
>
> We could add a switch to do that, perhaps.
>

It seems to me that subversion should not be deleting any files that aren't under its control by default. What I would expect is that it would remove the files that were under control and leave the directory unrevisioned with all .svn metadata removed.

-Steve

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2420831

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-20 15:54:29 CET

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