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

Re: Server side svn:auto-props, how to set it correctly?

From: Branko Čibej <brane_at_apache.org>
Date: Sat, 17 Feb 2018 09:40:35 +0100

On 17.02.2018 08:18, Bo Berglund wrote:
> On Fri, 16 Feb 2018 10:20:05 +0100, Branko ?ibej <brane_at_apache.org>
> wrote:
>
>>> editor pops up and I enter all of the lines like:
>>> *.c = svn:eol-style=native
>>> *.cpp = svn:eol-style=native
> Do I also have to handle case here?
> I.e. for each file pattern do I have to figure out all case
> permutations too?
> Ex:
> *.cpp = svn:eol-style=native
> *.cpP = svn:eol-style=native
> *.cPp = svn:eol-style=native
> *.cPP = svn:eol-style=native
> *.Cpp = svn:eol-style=native
> *.CpP = svn:eol-style=native
> *.CPp = svn:eol-style=native
> *.CPP = svn:eol-style=native
>
> Or is it just the svn_apply_autoprops.py that uses case sensitive
> pattern recognition?
> I noticed a file not getting the property set when I used it...
> It was named in all caps.

Paths in Subversion are case-sensitive. All patterns are case-sensitive
too. You'll either have to add all case permutations, as you showed
above, or teach your users some discipline in naming files.

-- Brane
Received on 2018-02-17 09:40:42 CET

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.