[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:55:54 CEST

On 9/5/07, Stefan Küng <tortoisesvn@gmail.com> wrote:
> Alexander Klenin wrote:
> > 1) It should be accompanied by a similar change to TortoiseShell's
> > ContextMenu.cpp to correctly display 'Remove from ignore list' menu
> > item.
> > I did not implement that part since I am not sure how to debug/test
> > shell extension without the continuous rebooting. Any hints?
[skip]
> (this is shown in src\Debug-Hints.txt)
Thanks, sorry I did not noticed that file myself.

> > 2) It escapes only brackets, there are probably more chars to escape.
> > I did not investigate that (yet?) since I am lazy. Note, however, that
> > at least '*' and '?' do not need any special processing since they can
> > not be part of a file name.
> At least not on Windows - Linux allows such chars in filenames :)

Well, I just searched and was unable to find any source of information
about svn:ignore pattern syntax except APR code and old TSVN maillist
thread pointing to the same.
It seems that actually only left bracket needs to be escaped.
Or, if we wish to be extra-careful about weird installations like WCs
on Samba shares, '?', '*' and '\' can be added.

-- 
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:52:58 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.