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

Re: ignore is not working for subfolders

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 20 Jan 2015 20:20:00 +0100

On 20.01.2015 08:48, Ian L wrote:
> Hi All,
>
> I've created a new repository on my server. Created an empty folder on my pc, did a checkout against the empty repository.
>
> I then added in all my folders/files etc to the folder on my pc.
>
> I then went to the svn folder properties for the top level folder and added in several ignores, for files like *.pdf, *.jpg etc
>
> And when i then go try and do the commit, it appears as though it ignores those files in the top level folder, and one folder deep, but after that it's not ignoring those files.
>
> So for example the following files DO NOT show up in the commit dialog (which is what i want):
> /something.pdf
> /subdir1/something.pdf
>
> But this file does show up in the commit dialog (which is what i do NOT want):
> /subdir1/subdir2/something.pdf
>
> Can someone tell me what i am doing wrong? Why is it only excluding them one level deep?

Check the properties on the folder where you set the ignores: if the
properties are named "svn:ignore", then that's the correct behavior.
You have to use the "svn:global-ignores" property instead, which is used
automatically if you add the ignores with the menu that has the
"(recursively)" at the end.

Or if you set them manually, just use the svn:global-ignores property.

Stefan

-- 
        ___
   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=3094534
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-01-20 20:20:04 CET

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.