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

Re: Merge repositories?

From: Brooke Smith <novorivus_at_optusnet.com.au>
Date: 2005-05-18 22:56:39 CEST

I thought this was easy. I didn't read the original mail in full so
not sure if he had specific requirements.

The following will require "svn mv" to get the repositories properly
merged (since the source repo will be in a 'graft' directory), but its
a way to get one into another if needed:

  Copying a repository into another

I've been creating tools at home and I'd like to bring them into the
work repository. Here is how this is done.

        1 Backup the destination repository!
svnadmin dump <path to repo> > dumpfile
        2 A directory to 'graft' the source repository needs to be made. This
is because directories in the two directories will conflict.
svn mkdir <server/repo>/dir_to_graft_source_repo -m "Adding a dir we
can use to graft the source repository onto"
        3 Now load into that directory
svnadmin load <path to destn repo> --parent-dir
dir_to_graft_source_repo < source_repo.dump

This could be useful.

Cheers,

Brooke

On 18/05/2005, at 9:49 PM, Stephane Bortzmeyer wrote:

> On Wed, May 18, 2005 at 11:37:02AM +0200,
> Marcus Rohrmoser <mrohrmoser@gmx-gmbh.de> wrote
> a message of 40 lines which said:
>
>> is it possible (without manual dump fiddling) to merge 2 repositories?
>
> It seems a job for svk.
>
> http://svk.elixus.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---
In a world without walls or fences,
what's the need for Gates and Windows?
PGP: http://keyserver.veridis.com:11371/export?id=4427400912143993659
Received on Wed May 18 22:57:43 2005

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.