Use text/xml for XML files that you want treated as text, where
setting svn:eol-style makes sense and SVN will attempt to merge
contents. Use application/xml for xml files you want treated as
binary.
// ben
On Thu, May 3, 2012 at 5:35 PM, Dmitry Pavlenko <pavlenko_at_tmatesoft.com> wrote:
> 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-04 13:30:08 CEST