How to get master-master replication with Subversion?

前端 未结 8 1037
青春惊慌失措
青春惊慌失措 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:31

    Hmm...keeping two repos in sync with each other is non-trivial, I think. It would involve basically turning SVN into Mercurial or Git.

    0 讨论(0)
  • 2020-12-29 11:39

    Simplicity is usually the best way, and it sounds like you already have a simple solution: Use the SVN Repository outside the firewall.

    You've already said machines inside the firewall can reach it, and obviously machines outside can reach it... so that's everyone, so what justification do you have for a second SVN repository inside the firewall? If it's just as a back-up, then just back-up the one on the outside.

    Let me know if I'm missing part of your requirements.

    Another thought... if you have both internal and external SVN instances... what is to stop them both giving out the same changelist ID at the same time, for different purposes? If you're seeking a de-centralised solution you should look towards GIT rather than SVN.

    0 讨论(0)
提交回复
热议问题