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

Re: Purging old Revisions

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 29 Nov 2012 11:35:19 -0500

On Wed, Nov 28, 2012 at 5:57 PM, Matthew Bluhm <matthew.bluhm_at_bluhm.biz> wrote:
> There were some binary files that were included as part of the projects that
> weren't necessary, so its tons of seemingly small mistakes.
>
> The repository was started 5 1/2 years ago. Revision #6,000 was about 2
> years ago. I have never used any history older than 24 months.
>
> Even though 10 GB doesn't seem big, about 2/3 of it is a waste, so its
> wasting time and money.
>
> I agree that the whole idea is too keep the history, but oldest transactions
> provide the least value for me.

This is an easier problem to solve than getting rid of old revisions.
Just create a dump file of your repository and pipe it through
svndumpfilter using the --exclude option to remove any paths you want
to remove from your repository. Then load the end result into a new
repository This will allow you to strip out the large binary files
and recover disk space without needing to drop revisions.

Simply removing the first 6000 revisions is not going to accomplish
what you want.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2012-11-29 17:35:53 CET

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.