繁体   English   中英

git cvsexportcommit pserver失败

[英]git cvsexportcommit pserver fails

我正在尝试使用git和CVS回购

如何将修订历史记录从水银或git导出到cvs?

除了我使用的是-d pserver而不是-w local cvs repo

我做了一个git cvsimport,这似乎很好。 我现在正尝试将单个测试更改导出回csv存储库,但失败了

我尝试了以下命令,结果如下

命令:

export $GIT_DIR=~/project/.git
git cvsexportcommit -d :pserver:username:password@someserver/cvsrepo -u -p -c ORIG_HEAD HEAD

Did not find COMMITID in the parents for the commit! at /usr/lib/git-cvsexportcommit line 125.

命令:

export $GIT_DIR=~/project/.git
git cvsexportcommit -d :pserver:username:password@someserver/cvsrepo -u -p -c COMMITID

checking if patch will apply
cvs update: cannot open CVS/Entries for reading: No such file or directory
cvs [update aborted]: no repository
cvs -d :pserver:username:password@someserver/cvsrepo update /path/file.java: 256 at /usr/lib/git-core/git-vcxexportcommit line 436.

注意:我也尝试将GIT_DIR上下移动。

不幸的是, git cvsexportcommit要求存在-w参数指定的实际CVS检出。 这是因为它仅发出必要的cvs commit命令,而不直接与CVS服务器交互。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM