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

best way to update large blobs in svn

From: Andreas Hasenack <andreas_at_mandriva.com.br>
Date: 2007-07-02 18:49:02 CEST

I have a situation where I will probably have to store in svn a large
blob, like 230Mb. It's a tarball that only contains source code, but I
need it stored as the tarball.

I'm wondering if there is any best procedure about updating this tarball
considering the amount of space that will be used.

For example, say tarball-1.0.tar.bz2 is 230Mb and tarball-1.1.tar.bz2 is
about the same size. It has a few differences, though (it's a new
version). Usually, one would:
- svn add tarball-1.1.tar.bz2
- svn del tarball-1.0.tar.bz2
- svn commit

If I did a rename before to 1.1 and then updated the tarball, would it
be better? Like:
- svn rename tarball-1.0.tar.bz2 tarball-1.1.tar.bz2
- cp ~/tarball-1.1.tar.bz2 .
- svn commit

Or even:
- svn rename tarball-1.0.tar.bz2 tarball-1.1.tar.bz2
- svn commit
- cp ~/tarball-1.1.tar.bz2 .
- svn commit

I tried it here, but saw no noticeable difference in the repository
size. The end result was sizeof(1.0)+sizeof(1.1) in all cases. Is there
some other way or is that it?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 2 18:49:13 2007

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.