-2

我已经在本地系统(windows 7)上检查了 CVS 存储库的副本。在 cygwin 的帮助下,我试图将此存储库的本地副本迁移到 git(bitbucket),但在第一阶段卡住了。下面是命令和错误。任何人都可以在这里指导我。非常感谢任何帮助。

命令:cvs2git --blobfile=cvs2svn-tmp/git-blob.dat --dumpfile=cvs2svn-tmp/git-dump.dat --username=cvs2git java_apps

错误:检查所有 CVS ',v' 文件... 错误:在 'java_apps' 下找不到 RCS 文件!您绝对确定您将 cvs2svn 指向 CVS 存储库吗?

通过 1 完成。

错误摘要:错误:在“java_apps”下找不到 RCS 文件!您绝对确定您将 cvs2svn 指向 CVS 存储库吗?

4

1 回答 1

1

When converting cvs2git, you need the whole server-side repository. What you have is a client-side checkout. These are completely different things.

If you just want to take a snapshot of the latest code and push it to git, there's no conversion necessary, just add it to git and push it to bitbucket. But if you want the whole history, you will need to make a copy of the repo from the cvs server.

于 2016-10-20T23:12:48.927 回答