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

Re: svn:mime-type and */*+xml

From: Travis P <svn_at_castle.fastmail.fm>
Date: 2004-05-13 19:13:24 CEST

On May 13, 2004, at 10:19 AM, Curtis G Pew wrote:

> The svn book says:
>
> " ... if a file's svn:mime-type property is set to a non-text MIME
> type (generally, something that doesn't begin with text/, though there
> are exceptions), Subversion will assume that the file contains
> binary-that is, not human-readable-data."
>
> So I was wondering if "*/*+xml" types were among the exceptions. In
> particular, I have a SVG file and I'm wondering if setting the MIME
> type to 'image/svg+xml' means Subversion will treat it like a binary
> file.

I would guess that many if not most XML representations need to be
treated as a binary file because they cannot be merged. If Subversion
thinks such a file is text, it'll try to merge, creating quite possibly
a very nonsensical result.

-Travis

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 13 19:15:49 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.