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

Moving a repo into another?

From: <pll_at_lanminds.com>
Date: 2003-05-21 21:46:39 CEST

Hi all,

I have a repository which was, at inception, independant of other
projects. However, now, I need to create a new repository for 2 new
projects. The existing project, however, is now related to these 2
new projects. How can I create the new repository and migrate the
old one into the new one and retain the history?

Here's an example of what I have now:

    /usr/local/svn/
                   projectA
                   project1
                   project2

projectA, project1, and project2 are all unrelated. I need to create
projectB and projectC, both of which are related to projectA. I'd
like to create:

    /usr/local/svn/
                   projectALPHA

which will have 3 subdirs, project[ABC] under it, and migrate the
existing projectA to projectALPHA/projectA.

Does that make sense?

Do I want to:

        svnadmin create /usr/local/svn/projectALPHA
        svn mkdir /usr/local/svn/projectA
        svn mkdir /usr/local/svn/projectB
        svn mkdir /usr/local/svn/projectC
        svnadmin dump /usr/local/svn/projectA | \
                svnadmin load /usr/local/svn/projectALPHA/projectA

?

Or is there some other/better way to do this?

Thanks,

-- 
Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE
	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.
	 If you're not having fun, you're not doing it right!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 21 21:47:32 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.