SVN 1.3 VS 1.5(最新)
我们的IT人员已经安装了SVN 1.3,当前版本是1.5。
我们正在从 CVS 迁移到 SVN,那么继续使用 1.3 会损失很多吗?
我喜欢运行 CVS2SVN 并转移到 SVN,而不需要编写任何脚本
另外:在 CVS 中,我们的项目中有多个目录。
SVN 的最佳实践是什么?
有一个夜间构建必须从同一 CVS 项目中的不同目录中提取内容才能构建夜间构建。 所以我必须牢记这一点,并且必须修改脚本以从不同的存储库中检查内容。
Our IT guy has installed SVN 1.3, the current version is 1.5.
We are migrating from CVS to SVN, so do I lose much by staying with 1.3?
I like to run CVS2SVN and move to SVN without the need of writing any scripts
Also: in CVS we have on project with multiple directories in there.
What is the best practice in SVN?
There is a nightly build that has to pull in stuff from different directory in the same CVS project in order to build the nightly build. So I have to have that in mind and I have to modify the script to check things out from different repositories.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最大的缺失功能是任何类型的合并跟踪。 这是在 1.5 版本中添加的。 您可以将客户端升级到 1.6,但如果服务器是 1.3,则不会启用此功能。
然后你就会有很多性能增强。 1.3 服务器可能会更慢,尤其是对于大型二进制文件。 您可以在 1.6 中打包服务器文件存储库以节省空间。
没有相对的 svn:externals,这是在 1.5 中添加的。 有一种新的 HTTP URI 格式,因此无需设置任何类型的 ViewVC,您只需通过 mod_dav_svn 即可查看旧版本。
1.3 中没有 svnsync,这可能会使创建备份变得更加困难。
如果您还包括客户端更改,那么您将错过部分结帐改进、加密形式的密码缓存等。
加上自 1.3 以来代码中包含的所有错误修复,现在已经有大约 4 年了!
The biggest missing feature is any kind of merge tracking. That was added in version 1.5. You can upgrade your client to 1.6, but if the server is 1.3 then this is not enabled.
Then you have lots of performance enhancements. The 1.3 server is probably going to be slower, especially for large binary files. You can pack the server file repository to save space in 1.6.
No relative svn:externals, which was added in 1.5. There's a new HTTP URI format so without setting up any kind of ViewVC you can see older versions just via mod_dav_svn.
There's no svnsync in 1.3, which may make creating backups harder.
If you also include client changes, then you would be missing partial checkout improvements, password caching in encrypted form, etc.
Plus all the bug fixes that have gone into the code since 1.3, which is now about 4 years old!
您可以从 Subversion 1.3 版开始,但是您很快就会遇到限制。 正如rq提到的,合并跟踪以及相对外部就是这样的一个功能。 由于 CVS 中没有合并跟踪,因此一旦您习惯了 SVN,您就会开始怀念它,但不是一开始。 如果您有不同的访问协议(http、https、svn 等),则更需要相对的外部组件。
由于您可能使用 CVS 别名模块:这是 SVN 中不可用的功能,您可能希望使用外部在 SVN 中获得类似的行为。
而且从SVN 1.3升级会更困难,因为你必须将apache升级到2.2并使用其他一些更成熟的软件模块。 这在开始时更容易设置,而不是在工作 SVN 系统一年后设置。
You can start with this Subversion version 1.3, however you will quickly run into the limitations. As rq mentioned, the merge tracking is such a feature as well as the relative externals. As you do not have merge tracking in CVS, you will start to miss it as soon as you are getting used to SVN, but not at the beginning. The relative externals are more needed, if you have different access protocols (http, https, svn, etc).
AS you may use CVS alias module: This is a feature NOT available in SVN, you may want to use externals to get a similar behaviour in SVN.
Also the upgrade from SVN 1.3 will be harder, as you have to upgrade apache to 2.2 and use some other more mature software modules. This is easier to setup in the beginning and not after a year on a working SVN-System.