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

Re: Textual binaries

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-07-30 20:19:48 CEST

On Fri, 2004-07-30 at 13:15, Bill Wohler wrote:
> I've got this JNLP file which is XML but I've marked its mime-type as
> application/x-java-jnlp-file so that the browser will launch Java Web
> Start. However, now I get this when I try to diff the file:
>
> Index: jws/Foo.jnlp
> ===================================================================
> Cannot display: file marked as a binary type.
> svn:mime-type = application/x-java-jnlp-file
>
> Any way to convince Subversion that this particular type is actually
> text and let me diff it? Or is this an RFE?

Subversion has an internal list of mime-types that it thinks are
textual: text/*, and a few others. Otherwise it assumes that any other
mime-type is binary, and un-diffable.

I suppose you could lobby to add "application/x-java-jnlp-file" to that
internal list of text-types, but I suspect that won't go over very
well. :-)

The long-term solution, I suspect, is to allow the client's run-time
'config' file to define a custom list of textual mime-types.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 30 20:22:19 2004

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