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

Howto reduce repository size

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2005-07-26 10:48:47 CEST

Hi Folks,

in my company we have reached the stage where our subversion backups
don't fit onto the backup tapes anymore. We have decided, that we want
to get rid of the old history in some projects, but to preserve the
revision numbering, so that people don't have to relocate their working

Our idea was the following:
svnadmin dump myproject --revision 0:500 > oldstuff.dmp
svnadmin dump myproject --revision 501:600 > newstuff.dmp

If I now do 'svnadmin load mynewproject < newstuff.dmp', svnadmin
renumbers the revisions, so that the repository ends at r100 and not at
r600 as I hoped.

How can I solve this? Do I have to pad the "newstuff" dumpfile with
empty revisions 0:500, that just contain a log message like "removed
from repository to save space".

Has - by chance - anyone already solved this and provide me with a ready
made script or the correct sequence of svn commands? :-)

Cheers & thanks
- Lübbe

   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 26 10:51:02 2005

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.