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

Re: Case sensitivity for auto-props?

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Tue, 29 Apr 2008 06:34:16 -0500

On Apr 29, 2008, at 6:03 AM, Henrik Sundberg wrote:

> I realized that we have both .eap and .EAP files in our repository (I
> currently assume that it is to be allowed).
>
> Is the [auto-props] section case sensitive/insensitive for all file
> systems (operating systems)?
>
> The book says: "The auto-props section controls the Subversion
> client's ability to automatically set properties on files when they
> are added or imported. It contains any number of key-value pairs in
> the format PATTERN = PROPNAME=PROPVALUE where PATTERN is a file
> pattern that matches a set of filenames and the rest of the line is
> the property and its value. Multiple matches on a file will result in
> multiple propsets for that file"
>
> If it is case sensitive on Linux, I will need to add both .EAP and
> .eap properties, but that will give dubble definitions it it is
> insensitive on Windows.
>
> What to do?

I believe it is case-sensitive, and that you should define it like this:

[auto-props]
*.[eE][aA][pP] = svn:mime-type=what/ever

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-29 13:34:33 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.