git cvsexportcommit pserver失败
我使用的是git和cvs回购协议,我一直在努力遵循 除了我使用的是a-dpserver而不是-w本地cvs repo 我做了一个git cvsimport,看起来不错。我现在尝试将单个测试更改导出回csv回购,但失败了 我尝试了以下命令,结果如下 命令: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
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服务器交互。类似的问题(和答案):我担心情况就是这样。谢谢