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

Re: Global-Ignores Aren't Ignored

From: Allen Moore <amoore_at_amtekdesign.com>
Date: 2005-08-09 19:47:18 CEST

>
> On Aug 8, 2005, at 2:25 PM, Allen Moore wrote:
>>
>> So then as a test, I create a file (foo.obj) in a temporary directory
>> and run an import command, expecting the file to be ignored by import.
>> c:\temp> svn import . file:///c:/svn -m "Initial import"
>>
>> However foo.obj is still imported into the repository.
>
> I also just tested this using svn 1.2.1 on Windows, and I couldn't
> reproduce. The .obj file was *not* imported into the repository.
>
> Perhaps you forgot to uncomment the [miscellany] section header in the
> config file?

Nope, that was OK.

>
>

However I believe I've found the problem. The global-ignores statement in
the 'config' file is case-sensitive--"*.obj" is not the same as "*.OBJ", and
it was the latter form that I happened to have in my working directory.
Working with a case-insensitive OS, I tend to forget about case. Once I got
the case to match, everything worked as expected.

By the way, I couldn't find any mention of case-sensitivity for this
situation in the Subversion book or in the config file comments. Adding a
short reminder might help others avoid this particular problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 9 19:49:00 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.