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

Mark file with svn:eol-style as binary

From: Semen Vadishev <semen.vadishev_at_svnkit.com>
Date: Wed, 01 Sep 2010 19:35:11 +0400

 Hello,

The following behavior seems to be unexpected.

1. Set 'native' EOL style on file:

$ svn ps svn:eol-style native file
property 'svn:eol-style' set on 'file'

2. Mark this file as binary:

$ svn ps svn:mime-type application/octet-stream file
property 'svn:mime-type' set on 'file'

I believe the behavior is unexpected since svn refuses to do the same
steps in reverse order.

$ svn ps svn:mime-type application/octet-stream file
property 'svn:mime-type' set on 'file'

$ svn ps svn:eol-style native file
svn: File 'file' has binary mime type property

The described above is reproducible with subversion build from 1.6.x
branch sources:

$ svn --version
svn, version 1.6.13 (dev build)

-- 
Semen Vadishev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
http://sqljet.com/ - Java SQLite Library!
Received on 2010-09-01 17:39:24 CEST

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.