You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Matt Garman <ga...@raw-sewage.net> on 2005/03/24 04:22:43 UTC

combining two repositories into one

I have two individual repositories, projA and projB, set up as
follows:

        /svn/projects/projA
        /svn/projects/projB

What I would like to do is "promote" /svn/projects to be the
actual repository, with projA and projB both elements within that
repository.  I also want to preserve revision history during the
transition.

In other words, I want a single repository for multiple projects,
but, at the moment, I have multiple repositories for multiple
projects.

It seems as though this should be pretty straightforward, I just
haven't figured out how to do it.

Any help would be greatly appreciated!

Thank you,
Matt

-- 
Matt Garman
email at: http://raw-sewage.net/index.php?file=email

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: combining two repositories into one

Posted by "Ronny T. Lampert" <te...@uni.de>.
>         /svn/projects/projA
>         /svn/projects/projB
> 
> What I would like to do is "promote" /svn/projects to be the
> actual repository, with projA and projB both elements within that
> repository.  I also want to preserve revision history during the

That looks like a relocation to me I needed a while back.
Does the following look like it would help you?

#> svnadmin help load
[...]
   --parent-dir arg         : load at specified directory in repository

Dump the 2 repos, create a new repos and load the dumps into the new one, 
with --parent-dir specified, like

#> svnadmin load --parent-dir /projA < projA.dump

This will place the whole dump into $REPOS/projA.
If you want more transformations done, try to read about svnfilter.

Cheers,
Ronny

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org