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

Re: Merging the unmergable

From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-09-12 01:10:24 CEST

"Miller, Eric" <Eric.Miller@amd.com> writes:
>> On 9/11/07, Miller, Eric <Eric.Miller@amd.com> wrote:
>> > Does anyone know if there is a way to specify a merge script for
> binary
>> > files? The --diff3-cmd switch only seems to work on text files.
>
>> You cant merge binary files. You must pick either 1. yours, 2. the
>> one from the repo, or 3. halt, rewrite your binary, then recommit.
>
> You mean "can't" as in "Subversion has no way to let you" or "can't" as
> in "binary files are intrinsically unmergable"?
>
> Cuz I have some binary files I can, and would like to, merge.
>
> Ex:
> Say (for whatever reason) I must maintain binary files.
> Lets just say that some 3rd party tool reads and writes these.
> But it is possible for me to create a diff script that can uncompress,
> merge the text and then rewrite the binary.
> Heck, pretend it is just a gzip'd text file and you have a good example.
>
> So in the case of a gzip it would be gzip -d => diff3 => gzip. But how
> do I tell subversion to use my special diff command for these binary
> files?

http://subversion.tigris.org/issues/show_bug.cgi?id=2447

I.e., we agree, it's a bug.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 12 01:07:06 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.