How to get master-master replication with Subversion?

前端 未结 8 1082
青春惊慌失措
青春惊慌失措 2020-12-29 10:54

Seems like a simple problem:

  • I have an SVN repo inside our firewall.
  • I have an SVN repo outside our firewall.
  • I have users inside, and outsi
8条回答
  •  暖寄归人
    2020-12-29 11:23

    I'd recommend SVK or git-svn.

    Both of these let you create an external mirror of your svn repository, and allow the external devs to make commits directly to the external mirror. You can then pull and push changes from this external mirror to your internal master repo.

    git-svn would (I think) require the external developers to use git. I prefer it, but I'd be reluctant to push this on others.

    SVK, however, allows the external developers to continue using svn. Since the internal repo is only accessible internally, an internal account or user would have to handle the periodic syncronization (a cron job would probably work).

    Here's an extended howto on the SVK wiki: UsingSVKAsARepositoryMirroringSystem

提交回复
热议问题