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

Re: Global ignore pattern help

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Wed, 11 Mar 2009 21:28:07 +0000

2009/3/11 Todd C. Gleason <tgleason_at_impac.com>:
>> -----Original Message-----
>> From: Mike Cole [mailto:mike.cole_at_forbin.com]
>> Sent: Wednesday, March 11, 2009 11:33 AM
>> To: users_at_tortoisesvn.tigris.org
>> Subject: RE: Global ignore pattern help
>>
>> If the global ignore pattern does not work for folders, is there
> another
>> way to exclude those?
>>
>> > I'm pretty sure global ignores don't work for folders, only for
> files.
>> Probably the root of your problem.
>> >
>
> I think this is incorrect.  I have a global-ignores that includes stuff
> like:
>
> bin [Oo][Bb][Jj]
>
> And this seems to exclude bin, obj, and Obj (for some of our C++
> projects) just fine.  Just get rid of the wildcards and [back]slashes; I
> think the final directory or file name is all that is looked at to match
> global-ignores.

global ignores work for files and for folders, but not paths - the
pattern should not include any slashes.

You can exclude all folders called bin, and you can exclude all files
called *.obj but you cannot use a pattern like bin/*.obj so that it
will only ignore object files which are in the bin 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=1309539
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-03-11 22:28:15 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.