从 SVN 用户的角度来看,最常见的 CVS 陷阱

发布于 2024-07-13 14:42:27 字数 202 浏览 5 评论 0原文

我自己就是一个 Subversion 用户,总体来说我对此非常满意。 然而,有时我需要处理存储在我无法控制的 CVS 存储库中的代码(即一些开源项目)。 我听过很多关于为什么 CVS 确实有缺陷的恐怖故事,但没有什么非常具体的,我希望自己避免陷入此类错误:-)

我想知道您是否可以列举所有的陷阱和潜在问题访问和使用 CVS 上的代码库时可能会激增,以及如何处理它们。

I am myself a subversion user, and overall very happy with it. However, there are times that I need to work on code stored on a CVS repository that is beyond my control (ie, some open source projects). I've heard lots of horror stories of why CVS is really flawed, but nothing very concrete and would like to avoid getting trapped on such errors myself :-)

I'd like to know if you can enumerate all the gotchas and potential problems that may surge while accessing and working with code bases living on CVS, and how to deal with them.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

浅浅淡淡 2024-07-20 14:42:27
  • CVS 不版本移动和重命名
  • 它不版本符号链接
  • 最重要的是,IMO - 不支持原子提交
  • 昂贵且违反直觉的分支
  • 默认情况下将所有文件视为文本
  • 对 Unicode 的有限支持
  • CVS does not version moves and renames
  • It does not version symlinks
  • Most important, IMO - Does not support atomic commits
  • Expensive and counter-intuitive branching
  • By default treats all files as textual
  • Limited support for Unicode
回心转意 2024-07-20 14:42:27

CVS 中有一些与 dir 相关的奇怪现象。

  • 您无法真正删除目录。 它坚持
  • “cvs update”不会为您带来创建的新目录。 您必须添加“-d”选项

您会错过的另一件事是“svn revert”的模拟,无需访问服务器即可工作。

There's some dir-related weirdness in CVS.

  • You can't really delete a directory. It sticks around
  • "cvs update" will not bring you the new directories created. You must add "-d" option

Another thing you'll miss is an analog of "svn revert" working w/o an access to the server.

岁月流歌 2024-07-20 14:42:27

您无法移动目录 - 您必须在存储库中手动移动它。

You can't move a directory - you have to manually move it in the repository.

独自←快乐 2024-07-20 14:42:27

一般来说,合并和分支一直是 CVS 的难点。

Merging and branching have been difficult points for CVS's in general.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文