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

Re: Forcing svn:eol-style=native on files with "binary" mime types?

From: Andreas Keil <rien_at_nurfuerspam.de>
Date: 2005-09-23 09:00:26 CEST

"Branko Cibej" <brane@xbc.nu> wrote:
> Philip Martin wrote:
>
>>Aleksey Nogin <aleksey@nogin.org> writes:
>>>Then why doesn't it allow setting snv:eol-style=native on a file with
>>>an application/x-foo mime type?

This is exactly my point!

>>Because it's usually a mistake.

No, I totally disagree here (see below).

> Surely a warning is more appropriate here?

Even a warning would be too much as the first part of MIME types (esp.
application) is in *NO* way related to the determination of text vs. binary.
Although it may be safe to assume that text/* files contain text, I wouldn't
use MIME types for the purpose of content classification at all. Who knows
with what kind of MIME types the world comes up tomorrow?

And for those who still didn't get the point I suggest the following
document:
http://www.w3.org/TR/xhtml-media-types/
(The last paragraph contains a summary.)

Now that everyone should believe me that SVN is buggy in this particular
issue, could someone please fix it? It shouldn't be too hard, I think
(although I'm not a SVN developer, sorry.)

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 23 09:03:02 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.