You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Dave Lawrence <dl...@ad-holdings.co.uk> on 2007/08/07 17:09:46 UTC

SVN "This isn't text" property

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!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN "This isn't text" property

Posted by Erik Huelsmann <eh...@gmail.com>.
On 8/7/07, Dave Lawrence <dl...@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