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

svn diff with binary files

From: Eric Seppanen <eds_at_reric.net>
Date: 2004-11-20 01:42:29 CET

Hi,

I'm evaluating Subversion right now, and have svn 1.1.1 installed
along with websvn 1.6.1. I have a tree that contains several large
binary files (8 files at about 400kb each) and I notice that this is
slow to work with.

The reason: if I ask websvn to show me what changed between two
versions, it executes the command:

> svn --non-interactive diff -r2:4 file:///my-repos/tree/

... and the problem is this command takes 5-7 seconds of CPU time to
complete. All a waste, I think, because it can't actually print
anything about the binary files other than:

  Cannot display: file marked as a binary type.
  svn:mime-type = application/octet-stream

So why does it take so long? I can only guess that it's actually
chewing on the binary files for a while.

Is there any way to get svn to not waste cpu time trying to diff files
it already knows are binary and undisplayable? Should there be a way?

I might even suggest that that's the way it ought to always work.

Thanks,
Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Nov 20 01:44:36 2004

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