Git cvsimport - 没有导致cvsexportcommit失败的CVS文件夹 [英] Git cvsimport - No CVS folders which causes cvsexportcommit to fail
问题描述
我做了一个新的git cvsimport进入一个新的文件夹,大约30分钟后终于完成了,但它似乎没有得到任何CVS文件夹。由于cvsexportcommit在目录中查找CVS文件夹,因此失败。我的cvsimport命令类似于以下内容:
git cvsimport -v -r cvs -d $ CVSROOT< module>
然后我在工作分支中进行了更改,检出了master,执行了另一个cvsimport,合并了工作分支然后在运行时:
git cvsexportcommit -w。 -u -p -c ORIG_HEAD HEAD
该文件夹显然不是CVS回购,(没有CVS文件夹
不是在
git cvsimport
的结果是一个git仓库。 git cvsexportcommit
的目标 -w
是一个cvs工作副本。如果你想导出回CVS,你需要执行 mkdir cvsworking; cd cvsworking; cvs co $ CVSROOT< module>
然后从git dir执行你的 git cvsexportcommit -w path / to / cvsworking / module -u -p -c ORIG_HEAD HEAD
。它的集成不如 git-svn
。 I did a fresh git cvsimport into a new folder, after about 30 minutes it was finally done but it didn't seem to get any of the CVS folders. Since cvsexportcommit looks for the CVS folder in the directory, it fails. My cvsimport command was similar to below:
git cvsimport -v -r cvs -d $CVSROOT <module>
I then made changed in a work branch, checked out master, performed another cvsimport, merged the work branch onto master but then when running:
git cvsexportcommit -w . -u -p -c ORIG_HEAD HEAD
The folder is apparently not a CVS repo, (No CVS folders anywhere).
is not a CVS checkout at
The result of git cvsimport
is a git repository. The target -w
of git cvsexportcommit
is a cvs working copy. If you want to export back to cvs you need to do mkdir cvsworking; cd cvsworking; cvs co $CVSROOT <module>
and then from the git dir do your git cvsexportcommit -w path/to/cvsworking/module -u -p -c ORIG_HEAD HEAD
. It's not as well integrated as git-svn
.
这篇关于Git cvsimport - 没有导致cvsexportcommit失败的CVS文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!