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

Re: binary diffs

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 26 Feb 2009 13:59:36 -0500

On Wed, Feb 25, 2009 at 2:30 AM, Alex Custov <alex.custov_at_gmail.com> wrote:

> I searched users@ but didn't find any suitable topic with the answer
> to the simple question: is it possible to download diffs for binary
> files as is done for text files? When I do "svn co", svn client
> downloads _entire_ binary files and diffs for text files. We have some
> big binary files in our rep (.tar.bz2, ~150Mb each) and when it
> changed I need to download them again again, wasting gigabytes of
> traffic. It is written in svn manual that svn internally uses xdelta
> to make diffs between different versions of files, including binary
> files, but it seems to work only internally :( So is it possible to
> download binary diffs and apply them locally as it done for text
> files? Thanks!

svn is already doing this. What you are seeing is that certain binary
files, especially those with compression, do not delta well. You'd
actually be better off it was possible to turn OFF this feature (it
isn't).

It is possible to make compressed tarballs that are delta friendly.
Google for "rsync gzip". In theory these files ought to also work
better with SVN.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1234349
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-26 20:00:27 CET

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.