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

Diffing binary files

From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: Thu, 31 Mar 2011 08:00:17 +0000

Hi all!

Some time ago I tried to diff two exe-files using TortoiseSVN. I was positively surprised to find that we indeed have a diff script for that!

Unfortunately the result was not really what I expected. Neither exe-file provided any version information, and this triggered the script to say that files are identical, even though they differed in both size and content.

I did some modifications to the script and the result is attached.

This new version can be used as a drop in replacement for diff-dll.vbs, but it is really intended to be able to diff all binary (svn:mime-type = application/octet-stream) files.

Would it be possible to call this script diff-binary.vbs, and use it as the default diff script if no other diff script matches and at least one of the files to be diffed has the binary mime type?

Hans-Emil

PS. I will be going on a two week trekking vacation tomorrow, so if I'm uncharacteristically silent for some time you know why. :-) DS.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2715545

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2011-03-31 10:00:29 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.