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

Re: Removing unwanted data/release !!

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 14 May 2009 06:29:27 -0400

On Thu, May 14, 2009 at 03:30, Himanshu Raina <raina_himanshu_at_yahoo.com> wrote:
> Hi,
>
> I have multiple repositories setup on my SVN server. As large number of
> commits are made the repository size keeps increasing regularly. Is there a
> way I can get rid of all unwanted revisions i.e. for example my current repo
> version is 4500 and I would want to keep only last 100 revision and delete
> all other. Is it possible and if yes then how ?

The whole point of a system like Subversion is to preserve your
history. It's assumed that ALL revisions are wanted.

Unless you're changing many very large binary files, or doing your
moves & copies wrong, your repository should not be growing too
quickly. What kind of growth are we talking about here?

It is possible to remove revisions, but it requires taking the
repository offline, dumping the contents, then loading what you want
left in the repository (see
http://svnbook.red-bean.com/en/1.5/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering
). And depending on your repository activity, doing so can actually
*increase* the size of your repository.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2254452

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-14 12:30:27 CEST

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.