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

Re: ignore list

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Tue, 8 Nov 2011 23:53:36 +0000

On 8 November 2011 20:12, Dave Huang <khym_at_azeotrope.org> wrote:
> On Nov 8, 2011, at 1:59 PM, Stefan Küng wrote:
>
>> On 08.11.2011 20:58, Dave Huang wrote:
>>> I thought svn:ignore worked the same way as shell wildcards/globbing? *.vshost.exe* and *.vshost.exe.* both match somefile.vshost.exe.manifest:
>>
>> No, not the same. You can do [Tt]ext.txt in the shell, can you?
>
>
> Yes, I can... I'm not sure what you're implying--do you think that [Tt]ext.txt does not work in a shell, but it does in svn:ignore, or that it doesn't work in svn:ignore, but it does in a shell...
>
> In any case, it does work in various shells (bash, csh, tcsh), and http://svnbook.red-bean.com/en/1.6/svn.advanced.props.special.ignore.html says it works in svn:ignore.
>
> But back to the original question, you're saying that *.vshost.exe* in svn:ignore will not match somefile.vshost.exe.manifest? If so, that's very surprising, and if the red-bean book is correct that "Subversion uses the one most commonly found in Unix systems implemented as the fnmatch system function," a bug in SVN.

No it's not true. *.vshost.exe* _will_ match
somefile.vshost.exe.manifest, as will *sho*, as will *t.e*. The dot
character does not have any special treatment. The real issue seems to
be multiple ignores on one line which is not supported at all.

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=2876440
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-11-09 00:53:43 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.