私はgitを使用しており、フォローしようとしているcvsリポジトリを使用しています
Mercurial または git から cvs にリビジョン履歴をエクスポートするには?
ただし、-w local cvs repo の代わりに -d pserver を使用しています
私は 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もレベルを上げたり下げたりしてみました。