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

Re: pattern matching

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Wed, 10 Dec 2008 22:18:16 +0000

2008/12/10 B Smith-Mannschott <bsmith.occs_at_gmail.com>:
>
>
> On Wed, Dec 10, 2008 at 7:33 PM, Goran Fiolić <goran.fiolic_at_xylon.hr> wrote:
>>
>> I have the following folder structure:
>>
>>
>>
>> hp014
>>
>> AA
>>
>> EDK
>>
>> hdl
>>
>> pcores
>>
>> hdl
>>
>>
>>
>> where I would like to ignore EDK/hdl folder. I tried the following
>> „global-ignore" pattern but it did not work:
>>
>>
>>
>> global-ignores = EDK/hdl */EDK/hdl
>>
>>
>>
>> I also tried:
>>
>>
>>
>> global-ignores = */EDK/hdl
>>
>>
>>
>> I tried also with different backslashes but nothing worked. What was I
>> doing wrong?
>
> http://svnbook.red-bean.com/en/1.5/svn.advanced.props.special.ignore.html
>
> set svn:ignore on hp014/AA/EDK to hdl.
>
> It's my impression that the patterns in global-ignores are matched against
> simple names -- not full paths. This would mean your attempts can't work.
> Admittedly the svnbook isn't at all clear on this point due to the common
> ambiguity that "file name" sometimes means just the simple name within the
> directory and sometimes means the whole path.

This point came up last week and I queried it on the subversion
mailing list. Apparently the fact that it works at all with full paths
is just a side effect, perhaps even a bug, and not by design. I will
update the manual to indicate this.

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=982574
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2008-12-10 23:19:02 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.