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

Re: svn commit: r1441814 - in /subversion/trunk/subversion: svn/

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: Sun, 3 Feb 2013 06:06:47 -0500

On Sun, Feb 3, 2013 at 4:41 AM, Bert Huijben <bert_at_vmoo.com> wrote:

> Maybe we should try to fix this automatic detection then (Does your
> setting match the libmagic output for that file?) instead of adding
> just a warning when setting the file binary explicitly.
>
> Maybe we should validate our libmagic based decision to make something
> binary?
>

Taking a look while here at FOSDEM...libsvn_client set the mime-type as
"application/xml":

% svn diff index.shtml
Index: index.shtml
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/xml
% svn pg svn:mime-type index.shtml
application/xml
% file --mime-type index.shtml
index.shtml: application/xml
% file -v
file-5.11
magic file from /opt/local/share/misc/magic

I thought we treated application/xml as text at one time? -- justin
Received on 2013-02-03 12:07:23 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.