简体   繁体   中英

SVN replication using svn-git

I am facing a problem of syncing two svn servers (one inside and one outside of the firewall). After googling around I found out that svn-git is probably the best alternative.

So the plan is to have an A (inside firewall) and B (outside in the DMZ) svn servers. Then to checkout some folders from A to a git repo then push the changes to B. Afterwards I pick the changes from B into a git and push the changes to A.

Everything has to be done from server A since A is not visible from B. It would be nice to have hooks, but I can just do it once a minute using cron, the load on servers is not high.

Have you got some advice? Can it work?

Regards!

I don't think git is an alternative at all, not to mention best, given that it can't represent many subversion concepts. I'd suggest SVK , which is decentralized version control tool built on top of subversion. Or if you just need mirror, svnsync might be enough (but I suspect it's not, since it's subversion't own tool and you probably know it when you considered git).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM