且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将Subversion存储库转换为Mercurial

更新时间:2023-11-11 20:59:22

我不知道可能会出什么问题,但是我想提出一种解决方法(这是我个人用于此目的的唯一方法任务!):首先 svnsync 到svn项目制作一个本地镜像,然后hg convert那个本地镜像-这就是O'Sullivan在他的书(此URL作为书中的示例",是从其他VCS导入项目到hg的相关附录,特别是svn!),建议主要是出于对速度的考虑,我怀疑遵循此建议也免除了我的身份验证和授权麻烦,我希望它可以为您做同样的事情!-)

I don't know what may be going wrong, but I'd like to suggest a workaround (which is the only way I've personally used for this task!): first svnsync the svn project to make a local mirror, then hg convert that local mirror -- that's what O'Sullivan suggests in his book (this URL has, as "sample from the book", exactly the relevant appendix for importing projects from other VCSs to hg -- with special emphasis on svn!), though his suggestion is mostly inspired by considerations of speed I suspect that following it has also saved me authentication and authorization hassles, and I hope it could do the same for you!-)