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

Re: Another request for obliterate...

From: Saulius Grazulis <grazulis_at_akl.lt>
Date: 2005-04-12 08:49:19 CEST

On Tuesday 12 April 2005 08:13, Joshua Jensen wrote:

> A dump/load of the database won't work, as it can't filter out old
> revisions.  Worse, a dump/load of a 500+ gigabyte repository would cause a
> LOT of downtime.

Well, it can:

saulius@kolibris: saulius/ > svnadmin dump --help
dump: usage: svnadmin dump REPOS_PATH [-r LOWER[:UPPER]] [--incremental]


Valid options:
  -r [--revision] arg : specify revision number ARG (or X:Y range)


svnadmin dump -r 100:HEAD /path/to/the/repo

should do the job of selecting just the latest revisions.

Whether this is practical is another question...

Saulius Gražulis
Visuomeninė organizacija "Atviras Kodas Lietuvai"
P.Vileišio g. 18
LT-10306 Vilnius
Lietuva (Lithuania)
tel/fax:      (+370-5)-210 40 05
mobilus:      (+370-684)-49802, (+370-614)-36366

  • application/pgp-signature attachment: stored
Received on Tue Apr 12 08:49:41 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.