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

Re: Server configuration management with svn question

From: James Coleman <jamesc_at_dspsrv.com>
Date: 2007-07-16 13:10:04 CEST

Karl Fogel wrote:
> James Coleman <jamesc@dspsrv.com> writes:
>> You can add ignores so that the files will not be listed in svn status but
>> ignored files will be deleted in many situations.
>
> Really? I didn't know Subversion did that. When does it delete
> ignored files?
>

"many situations" !? is incorrect on my part.
I was thinking in case of "svn switch" but that is also incorrect.
What was I thinking ... ?
Thanks for calling me up on that now to me obviously incorrect statement!

I use some helpers with svn which ignore or remove ignored+unversioned files.
e.g. making a patch to backup any changes more regularily than they are comitted
So essentially for me it is dangerous to have anything I need unversioned.
So as a working principle if anything is listed in status as "?" I know I have
to either add an ignore or add it.
I think that is what I was thinking.

It seems intuitive that an svn switch maybe should remove unversioned files,
but it doesn't.

In fact specifically in a situation where you do an svn switch to another
branch or area in a repository, if a directory doesn't exist on the new branch
then all unversioned contents cause a problem (as we've seen on other thread).
svn doesn't want to remove unversioned files and it stops the switch with error.

James.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 16 13:10:21 2007

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

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