[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: Bill Wohler <wohler_at_newt.com>
Date: 2004-07-30 20:35:36 CEST

Ben Collins-Sussman <sussman@collab.net> wrote:

> 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.

The former solution would better, of course, but I could live with the
latter. Like other entries (such as auto-props) in the client's config
file, we'd prefer to see this set in a server's config file.

Would you like me to lodge an RFE for this?

-- 
Bill Wohler <wohler_at_newt.com>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.
---------------------------------------------------------------------
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:36:16 2004

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.