简体   繁体   English

使用cvs2svn工具将远程CVS存储库迁移到SVN

[英]migrate a remote CVS repo to SVN using cvs2svn tool

I am trying to migrate a remote CVS repository to SVN using cvs2svn . 我正在尝试使用cvs2svn将远程CVS存储库迁移到SVN。 Below are the steps i am following 以下是我正在遵循的步骤

python cvs2svn --dump-only --dumpfile DUMPFILE.dump pathToRemoteCVSrepo

i am getting the following error. 我收到以下错误。

ERROR: The specified CVS repository path 'pathToRemoteCVSrepo' is not an existing directory.

can anyone help on this? 有人可以帮忙吗?

One of two things: 两件事之一:

  1. The cvs2svn tool expects to see a CVSROOT directory, just to make sure that this really is a proper server-side repository. cvs2svn工具期望看到一个CVSROOT目录,只是为了确保它确实是一个正确的服务器端存储库。 It doesn't care what's in the directory, it just needs to be there. 它不在乎目录中的内容,只需要存在目录中即可。 You probably copied the directory off the server for conversion and you just need to create a dummy CVSROOT directory. 您可能将目录复制到服务器之外以进行转换,您只需要创建一个虚拟CVSROOT目录即可。

You should end up with something like 你应该以类似

/path/root/repository_name/
/path/root/repository_name/filename.py,v
/path/root/CVSROOT/
  1. Is the <pathToRemoteCVSrepo> correct? <pathToRemoteCVSrepo>是否正确? Did you make a typo? 你打错字了吗? Is it a proper server-side repository with proper ,v files, not just a client-side checkout? 它是具有正确的.v文件的适当服务器端存储库,而不仅仅是客户端检出吗?

(I'm assuming you're using this tool http://cvs2svn.tigris.org/cvs2svn.html ) (我假设您正在使用此工具http://cvs2svn.tigris.org/cvs2svn.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM