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

Re: SVN "This isn't text" property

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-08-07 23:25:53 CEST

On 8/7/07, Dave Lawrence <dlawrence@ad-holdings.co.uk> wrote:
> What's the best way of saying that a file "isn't text" (even though it
> is). We have a couple of files that are binary data coded up as comma
> separated byte values. I essentially want them to be treated as binary
> for the following reasons:
>
> 1) Auto-merge should not be possible
> 2) The changeset note generated by Trac should not contain a "diff" of
> the file (otherwise a very large web-page with a long load-time results)
>
> I read somewhere that setting svn:mime-type to application/octet-stream
> should solve issue (1), but a quick test shows it doesn't solve issue 2.
> I'm really not sure whether issue 2 is a trac issue or a SVN issue,
> I've asked here first because I'm already subscribed to your list!

Yes, the svn:mime-type property, see
http://svnbook.red-bean.com/nightly/en/svn.advanced.props.file-portability.html#svn.advanced.props.special.mime-type

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 7 23:24:17 2007

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.