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

Re: Merging SVN repositories

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Wed, 22 Jan 2014 09:43:22 -0600

On Wed, Jan 22, 2014 at 5:21 AM, Deepak Saraswat
<deepak_saraswat_at_hotmail.com> wrote:
> Hi All,
>
>
>
> I need to do copy the content from one SVN repository to the other SVN
> repositories. Also, I need to make sure that Bidirectional merges are
> working after I copy content from one SVN to other.
>
> Does anybody know how to do that. I think we have a svnsync command to copy
> the contents from one svn to other. But I am not sure if this allows
> bidirectional merging or not or bidirectional merging is even possible or
> not.

You really can't keep 2 writable repositories in sync because
subversion needs to strictly serialize transactions and the
repository's global revision number. Depending on what you are
doing, you might be able to set up a proxy that reads from the nearby
repository but writes to the master - with svnsync duplicating the
changes. Or, Wandisco has a commercial tool to do this across a
larger number of locations.

Or, if groups at different locations normally work on different
components of your project(s), you might split them into different
repositories, using svn externals to pull everything together.

-- 
   Les Mikesell
     lesmikesell_at_gmail.com
Received on 2014-01-22 16:44:01 CET

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