Hello Bob,
> Are you saying you want it to not allow setting a file as binary if it has an eol-style set?
Yes. And the reason for that is refusing to set eol-style on binary
file, which makes sense.
Semen Vadishev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
http://sqljet.com/ - Java SQLite Library!
On 01.09.10 19:42, Bob Archer wrote:
>> 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
>
Received on 2010-09-01 17:48:45 CEST