[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-09-04 19:04:02 CEST

Alexander Klenin wrote:

>>> 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.

I think the brackets are enough. If someone really has such filenames on
  some strange shares, SVN and TSVN wouldn't work quite well anyway.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Sep 4 19:00:55 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.