[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: Jan Normann Nielsen <lists_at_dubbekarl.dk>
Date: 2005-07-13 15:14:40 CEST

Simon Large wrote:

> 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

This is where I started and why I posted to the list in the first place.
If I do this, these files show up in the "check for modifications" as
non-versioned files...

Best regards,
Jan Nielsen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jul 13 15:15:53 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.