gpt4 book ai didi

svn - 将 CVSNT 转换为 SVN

转载 作者:行者123 更新时间:2023-12-04 16:06:17 25 4
gpt4 key购买 nike

有什么可靠的方法可以将 CVSNT 转换为 SVN?

最佳答案

你是对的,cvs2svn 在这种情况下是不可靠的,因为 CVS FAQ mentions :

CVSNT is a version control system that started out by adding support for running CVS under Windows NT. Since then it has made numerous extensions to the RCS file format, to the point where CVS compatibility does not imply CVSNT compatibility with any degree of certainty.

cvs2svn might happen to successfully convert a CVSNT repository, especially if the repository has never had any CVSNT-only features used on it, but this use is not supported and should not be expected to work.

If you want to experiment with converting a CVSNT repository, then please consider the following suggestions:

  • Use cvs2svn's --use-cvs option.
  • Use CVSNT's version of the cvs executable (i.e., ensure that the first cvs program in your $PATH is the one that came with CVSNT).
  • Carefully check the result of the conversion before you rely on it, even if the conversion completed without any errors or warnings.

也就是说,首先尝试使用 --use-cvs 选项:它有 been reported to work (即使您仍然需要仔细检查结果)。

关于svn - 将 CVSNT 转换为 SVN,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3965220/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com