On Jun 25, 2009, at 18:08, Vadym Chepkov wrote:
> I was using subversion with apache and just one repository, so I had
> SVNPath /var/svn/repos
> In the repository I had several projects:
> I decided to split one repository into two and this is what I did
> svnadmin dump /var/svn/repos > ~/oldrepos.dump
> rm -rf /var/svn/repos
> mkdir /var/svn/repos
> cd /var/svn/repos
> svnadmin create projectA
> cat ~/oldrepos.dump | svndumpfilter include projectA | svnadmin load
> svnadmin create projectB
> cat ~/oldrepos.dump | svndumpfilter include projectB | svnadmin --
> ignore-uuid load projectB
> and changed apache to
> SVNParentPath /var/svn/repos
> SVNListParentPath On
> It would be almost perfect, except one thing, trunk of the URL is now
> located in
> http://server/svn/projectA/projectA/trunk instead of just http://
> . I understand, it's possible to shuffle directories around later, but
> I wanted this transition to be unnoticeable to users, if possible
> (that's why I inherited UUID for projectA). Is there a way to re-write
> the path somehow?
I don't think it can be a transparent transition. You must give both
new repositories new UUIDs that are different from that of the
previous combined repository, because they are different
repositories. Then all users must check out new working copies.
To fix the doubled "projectN" in the URLs, simply use "svn mv" to get
things the way you want them.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-26 08:41:32 CEST