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

Re: Cannot ignore folders containing square-brackets

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-09-04 16:17:33 CEST

On 04/09/07, Norbert Unterberg <nunterberg@gmail.com> wrote:
> 2007/9/4, Adrian Rosca <adrian.rosca@imenda.com>:
> >
> > When commiting, I select "Add to ignore list" on folders containing
> > square-brackets, eg. [Release]. They vanish as usual when an ignore is
> > successful, but reappear when I am commiting next time.
>
> The ignore feature uses regular expresssions, so [Release] ignores
> files with the names R, e, l, a and s. To ignore "[Release]" I guess
> you have to escape the brackets and write \[Release\] as an ignore
> name.

Strictly speaking it uses filename globbing, which is similar but not
identical to to regex. There is a description in the help file - look
for 'globbing' in the index.

Escaping the brackets as Norbert says should fix it.

Simon

-- 
       ___
  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 16:14:25 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.