[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: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 28 Nov 2012 15:36:26 -0500

On Wed, Nov 28, 2012 at 3:10 PM, Matthew Bluhm <matthew.bluhm_at_bluhm.biz>wrote:

>
> Is there an easy way to purge out the earliest 6,000 Revisions of the
> 9,600 that are in my repository?
>
> In a perfect world I would keep my revision numbers and timestamps, but
> that isn't 100% required.
>
>
Short answer: No.

Longer answer: It can be done, but everyone will have to check out new
working copies and you might get weird results due to the loss of history.
There is no "easy" way to do it, but if all you're doing is cutting off the
first X revisions it's not the most complex task. You will keep the commit
timestamps, but the revision numbers will be reset (unless you enter dummy
revisions, which will then make your repository appear to own a modified
DeLorean, unless you then further mangle those dummy revisions to change
their timestamps).

Version control systems are designed to keep your history. "Purging" goes
against this core concept. Why are you embarking on this endeavor?
Received on 2012-11-28 21:37:41 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.