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

Re: auto-props syntax in file vs. property

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 09 Jan 2018 16:05:29 +0000

Chris wrote on Tue, 09 Jan 2018 15:15 +0000:
> When setting svn:auto-props, it seems I can do this:
> *.java = svn:mime-type=text/java;;charset=iso-8859-1;svn:eol-style=LF
> That is, use ;; as an escape between the "parameters" for file type and
> charset. Adding a java-file and doing propget gives this:
> text/java;charset=iso-8859-1
> Which seems to be correct. Right?


> Using the exact same line in ~/.subversion/config seems to see "charset"
> as a separate property from "mime-type" and set two different properties
> on the file with "charset" having no meaning.

I can't reproduce this. With that line in ~/.subversion/config I get:

% svn add foo.java
A foo.java
% svn pl -v foo.java
Properties on 'foo.java':

(The value 'native' was inherited from svn:auto-props in the working
copy I was testing in.)

Also, does it really set *two* properties on the file? Not three? "svn:mime-type",
"charset", "svn:eol-style"?

What client and version do you use?


Received on 2018-01-09 17:05:36 CET

This is an archived mail posted to the Subversion Users mailing list.