On Fri, 28 Feb 2014 10:51:08 +0100 Branko Čibej <br...@wandisco.com> wrote:
> 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 > > Specifying the mime type for *.xml in the config file does the job. -- Manfred