views:

37

answers:

1

Variants of this question have been asked many times, but none of the answers clarified what I am interested in:

I would like (obviously... :) to synchronize my local working copy with two repositories on two different servers. If I use svn switch with the --relocate option, is it possible (and reasonably safe) to keep in synch with both repositories (manually merging changes if necessary) and what are the caveats?

Background: One server hosts my private svn, the other is the "official" svn to which several people have access and submit changes.

The main motivation for keeping an additional copy of the code in my private svn is that

  1. I can do "dirty" (untested) commits, and
  2. I have other code relying on code from the common svn in my private svn, so that if the official svn will be gone someday, all code history from my svn would be rendered useless.