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

RE: Can I have one project link to two subversion server?

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Fri, 23 Apr 2010 18:22:35 -0400

> I want to know whether I can have one project link to two different
> server. Here is what I want to do. First I check out the project from
> official server. During the time, I will make a lot of intermediate
> changes before I finanlly commit them into the official server. Since
> not all the changes will be in the final release and a lot of testing
> code that should not be checked into the official server. I created
> another repository in another computer. I checked all code I got from
> official server to the new computer. During the work, I will check the
> changes to the second computer for testing and development. After
> everything works and cleanup the code, then I will check the code to
> the official server. I want to know how can I switch between the two
> servers during the development.

Nope... not really. You have a few options..

1. Use a feature branch on the official server. When your done with your work merge it to the main folder path.

2. Create a diff of your changes, apply it to a WC checkout from the official server and commit it.

3. Use a distributed 3rd part version of svn. I think there is one called silkSVN.

4. You can use Git locally. It will allow you to create local branches, do local commits, etc. Then when you are ready you can push whatever you want to svn using the git-svn commant.

5. Move 100% to a distirbuted source control like Git or Mercurrial.

BOb
Received on 2010-04-24 00:21:29 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.