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

Re: How to get rid op binary mime-type on a text file

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2007-11-13 18:00:05 CET

On Tue, 13 Nov 2007 10:44:40 -0600, "Ron Romero"
<Ron.Romero@troux.com> wrote:

>It seems to me
>that it should be a proper property, something like svn:binary . Then
>subversion could continue to default it, but users could set it with
>setprop and auto-props.
>
>Does that sound reasonable? If I'm not completely off base, I'll enter
>a feature request for it.

I totally agree. The thread at
http://svn.haxx.se/dev/archive-2005-06/0238.shtml discusses this,
though it quickly gets lost in determining what MIME-type/encoding
foo.txt.tar.gz should have.

So yes, I'd agree that a "svn:binary" flag is used to determine if a
file is treated as binary for svn diff/blame/merge, and is set
automatically using the same method as the "application/octet-stream"
svn:mime-type property
(http://subversion.tigris.org/faq.html#binary-files).

I wrote the above FAQ because I was trying to get my head around what
defined a file as 'binary'. I think the arbitrary nature of the
text/binary decision listed in the FAQ merely emphasises the point.

Greg

-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 13 18:01:02 2007

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.