[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: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2005-12-07 17:17:22 CET

On 12/7/05, Hadmut Danisch <hadmut@danisch.de> wrote:

> If I have a presentation with 10 MB of graphics, and enter just a
> single word, SVN wastes another 10 MB just for every little change.

I think you're exaggerating, this is the extreme worst case it could
possibly ever be. It's what CVS does, in fact; it doesn't try to
examine differences between binary files, it just stores each one in
full.

Try it yourself: make a .zip presentation with 10MB of graphics and
commit it to an svn repository. Change one word in the presentation.
Now commit that new .zip to the repository. The repository's size
should only grow by the binary difference between the 2 zip files. I
don't believe that every single byte will be different, maybe 50% of
them will. So I would expect the repository to grow to 15MB, not
20MB.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 7 17:25:08 2005

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