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

Re: Text mime types

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2005-06-08 17:41:14 CEST

On Wed, 08 Jun 2005 12:15:34 +0100, Julian Foad
<julianfoad@btopenworld.com> wrote:

>> A simple svn:binary flag set if needed automatically when a file is
>> added (cf application/octet-stream) should make the whole thing a lot
>> simpler
>
>Make what simpler?

AIUI, commands such as svn blame, svn merge, etc. will use the
'binaryness' of a file to determine if to proceed. Currently, a file
is treated as binary if it has a mime type other than text/*,
image/x-xbitmap or image/x-xpixmap. I can only see that list of
mime-types growing, so a single "binary or text" flag could make it
simpler. svn add/import can continue to detect binary/text files as it
does currently, and set the flag accordingly.

Greg

-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 8 17:58:54 2005

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.