git svn migration failing with svn 1.8

陌路散爱 提交于 2019-12-03 02:57:11
saschwarz

I got an answer on the git-users email list.

The solution is to run a local svnserver and use the svn protocol when running git svn clone instead of the file protocol. That avoids git-svn needing to parse the svn 1.8 file format.

Suppose your repository is in a directory /path/to/repository/test-svn. Change into the /tmp directory and run

svnserve -d -r /path/to/repository

Then you can run

git svn clone svn://127.0.0.1/test-svn -s

Afterwards, stop the svnserver and delete the temporary svn repository.

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