Re: Best approach to break up a repository
From: Ryan Schmidt <subversion-2012a_at_ryandesign.com>
Date: Thu, 1 Mar 2012 21:40:52 -0600
On Mar 1, 2012, at 15:46, Mattius McLaughlin wrote:
> I'd like to break each of those projects into separate repositories. Given the number of designers we have, it's a bit unreasonable to expect everyone to recreate every workspace so I'd like to keep all URLs the same.
There's no choice; when you split the big repository into smaller repositories, each repository must be given its own UUID (Universally Unique IDentifier), different from the big repository's UUID. A working copy is matched to a particular repository by UUID. Once you have new repositories, you must check out new working copies. No exceptions.
> So I'd like to have repositories at /svn_data/repo/project_A, /svn_data/repo/project_B, /svn_data/repo/project_C, etc. I've written something that can dump/load each one of the projects above and add empty revisions to keep the revisions the same, so I end up with repositories like
Everyone's working copy is already broken by splitting the repository, so you may as well rearrange. svndumptool can help, or you can simply "svn mv" things into place.
|
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.