[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 22:51:11 CEST

Stuart Celarier wrote:
>>>Changing the value in the General Settings dialog does not change the
>
> global-ignores in the Subversion config file, so that's not it. There is
> something more going on. Could you please shed some light, so I know
> what question to ask on the Subversion mailing lists.
>
>
>>Looks like TSVN is using a registry value.
>
>
> Okay, so how does TSVN use this registry value and where does that show
> up in Subversion (or does it)? My objective is still to learn what the
> syntax is for the pattern.

Digging around a little, the SVN book says that it is a filename
globbing pattern (rather than a regex) as used in *nix. However, there
is no single definition of globbing, so it is not clear which meta
characters are supported. I would assume the minimum.

* = zero or more occurrences of any char.
? = 1 occurrence of any char.
[QRSa-z] = single occurrence of any of the specific listed chars,
            or within a range shown using the '-' sign.
\ = escape for a meta chars.

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.

Would anyone like to add to that definition?

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 22:51:32 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.