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

Re: Exclude/Ignore pattern

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-10-12 23:30:21 CEST

Norbert Unterberg wrote:
> 2005/10/12, Simon Large <simon@skirridsystems.co.uk>:
>
>
>>Pattern matching is case sensitive, and if directory names are present
>>in a path, they are included in the matching, so pattern 'Fred.*' will
>>match 'Fred.c' but not 'subdir/Fred.c'. This is significant if you add a
>>folder containing some files that you want to be ignored.
>
>
> So what strings are compared under windows? subdir/fred1 or subdir\fred1?
>
> So what would be the correct string to ignore all CVS folders? I
> always fall over that and do not get it right! Do I need "CVS */CVS"
> or "CVS *\CVS" or "CVS *\\CVS" or "CVS */CVS/* */CVS CVS/*"?

Because it is subversion doing the path handling you always need forward
slashes. You need either '*CVS' or the pair 'CVS */CVS'.

'*/CVS' alone will fail to match 'CVS'. But '*CVS' will also match
'ThisIsNotCVS'.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Oct 12 23:30:38 2005

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.