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

Re: Problem with capital file extensions when using the autoprops feature in the svn config file

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Tue, 15 Jul 2008 16:12:24 -0500

On Jul 15, 2008, at 09:14, erik.wuestner_at_etas.com wrote:

> I'm using SVN 1.4.5 on Windows Server 2003 R2 SP2 with Apache
> 2.2.8. Client-side I'm running Win XP SP2 with TortoiseSVN 1.4.7,
> Build 11792.
>
> In my SVN config file I've got the following lines:
>
> ...
> enable-auto-props = yes
> ...
> [auto-props]
> ...
> *.jpg = svn:needs-lock=true;svn:mime-type=image/jpeg
> *.JPG = svn:needs-lock=true;svn:mime-type=image/jpeg
> ...
>
> If I add example1.jpg in TortoiseSVN everything works great.
> However, if I add example2.JPG the autoprops are not applied, i.e.
> example2.JPG ends up with svn:mime-type = application/octet-stream
> and svn:needs-lock NOT set.
>
> If I configure my settings file like this, i.e. I switch the order
> of both lines:
> *.JPG = svn:needs-lock=true;svn:mime-type=image/jpeg
> *.jpg = svn:needs-lock=true;svn:mime-type=image/jpeg
>
> then only example2.JPG gets the correct props set, but example1.jpg
> doesn't. I can reproduce that with other extensions (doc/DOC) as well.
> I think that the entries in the config file should either both be
> recognized or it should be case-insensitive. The way it is right
> now only all lower-case or all upper-case works, which is not
> sufficient.
>
> Any suggestions?

This is a bug:

http://subversion.tigris.org/issues/show_bug.cgi?id=2036

Workarounds are listed there. Also it looks like this was fixed a few
weeks ago, so you can either run trunk or wait until Subversion 1.6.0
is released.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-15 23:13:09 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.