对于单独的开发人员,通过 file://访问 Subversion 存储库有什么缺点吗? [英] Any disadvantages in accessing Subversion repositories through file:// for a solo developer?

查看:25
本文介绍了对于单独的开发人员,通过 file://访问 Subversion 存储库有什么缺点吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果您的开发机器上安装了 Subversion 并且您不在团队中工作,那么您有什么理由应该使用 svn 协议而不是 file?

If you have Subversion installed on your development machine and you don't work in a team, is there any reason why you should use the svn protocol instead of file?

推荐答案

如果您自己在一台机器上工作,那么根据我的经验,使用 file://协议工作正常.即使我的团队在远程服务器上使用 Subversion,我也会为我自己的个人项目设置一个基于本地文件的存储库.如果您到了需要从另一台机器访问它的地步,那么我会遇到设置基于服务器的存储库的麻烦.你也可以看看像 Mercurial 这样的分布式系统——就在我离开之前,我们在我的最后一家公司对它进行了评估——但一定要选择一个或另一个,混合 svn 和 hg 根本不起作用.

If you are working by yourself on a single machine, then in my experience using the file:// protocol works fine. Even when my team was using Subversion off a remote server, I would set up a local file-based repository for my own personal projects. If you get to the point where you need to access it from a different machine, then I would go to the trouble of setting up a server-based repository. You might also look at a distributed system like Mercurial - we were evaluating it at my last company just before I left - but definitely pick one or the other, mixing svn and hg doesn't work well at all.

这篇关于对于单独的开发人员,通过 file://访问 Subversion 存储库有什么缺点吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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