[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: Marcus Rohrmoser <mrohrmoser_at_gmx-gmbh.de>
Date: 2005-05-19 09:49:42 CEST

Brooke Smith schrieb:
> 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.

Hm, but this won't work for overlapping changesets (according commit time) in the two repos, will it?

> 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/

Received on Thu May 19 09:52:30 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.