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

Re: [Subclipse-users] MIME types

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 17 Sep 2008 10:01:56 -0400

On Wed, Sep 17, 2008 at 9:59 AM, Hendrik Maryns
<qwizv9b02_at_sneakemail.com> wrote:

> After two questions on the Subclipse list/group today, I started reading
> about how Subversion handles mime types. It seems like I have to
> provide it with a mime-types-mapping file. A file like that is present
> in Gnome, though. Why doesn't Subversion consider this file by default?
> I suppose KDE has a similar ssystem set up? Why ask the user to
> configure this file by hand?

I am not even aware of it supporting a file, although that may be a
new feature. You'd really have to ask the SVN users@ list.

> Second question: is it useful to enter more specific MIME types then the
> generic application/octet-stream? Does it make any difference anywhere
> if it says image/png or application/x-tex? The latter might be
> problematic, I suppose, since it doesn't say 'text', although a TeX file
> is text only and should not be excluded from contextual merge.

If there is a MIME type, and it is not text/* then the file will not
support contextual merging and is treated as binary. The main purpose
of the MIME type is simply to serve it via HTTP using that mime type.
When accessing the repository directly via HTTP GET command.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-09-17 16:02:02 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.