Re: Importing Existing Repository into a New Repository
From: Ryan Schmidt <subversion-2010d_at_ryandesign.com>
Date: Wed, 6 Oct 2010 07:27:40 -0500
On Oct 6, 2010, at 07:03, Nico Kadel-Garcia wrote:
> 2010/10/5 Ryan Schmidt:
Ah yes, this is true. If properties are of interest, then an alternative to svn exporting, manually fixing the properties, and svn importing, is to svnadmin dump just the HEAD revision and then svnadmin load it:
svnadmin dump -rHEAD /path/to/oldrepo > dump
This will dump only a single revision representing the state of the old repo at HEAD, and will preserve properties. In between dump and load you can use svndumpfilter if you wish to exclude parts of the dump (or include only certain parts), and you can use svnadmin load's --parent-dir argument if you want to change where the contents are loaded (or just use "svn mv" after loading).
|
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.