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

Re: [TSVN] Ignoring folders using svn:ignore

From: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-02-28 13:06:52 CET

Nick Gilbert wrote:
>> The svn:ignore property only works for the _immediate_ children of
>> the folder where you set them. It won't work for files in
>> subfolders! You have to set the svn:ignore property for each of
>> those folders individually.
>
> Oh. It's just that there was a "recursive" option on the dialog where
> I set those properties, so I incorrectly assumed that they were
> recursive. Perhaps "recursive" should be renamed "_immediate_
> children of this folder" :)

No it shouldn't. Recursive means recursive. The problem is that
svn:ignore is a subversion property, so setting it recursively will only
set it on child folders which are already added to subversion. There is
no way to set this property on a folder which has not yet been versioned
because the folder simply doesn't have the .svn directory in which to
set it.

The other way to tackle this is to add 'obj' to your global ignore list.
However, anyone else who checks out the project will have to do the
same.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Feb 28 13:07:17 2005

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

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