> 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)

svn:eol-style and svn:mime-type application/octet-stream are pretty much 
mutually exclusive. 

Which is why it tells you not to set an eol-style on a binary file. 

Are you saying you want it to not allow setting a file as binary if it has an 
eol-style set?

BOb

Reply via email to