You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Deepak Saraswat <de...@hotmail.com> on 2014/01/22 12:21:32 UTC

Merging SVN repositories


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. 
 
Any help in this regard is much appreciated.

 
Regards,

Deepak



 		 	   		  

Re: Merging SVN repositories

Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Deepak Saraswat,
am Mittwoch, 22. Januar 2014 um 12:21 schrieben Sie:

> I need to do copy the contentfrom one SVN repository to the other
> SVN repositories.

Do you only mean some content with or without history or really import
one complete repo into others? There are different ways to achieve
this depending on your answer. Some are svn import, just copying
something and committing it, svnadmin dump/load etc.

> Also, I need to make sure that Bidirectional
> merges are working after I copy content from one SVN to other. 

What do you understand by those merges, syncing contents of two repos
or merging within only one repo? Svn won't assist you in anything
between two different repos, therefore there's not much that can
break, but it's possible.

> I think we have a svnsync command to copy the contents from one svn to other.

svnsync won't just copy, it's main purpose is two sync two repos with
the target beeing a read-only mirror of the source and the possibility
to sync only parts of the source repo to the target. But the key is
"read-only", you can't easily use the target where revisions got
synced to.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


Re: Merging SVN repositories

Posted by Les Mikesell <le...@gmail.com>.
On Wed, Jan 22, 2014 at 5:21 AM, Deepak Saraswat
<de...@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@gmail.com