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

RE: A simple (?) suggestion from a svn fan :)

From: Sander Striker <striker_at_apache.org>
Date: 2003-02-24 19:27:22 CET

> From: sussman@collab.net [mailto:sussman@collab.net]
> Sent: Monday, February 24, 2003 8:55 PM

> Alessandro Polverini <polverini@nibbles.it> writes:
> > So, I'm wondering: would it be possible to implement this behaviour in
> > svn, when checking in files that have a certain property set:
> > - gunzip the file
> > - diff it with the previous (gunzipped) file
> > - store differences (diff works well enough with xml files)
> Internally, Subversion uses a binary diff algorithm to express all
> file differences, regardless of whether a file contains text or binary
> data. So when you store successive versions of a binary file in a
> Subversion repository, you *are* getting differential (compressed)
> storage.

Yes, but the size of the diff is increased tremendously because gzip
messes it up. Try gzipping one file, make a small change to the file,
gzip again and compare. This isn't something we can trivially solve
I think.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 24 19:28:35 2003

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