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

Re: predict disk space reduction while deleting a part of the repository

From: John Peacock <john.peacock_at_havurah-software.org>
Date: 2007-12-19 16:59:52 CET

Antonietti, Francis wrote:
> Is it possible to predict how much I can reduce the whole repository (in
> bytes) by deleting some branches from the repository. I guess this
> should go somehow over the db logs but I have no idea how.

I can confidently predict that you will save precisely zero bytes (in
fact it will rise by a very small amount). ;-)

There is no obliterate command in subversion; deleting a branch merely
marks it as being deleted. All of it's history is preserved in whole
(in a fairly efficient compressed format).

The only [current] way to reduce the size of a repository is to use

        svnadmin dump | svndumpfilter | svnadmin load

and recreate the repo from scratch (minus the filtered revs). This will
unfortunately invalidate any existing working copies...

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 19 17:00:28 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.