[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 15:30:57 CEST

Jan Normann Nielsen wrote:
> 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...

It's not the same as what is quoted above.
'.nbattrs' -> '*.nbattrs'
'content.xml' -> '*content.xml'

I missed out *~ by mistake, so the full ignore is:
*.class *content.xml *~ *.nbattrs

If that doesn't work, tell me what files show up in check for modifications.

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 15:30:17 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.