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

Re: some requests/questions .

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-07-13 01:00:52 CEST

Féliciano Matias <feliciano.matias@free.fr> writes:

> > You can still create a partial dump as you
> > suggest by running 'svnadmin dump repos N N+M'.
> $ svnadmin dump repos 0 youngest_version > full_backup
> $ svnadmin dump repos current_version_full_backup youngest_version >
> partial_backup
> $ cat full_backup partial_backup | svnadmin load repos
> This does not work .

This *almost* works. We decided not to go all the way.

The issue is that the first revision in each dumpfile is always a
tree-delta against revision 0, the empty filesystem. In other words,
it's a complete tree of "adds".

If you were to do this:

$ svnadmin dump 100 200 > dumpfile1
$ svnadmin dump 200 300 > dumpfile2

and then edit dumpfile2 to *remove* revision 200 (so that dumpfile2
begins with r201 as a tree-delta against r200), then

$ cat dumpfile1 dumpfile2 | svnadmin load repos

should work just fine.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 13 01:05:33 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.