Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
git cvsexportcommit pserver失败_Git_Cvs_Git Cvs - Fatal编程技术网

git cvsexportcommit pserver失败

git cvsexportcommit pserver失败,git,cvs,git-cvs,Git,Cvs,Git Cvs,我使用的是git和cvs回购协议,我一直在努力遵循 除了我使用的是a-dpserver而不是-w本地cvs repo 我做了一个git cvsimport,看起来不错。我现在尝试将单个测试更改导出回csv回购,但失败了 我尝试了以下命令,结果如下 命令: export $GIT_DIR=~/project/.git git cvsexportcommit -d :pserver:username:password@someserver/cvsrepo -u -p -c ORIG_HEAD HE

我使用的是git和cvs回购协议,我一直在努力遵循

除了我使用的是a-dpserver而不是-w本地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.
命令:

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服务器交互。

类似的问题(和答案):我担心情况就是这样。谢谢