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

setting svn:eol-style=LF and svn:mime-type=application/xml

From: Dmitry Pavlenko <pavlenko_at_tmatesoft.com>
Date: Thu, 3 May 2012 17:35:47 +0200

SVN properties setting depends on the order.
(branches/1.7.x, r1330327)

I.e. if I set svn:eol-style before svn:mime-type, everything is ok. Otherwise there can be a
problem. What behaviour is expected: failure in both cases or success in both of them?

svn:eol-style before svn:mime-type:

$ svn propset svn:eol-style LF file1.xml
property 'svn:eol-style' set on 'file1.xml'

$ svn propset svn:mime-type application/xml file1.xml
property 'svn:mime-type' set on 'file1.xml'

vice versa:

$ svn propset svn:mime-type application/xml file2.xml
property 'svn:mime-type' set on 'file2.xml'

$ svn propset svn:eol-style LF file2.xml
svn: E200009: File '/tmp/test-co/file2.xml' has binary mime type property
Received on 2012-05-03 17:37:25 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.