You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Henrik Sundberg <st...@gmail.com> on 2008/04/29 11:03:33 UTC

Case sensitivity for auto-props?

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?
/$

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Case sensitivity for auto-props?

Posted by Henrik Sundberg <st...@gmail.com>.
2008/4/29 Ryan Schmidt <su...@ryandesign.com>:
>
>
>  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

Thanks!
/$

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Case sensitivity for auto-props?

Posted by Ryan Schmidt <su...@ryandesign.com>.
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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org