【发布时间】:2015-02-24 10:53:39
【问题描述】:
我正在尝试从 CVS 迁移到 git。 运行 git cvsimport 命令时出现以下错误。
c:\Users\cvsps-2.1.tar\cvsps-2.1\cvsps-2.1>git cvsimport -C -d $CVSROOT
cvs_direct: cvs server too old for cvs_direct
WARNING: Your CVS client version:
[Client: Concurrent Versions System (CVS) 1.11.17 (client/server)]
and/or server version:
[Server: Concurrent Versions System (CVS) 1.11 (client/server)]
are too old to properly support the rlog command.
This command was introduced in 1.11.1. Cvsps
will use log instead, but PatchSet numbering
may become unstable due to pruned empty
directories.
cvs log: in directory .:
cvs [log aborted]: there is no version here; run 'cvs checkout' first
can't open cvsps.cache for write: No such file or directory
fatal: refs/heads/origin: not a valid SHA1
fatal: master: not a valid SHA1
warning: You do not appear to currently be on a branch.
warning: Forcing checkout of HEAD.
fatal: just how do you expect me to merge 0 trees?
checkout failed: 256
我已经设置的 CVSROOT。 由于服务器的 cvs 版本是 1.11,而客户端的版本是 1.11.17,所以错误来了。
任何帮助将不胜感激。
【问题讨论】:
-
你好 xlembouras。你编辑过什么吗?
-
首先通过 cvs checkout ("cvs -d $CVSROOT co") 测试您的 CVSROOT 的健全性。
-
在运行 cvs co -d $CVSROOT 时出现错误,必须指定 1 个模块或目录。我已经给出了我在 cvs 中的项目名称之一,但错误仍在发生。
-
您好,我可以查看项目。