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

Re: commiting to two repositories

From: Paul Koning <Paul_Koning_at_dell.com>
Date: Wed, 1 Apr 2009 11:04:22 -0400

>>>>> "Daniel" == Daniel Luis dos Santos <daniel.dlds_at_gmail.com> writes:

 Daniel> Hello, I have a subversion repository on a local machine that
 Daniel> I use for development. I also want to commit to another
 Daniel> repository on a remote machine. ...

 Daniel> Is there an easier way ?

What is the purpose of this setup?

If you have a remote repository as a backup or mirror, then the answer
is simple: use svnsync (in the background, periodically or every
commit, your choice) to keep the mirror up to date.

If the secondary repository has *different* content from the primary,
but parts of it are common, that won't work. It's hard to tell what
the requirement is.

One way to do "two repositories that have partly common stuff" is to
have three repositories: the third has the common stuff. That third
is hosted at one of the two sites but mirrored (svnsync) to the
other. Each of the other two (non-common) repositories references the
common repository (its local copy) via svn external links.

       paul

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1507805

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-01 17:05:42 CEST

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.