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

Binary data in diff / patch files

From: Brian Munroe <brian.e.munroe_at_gmail.com>
Date: 2007-09-14 02:03:48 CEST

Has there ever been any discussion of creating a special diff format
that also contains binary data?

A lot of times, if I find myself without access to the repository (for
example, I am outside the company firewall), I find it easier to email
a patch to the build manager.

This works great for 99% of what I am submitting, but sometimes I need
to also include a binary resource (pdf, png, jpg, what-have-you) and
creating a patch doesn't include anything but a placeholder in the
patch file. For example:

Index: docs/JVM Memory.pdf
=================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

I usually email these resources separate from the *.diff, but I was
wondering if anyone had a better suggestion or recommendation.

thanks

-- brian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 14 02:00:56 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.