[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: Daniel Luis dos Santos <daniel.dlds_at_gmail.com>
Date: Wed, 1 Apr 2009 16:37:33 +0100

Thanks for the suggestion.

Browsing through the book on the site, from what I understood this
places a local version repository between the subversion repo I
already have, and allows me to use that one instead. When I want to
propagate the local repository changes I then push the local depot
that is supposed to be mirrored to the existant subversion
repository. Am I right ?

To achieve the goal I mentioned in the previous email I could :
- create a local depot
- mirror it to the local subversion
- continue commiting to the local subversion
- update the local depot
- Then how do I push the versions on the depot to the remote repo ?
relocate the mirror URL ?

On Apr 1, 2009, at 3:38 PM, jhanley_at_dgtlrift.com wrote:

> Take a look at SVK which uses SVN as it's backend.
> Quoting Daniel Luis dos Santos <daniel.dlds_at_gmail.com>:
>> Hello,
>> I have a subversion repository on a local machine that I use for
>> development. I also want to commit to another repository on a remote
>> machine.
>> From what I know one working copy is attached only to one repository.
>> How can I do this? I do not need to do every commit I make on the
>> local copy to the remote repository. I only commit to that one from
>> time to time (when some feature is implemented)
>> I thought about a manual process and that would take :
>> - exporting a given version from my local repo
>> - doing an rsync update from the export to the remote repo working
>> copy
>> - commiting the rsynced version
>> but that can be troublesome, mainly because of files and directories
>> that are added, deleted or moved. I would have to make a shell script
>> for checking those items and issuing the subversion commands. I would
>> have to rsync to a temporary location and the script would compare
>> the
>> current remote version with the latest local version and add
>> directories, remove, etc
>> Is there an easier way ?
>> ------------------------------------------------------
>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1507528
>> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org
>> ].


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

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