Transfer SVN repository from Google Code to RiouxSVN

谁说我不能喝 提交于 2019-12-11 04:27:41

问题


I have repositories on Google Code and now I want to move these code repositories from Google Code to RiouxSVN.

Problem is I have no idea how to accomplish that. I had tried to use "svnadmin" and "svnrdump" but could not make it.

For "svnrdump" I got this error

svnrdump: warning: W200007: Target server does not support atomic revision property edits; consider upgrading it to 1.7.
svnrdump: E175002: DAV request failed; it's possible that the repository's pre-revprop-change hook either failed or is non-existent
svnrdump: E175002: Unrecognized svn: revision property

I tried to create hooks/pre-revprop-change.bat file with content

exit 0

But problem remains as it was. Is there any way to accomplish this?


回答1:


CG's SVN is extremely old, you can't use svnrdump with it. If Google Code doesn't have ability to create dump in admin-panel, you still can use svnsync for creating local mirror of GC's repo, which you'll dump and load to RiouxSVN




回答2:


RiouxSVN is now using Subversion 1.8 and you can use svnsync to import an existing repository from google code or another SVN hosting service.

svnsync init https://svn.riouxsvn.com/target_repo http://source_repo.googlecode.com/svn
svnsync sync https://svn.riouxsvn.com/target_repo



回答3:


Alternatively you can use gitsvn to suck all commits and rebuild a new svn/git repository. It would take some time since gitsvn only use svn commands and not svnadmin commands but if you do not have access to svnadmin commands, that's a workarround.



来源:https://stackoverflow.com/questions/21848216/transfer-svn-repository-from-google-code-to-riouxsvn

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!