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

diff-cmd with binary files

From: Jason Rust <jrust_at_rustyparts.com>
Date: 2003-11-18 20:52:21 CET

I'm trying to use an external diff command (gnu diff) when showing the diff between
two binary files. The command I run:
svn diff --diff-cmd /usr/bin/diff -r 878:879 logout.gif
Results in this error:
Binary files logout.gif (revision 878) and logout.gif (revision 879)
differ
svn: Error calling external program
svn: '/usr/bin/diff' returned 2

If I leave out the svn diff-cmd option I get:
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Is this user error or a bug in svn/diff?

Using svn 0.32 and diff 1.8.2

Thanks,
-Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 18 20:47:08 2003

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.