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

Re: Remove old revisions - merge old revs into one?

From: Henrik Sundberg <storangen_at_gmail.com>
Date: Fri, 22 Aug 2008 11:26:26 +0200

2008/8/22 Ryan Schmidt <subversion-2008c_at_ryandesign.com>:
>
> On Aug 22, 2008, at 02:39, Michael Schmarck wrote:
>
>> Is it possible to merge all the "old" (however that's defined)
>> revisions into one and then dump everything that's been done
>> before that "old" rev.?
>>
>> Reason: I don't really need to keep a history of everything
>> back to "day 1".
>
> That's not a good reason.... :)
>
> The repository stores things efficiently, storing only changes between
> revisions. So you probably won't gain much by deleting part of the history,
> and you lose a lot -- the history!

A recent thread mentioned that a few bookkeeping files were created
for each revision. I.e. very many small changes ends up in a big total
(filesystem blocksize is the main reason).

> In some cases, when you go to the effort
> of removing old revisions, your repository even ends up much larger. (Cheap
> copies can become non-cheap, for example, if the source of the copy goes
> away with your deleted revisions.)

Agreed, but a smart tool would be able to handle those cases
efficiently. Resulting in just a few revisions.

Another case is when large binaries was added to the repository,
before all internal rules where set up. In this case I would like to
purge the database from all files that where deleted prior to revision
x. That may be a part of the eventual obliterate functionality though.

Making a good old revision compression tool seems to be quite
difficult and not really needed though.

/$

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-22 11:26:43 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.