如何同步两个 Subversion 存储库? [英] How to synchronize two Subversion repositories?

查看:29
本文介绍了如何同步两个 Subversion 存储库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我公司有一家子公司,互联网连接速度很慢.我们在那里的开发人员很难与我们的中央 Subversion 服务器进行交互.是否可以为它们配置从属/镜像?他们将在本地与服务器交互,所有提交将自动同步到主服务器.

My company has a subsidiary with a slow Internet connection. Our developers there suffer to interact with our central Subversion server. Is it possible to configure a slave/mirror for them? They would interact locally with the server and all the commits would be automatically synchronized to the master server.

这应该对开发人员尽可能透明.可用性是必须的.

This should work as transparently as possible for the developers. Usability is a must.

请不要建议更改我们的版本控制系统.

Please, no suggestions to change our version control system.

推荐答案

当您使用 http 托管存储库时,Subversion 1.5 引入了代理支持.开发人员可以从从属设备检出他们的工作副本.然后所有只读操作(差异、日志、更新等)都将使用从站.在 commit 时,slave 透明地将所有写操作传递给 master.

Subversion 1.5 introduced proxy support when you're using http to host your repository. Developers can checkout their working copies from the slave. Then all read-only operations (diff, log, update etc) will use the slave. When committing, the slave transparently passes all write operation to the master.

这篇关于如何同步两个 Subversion 存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆