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

repository split

From: Vadym Chepkov <vchepkov_at_gmail.com>
Date: Thu, 25 Jun 2009 19:08:41 -0400


It's probably a FAQ question, but I wasn't able to find a proper
solution, maybe you can help me out.
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://server/svn/projectA/trunk
. 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?

Thank you,
Vadym Chepkov


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-26 08:10:38 CEST

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