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

Re: [TSVN] Ignored files not ignored in non-versioned folders

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-07-13 12:41:32 CEST

Jan Normann Nielsen wrote:
> I just changed my exclude/ignore pattern from
>
> *.class context.xml *~ .nbattrs
>
> to
>
> */*.class */context.xml */*~ */.nbattrs
>
> like you told me to, but now all my .class files and context.xml files
> show up in the add & commit dialogs. Did I misunderstand something?

SVN matches the whole path with the ignore pattern. It does not divide
into directory and path, so *.class will match 'foo.class' and
'bar/foo.class'. */*.class will not match 'foo.class' because it cannot
find the '/'.

I only put the */.nbattrs to avoid matching 'foo.nbattrs', but that is
fairly unlikely. I suggest this pattern:

*.class *content.xml *.nbattrs

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 Jul 13 12:40:51 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.