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

Re: [bug?] svn can't handle mixed case in auto-props patterns.

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Sun, 1 Jun 2008 01:22:30 -0500

On May 30, 2008, at 07:08, Vincent Lefevre wrote:

> On 2008-05-29 17:13:00 +0200, Henrik Sundberg wrote:
>
>> Use the autpoprops pattern [Mm]akefile instead, just as you did in
>> your grep.
>
> I've tried:
>
> [Mm]akefile = svn:mime-type=text/x-makefile
>
> but this doesn't work:
>
> vin:~tmp/wc> svn add MakeFile Makefile makeFile makefile
> A MakeFile
> A Makefile
> A makeFile
> A makefile
> vin:~tmp/wc> svn pl -v MakeFile Makefile makeFile makefile
> vin:~tmp/wc>
>
> (both Makefile and makefile should have the property).

I thought that would work too but I tried it and it didn't for me
either. I'm using Subversion 1.4.6 on Mac OS X 10.4.11 Intel, with
the working copy on a UFS disk image so as to be case-sensitive.

We just had a long discussion a few months ago about these types of
patterns, but I see now it was about ignore patterns, not about
autoprops definitions. I'm surprised they don't work the same way.

http://svn.haxx.se/users/archive-2008-03/0737.shtml

> Also I don't understand why things like
>
> Makefile = svn:mime-type=text/x-makefile
> makeFile = svn:mime-type=text/x-makefile
>
> don't work as expected. I get:
>
> vin:~tmp/wc> svn pl -v MakeFile Makefile makeFile makefile
> Properties on 'Makefile':
> svn:mime-type : text/x-makefile
> vin:~tmp/wc>

I don't remember if it was about ignore patterns or autoprops
definitions or both, but I recall a prior discussion in which it was
explained that internally Subversion handles some part of this case-
insensitively, thus the second definition overwrites the first? Maybe
I have the specifics wrong but I do recall this being mentioned before.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-01 08:23:05 CEST

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.