You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Leandro Silva <le...@gmail.com> on 2006/09/10 20:24:22 UTC

Two repositories

Dear Friends,

Is possible to have two repositories on two diferent machines and any
revision that is made to a repository is replicated into the second
repository and vice-versa?

-- 
Leandro de Paula Silva

Re: Two repositories

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 9/11/06, listman <li...@burble.net> wrote:
>
> On Sep 10, 2006, at 1:54 PM, Ryan Schmidt wrote:
>
> > On Sep 10, 2006, at 22:24, Leandro Silva wrote:
> >
> >> Is possible to have two repositories on two diferent machines and
> >> any revision that is made to a repository is replicated into the
> >> second repository and vice-versa?
> >
> > As of Subversion 1.4, svnsync can be used to synchronize your
> > master repository with a read-only copy, but if you want both
> > repositories to be writable, then no, Subversion doesn't handle
> > that natively. But look into svk which is built on Subversion and
> > supports repository replication, as far as I know.
> >
>
> i may have misunderstood how svnsync works. if you have a 2 teams in
> 2 countries doing joint development and you don't want to use a
> shared repository for the 2, i thought svnsync would allow the local
> users to commit changes to their local version of the repos and
> svnsync would keep the 2 synced?

You have missunderstood.  svnsync allows you to create READ-ONLY
mirrors of repositories, there is no support for moving commits from
one of the mirrors into the original source repository.

-garrett

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

Re: Two repositories

Posted by listman <li...@burble.net>.
On Sep 10, 2006, at 1:54 PM, Ryan Schmidt wrote:

> On Sep 10, 2006, at 22:24, Leandro Silva wrote:
>
>> Is possible to have two repositories on two diferent machines and  
>> any revision that is made to a repository is replicated into the  
>> second repository and vice-versa?
>
> As of Subversion 1.4, svnsync can be used to synchronize your  
> master repository with a read-only copy, but if you want both  
> repositories to be writable, then no, Subversion doesn't handle  
> that natively. But look into svk which is built on Subversion and  
> supports repository replication, as far as I know.
>

i may have misunderstood how svnsync works. if you have a 2 teams in  
2 countries doing joint development and you don't want to use a  
shared repository for the 2, i thought svnsync would allow the local  
users to commit changes to their local version of the repos and  
svnsync would keep the 2 synced?

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

Re: Two repositories

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Sep 10, 2006, at 22:24, Leandro Silva wrote:

> Is possible to have two repositories on two diferent machines and  
> any revision that is made to a repository is replicated into the  
> second repository and vice-versa?

As of Subversion 1.4, svnsync can be used to synchronize your master  
repository with a read-only copy, but if you want both repositories  
to be writable, then no, Subversion doesn't handle that natively. But  
look into svk which is built on Subversion and supports repository  
replication, as far as I know.

http://svk.elixus.org/


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

Re: Two repositories

Posted by Kevin Greiner <gr...@gmail.com>.
On 9/10/06, Leandro Silva <le...@gmail.com> wrote:
>
> Dear Friends,
>
> Is possible to have two repositories on two diferent machines and any
> revision that is made to a repository is replicated into the second
> repository and vice-versa?
>

Have you considered using svk? The following links seem relevant:

http://svk.elixus.org/?UsingSVKAsARepositoryMirroringSystem

http://svk.elixus.org/?SyncReposBetweenServers

Disclaimer: I don't use svk and haven't tried mirroring repositories but am
intrigued by the idea of carrying a full repo on my laptop. Let us know if
you try svk & it works out well for you.

Re: Two repositories

Posted by Grant Rettke <gr...@acm.org>.
No, but that kind of synchronization is on the developers radar. I believe
they plan it for some release in the future... far future.

Quoting Leandro Silva <le...@gmail.com>:

> Dear Friends,
>
> Is possible to have two repositories on two diferent machines and any
> revision that is made to a repository is replicated into the second
> repository and vice-versa?
>
> -- 
> Leandro de Paula Silva
>


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