Re: Subversion binary file detection is look like broken

2014-10-04 Thread Branko Čibej
On 03.10.2014 22:30, Barry Scott wrote: > If you do look at this you might want to fix the problem of .svg files > being classed as binary where as they are XML. I'm guessing that the > mime type is used that assumes that an image/* cannot be text. But do you seriously propose that "svn diff" and

Re: Subversion binary file detection is look like broken

2014-10-03 Thread Artem V. Navrotskiy
Hello, 03.10.2014 15:35, Stefan Sperling пишет: On Fri, Oct 03, 2014 at 11:26:32AM +0400, Navrotskiy Artem wrote: Hello, Subversion console client try to detect binary file with algorythm: 1. File is NOT BINARY if it contains only BOM UTF-8 signature (why not check as f

Re: Subversion binary file detection is look like broken

2014-10-03 Thread Barry Scott
On 3 Oct 2014, at 13:15, Julian Foad wrote: > Stefan Sperling wrote: >> On Fri, Oct 03, 2014 at 11:26:32AM +0400, Navrotskiy Artem wrote: >>> Subversion console client try to detect binary file with algorythm: >>> >>> 1. File is NOT BINARY if it contains only BOM UTF-8 signature (why n

Re: Subversion binary file detection is look like broken

2014-10-03 Thread Julian Foad
Stefan Sperling wrote: > On Fri, Oct 03, 2014 at 11:26:32AM +0400, Navrotskiy Artem wrote: >>    Subversion console client try to detect binary file with algorythm: >> >>     1. File is NOT BINARY if it contains only BOM UTF-8 signature (why not >>        check as first N bytes is corret UTF-8?);

Re: Subversion binary file detection is look like broken

2014-10-03 Thread Stefan Sperling
On Fri, Oct 03, 2014 at 11:26:32AM +0400, Navrotskiy Artem wrote: >Hello, > > > >Subversion console client try to detect binary file with algorythm: > > 1. File is NOT BINARY if it contains only BOM UTF-8 signature (why not >check as first N bytes is corret UTF-8?); > 2.

Subversion binary file detection is look like broken

2014-10-03 Thread Navrotskiy Artem
Hello, Subversion console client try to detect binary file with algorythm:File is NOT BINARY if it contains only BOM UTF-8 signature (why not check as first N bytes is corret UTF-8?);File is BINARY if first 1024 bytes contains ZERO byte (uniform distribution of bytes takes change of absent ZERO byt