迁移SF上的项目:从cvs到git
根据SF官方文档的介绍:
https://sourceforge.net/p/forge/documentation/CVS/
把CVS项目转换到git需要用cvs2svn项目中的cvs2git,但实际上这个需要Python2 而自己的MacBook上已经都是python3了:
会遇到错误信息:
brew install cvs2svn
Warning: No available formula with the name "cvs2svn".
==> Searching for similarly named formulae and casks...
Error: No formulae or casks found for cvs2svn.
install cvs2svn Defaulting to user installation because normal site-packages is not writeable ERROR: Could not find a version that satisfies the requirement cvs2svn (from versions: none) ERROR: No matching distribution found for cvs2svn好在找到了cvs-fast-export项目,用Claude重新生成了迁移脚本:
错误: cvs2git 无法运行
请检查 Python 3 是否已安装: python3 --versionERROR: cvs2git requires Python 2, version 2.4 or later; it does not
work with Python 3. You are currently using version 3.14.2.
Please restart cvs2git using a different version of the Python
interpreter. Visit http://www.python.org or consult your local system
administrator if you need help.
