问题描述
我们有一个相当大的 SVN 存储库,我们希望将其迁移到 perforce.我们非常希望保留大约 20k 的修订、分支等,但在一些初始测试中,perforce 提供的 svn2p4 脚本无法复制完整结构.
We have a fairly large SVN repository which we are looking to migrate to perforce. We very much want to keep the ~20k revisions, the branches, etc, but in some initial tests the svn2p4 script that perforce provides wasn't able to replicate the full structure.
人们使用此工具取得了成功,还是我的谷歌搜索没有出现其他工具?欢迎使用最佳做法和提示.
Have people had success with this tool, or were there others that my google searching didn't turn up? Best practices and tips are welcome.
推荐答案
Vitalii Pokrovskii 和 Mark Fridrich 创建了 svn2p4,这是一个 perl 脚本,可以同步和重放"以将每个更改集导入 perforce.
Vitalii Pokrovskii and Mark Fridrich created svn2p4, a perl script that will 'sync and replay' to import every change set into perforce.
您可以在 perforce wiki 上找到它.他们还在 2007 Perforce 用户大会.
You can find it on the perforce wiki. They also gave a presentation about it at the 2007 Perforce User's Conference.
更新 2012:另一种解决方案是使用 p4convert-svn.此处的详细信息:perforce 站点上的 p4convert-svn
update 2012: Another solution is to use p4convert-svn. Details here: p4convert-svn at perforce site
这篇关于从 SVN 迁移到 Perforce——提示?经验?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!