简体   繁体   English

cvs2svn工具:我们可以在实时存储库上运行cvs2svn吗? 我的意思是实际的存储库?

[英]cvs2svn tool : can we run cvs2svn on live repository. I mean actual repository?

I need to migrate CVS repo to SVN repo. 我需要将CVS仓库迁移到SVN仓库。 I have cvs2svn installed on CVS server. 我在CVS服务器上安装了cvs2svn。 Can I run cvs2svn tool directly on the CVS repo path which is in live. 我可以直接在实时的CVS回购路径上运行cvs2svn工具吗? The FAQ in URL " http://cvs2svn.tigris.org/faq.html#oneatatime " says that I need to run on a work on copy of my repositry. 网址“ http://cvs2svn.tigris.org/faq.html#oneatatime ”中的常见问题解答说,我需要在存储库副本上运行某个工作。 Is that I have copy the cvsroot directory path to some/backup_dir and run on backup_dir or I have to run on checkout copy? 是我已将cvsroot目录路径复制到some / backup_dir并在backup_dir上运行,还是必须在结帐副本上运行?

What if I don't want to convert all of my projects at once? 如果我不想一次转换所有项目该怎么办? "Remember to make a backup before starting. Never run cvs2svn on a live CVS repository--always work on a copy of your repository." “请记住在开始之前进行备份。切勿在实时CVS存储库上运行cvs2svn-始终在存储库的副本上工作。”

Please suggest, i am working on a migration. 请提出建议,我正在进行迁移。

You definitely shouldn't run cvs2svn against a "live" repository (ie, one that might be modified via CVS during the transition). 您绝对不应在“实时”存储库上运行cvs2svn (即,在过渡期间可能会通过CVS对其进行修改)。 This would utterly confuse cvs2svn . 这将使cvs2svn完全混乱。

The recommendation is to make a backup and run the conversion against the backup. 建议进行备份,并对备份运行转换。 This recommendation is there (1) so that users don't accidentally run cvs2svn against a live repo; 此处存在此建议(1),以使用户不会意外cvs2svn对实时回购运行cvs2svn (2) to guard against accidents or cvs2svn bugs; (2)防止发生事故或cvs2svn错误; (3) because sometimes before the conversion it is convenient to move directories around, and this way the user doesn't accidentally mangle his/her main copy; (3)因为有时在转换之前可以方便地移动目录,并且这种方式用户不会意外地破坏其主副本; (4) because, this is really valuable data; (4)因为,这确实是有价值的数据; shouldn't you have a backup anyway? 反正不应该备份吗?

If you sure that you are too lucky and/or clever to be impacted by any of these issues, feel free to convert from your original copy. 如果您确定自己太幸运和/或聪明,不会受到任何这些问题的影响,请随时转换为原始副本。

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

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