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

Dump/load question

From: Fred Mailhot <fred.mailhot_at_gmail.com>
Date: 2007-02-06 20:24:19 CET

Hi,

Pardon in advance for the painstaking explicitness of this
question...I want to be sure I'm being understood, since I'm not
perfectly comfortable with svn yet.

I guess this is a multipart question:

1) Assume I have a repo at revision 100, and I do the following:

$ svnadmin dump --revision 1:90 [path-to-repo] > partial.dump
$ svnadmin load [path-to-repo] < partial.dump

Will I have eliminated revisions 91-100 of my repository?

2) If the above works, let's now assume that my repo has a few subdirectories:

- repo
  - foo
  - bar
  - baz

and I want to "eliminate" the most recent revisions that affected "bar"...
Can I do the following?

$ svnadmin dump [path-to-repo] > full.dump
$ svnadmin dump --revision 1:90 [path-to-repo] > partial.dump
$ cat full.dump | svndumpfilter include foo > foo-full.dump
$ cat full.dump | svndumpfilter include baz > baz-full.dump
$ cat partial.dump | svndumpfilter include bar > bar-partial.dump
$ svnadmin load [path-to-repo] < foo-full.dump
$ svnadmin load [path-to-repo] < baz-full.dump
$ svnadmin load [path-to-repo] < bar-partial.dump

Thanks in advance for any assistance...

Fred.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 6 20:24:38 2007

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.