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

Re: [PATCH] Escape pattern chars in ignored names (was: Re: Cannot ignore folders containing square-brackets)

From: Alexander Klenin <klenin_at_gmail.com>
Date: 2007-09-04 18:07:47 CEST

On 9/5/07, Simon Large <simon.tortoisesvn@googlemail.com> wrote:
> On 04/09/07, Alexander Klenin <klenin@gmail.com> wrote:
> > On 9/5/07, Simon Large <simon.tortoisesvn@googlemail.com> wrote:
> >
> > > Escaping the brackets as Norbert says should fix it.
> >
> > Attached patch attempts to implement that fix.
> > Although it cures the case described by Adrian, it is incomplete in a few ways:
>
> I may be missing something, but I don't think this needs fixing. It is
> designed to behave that way so you can ignore *.[Tt]mp

When user selects 'Add to ignore list'->'[Release]' from context menu
on the file/folder
named '[Release]', he expects to ignore exactly that item, not five
single-letter names.

Submitted patch fixes that by actually adding '\[Release\]' string to
svn:ignore property.
It does not change UI in any way, simply fixes unexpected behavior.

The ability to add patterns to the svn:ignore property via property
dialog is not affected at all.

-- 
Alexander S. Klenin
Insight Experts Ltd.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Sep 4 18:04:43 2007

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.