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

Re: xml file handling

From: Branko Čibej <brane_at_wandisco.com>
Date: Fri, 28 Feb 2014 10:51:08 +0100

On 28.02.2014 08:04, Manfred Lotz wrote:
> Hi there,
> I have a strange phenomena.
>
> In ~/.subversion/config I have
>
> [miscellany]
> enable-auto-props = yes
>
> [auto-props]
> *.xml = svn:eol-style=native; svn:keywords=Author Date Id Revision
>
>
> Fedora 20, subversion 1.8.5-2
>
> svn add my.xml
>
> svn: E200009: Can't set 'svn:eol-style': file
> '/data/mysvn/trunk/my.xml' has binary mime type property
>
>
> Ubuntu 12.10, subversion 1.7.5-1
>
> svn add my.xml
>
> works just fine,
>
>
> Any idea why the behavior is different?

The version on Fedora is probably using libmagic which thinks all XML
files should have MIME-type application/xml. I suggest you prepend
"svn:mime-type=text/xml;" to your "*.xml" line in the auto-props.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2014-02-28 10:51:58 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.