[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 17:51:49 CEST

Simon Large wrote:

> 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.

I think my patterns have been rewritten too many times in these mails so
we lost the original intent.

Let's just say that an ignore pattern of:

*.class context.xml */context.xml *~ .nbattrs */.nbattrs

solved my problems.

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 17:53:11 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.