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

svnlook diff fails on binary files:

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-11-09 06:53:22 CET

It looks like diff is being called on for binary files in svnlook.
This will mess up our commit emails when binary files are added or
modified in the repos.

rm -fr repos r
svnadmin create repos
svn co file://`pwd`/repos r
cd r
dd if=/dev/urandom of=file bs=1024 count=1
svn add file
svn ci -m ''
cd ..
svnlook repos diff

This generates:

Checked out revision 0.
1+0 records in
1+0 records out
A (bin) file
Adding (bin) file
Transmitting file data .
Committed revision 1.
Added: file
==============================================================================
Binary files file (original) and file differ
svn: Error calling external program
svn: /usr/bin/diff returned 2

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 9 06:53:47 2002

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

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