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

Re: svn:ignore does not work for Add with tortoiseSVN 1.6.7.18415

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Wed, 14 Apr 2010 09:43:47 +0100

On 14 April 2010 01:15, Andy2008 <hoangtu69_at_yahoo.com> wrote:
> here's my directory structure
>
> application
>  \project1
>  \project2
>  \project3
>
> I want to exclude everything underneath the classes directory in all of the
> above project folders when I do an Add.  I right click mouse the application
> folder and added a svn:ignore property with a value of classes, check the
> checkbox called apply property recursively and hit OK
>
> But when I selected Add from the Application folder, all the files and
> folders under the classes folder are still checked.
>
> Do you have any ideas?

The svn:ignore property only applies to the directory it is set on, so
what you have done is:
ignore application/classes (doesn't exist)
ignore project1/classes (exists but is already in the repository)
ignore project1/classes/classes (doesn't exist)

What you actually want to ignore is project1/classes/* which has to be
set directly on project1/classes
So you have to do that individually for each projectX/classes folder.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2581934
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-14 10:43:55 CEST

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.