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

Re: How to prune old versions of an artefact?

From: Mat Booth <mat.booth_at_wandisco.com>
Date: Mon, 15 Jul 2013 10:51:19 +0100

On 15 July 2013 10:09, David Aldrich <David.Aldrich_at_emea.nec.com> wrote:

> Hi****
>
> ** **
>
> We are running a svn 1.7 server. ****
>
> ** **
>
> One of our repositories contains an artefact that is 4GB. It consists of
> a set of regression test results that we want to version control. This
> artefact changes infrequently Ė say every month or two Ė but itís enormous
> size is causing concern for IT Manager, as the svn database is slowly
> increasing in size.****
>
> ** **
>
> I would like to prune very old versions of this artefact from the serverís
> database. I realise that pruning is not generally a good idea for a
> version control system, but this is an exceptional case.****
>
> ** **
>
> What is the current status of pruning in svn, i.e. how can I do it?****
>
> ** **
>
> Best regards****
>
> ** **
>
> David****
>
> ** **
>

Hi David,

For the cost of your time and your IT Manager's time that he has spent
worrying about it, he could have just bought some larger disks ;-)

I think the canonical way to accomplish what you want is to use a dump
filter, see this section of the manual:

http://svnbook.red-bean.com/en/1.7/svn.ref.svndumpfilter.html

-- 
Mat Booth
Software Engineer | WANdisco
http://www.wandisco.com
Received on 2013-07-15 11:51:52 CEST

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