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

Re: Autoexpanding ZIP archives?

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2005-12-08 19:05:46 CET

On Thu, Dec 08, 2005 at 11:19:36AM -0600, Ben Collins-Sussman wrote:
> IIRC, the binary diffs being stored in the repository are guaranteed
> never to be bigger than the the original file. So if you make a small
> change to a 10MB binary, and the resulting binary diff is >10MB, then
> I believe the repository just stores the fulltext instead of the diff.

That's not true for FSFS, from what I can see, since it doesn't know
the size of the delta-rep until after it's already written it to the
proto-rev file. That was actually something I was going to bring up,
though I don't know how to fix it.

(And in the cases I've seen (data from /dev/urandom), it's typically
~105% of the PLAIN file size anyway, so I doubt it's worth the bother for
space; it might be for time: we'd not have to read any prior revisions
to reconstruct the file).

Regards,
Malcolm

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 8 19:37:17 2005

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