git-svn died of signal 10 on OSX

匆匆过客 提交于 2020-01-05 10:09:12

问题


I asked this question originally on SuperUser, but it looks like I'm much more likely to get an answer here. I have git and git-svn installed via Fink. I try to do the following:

$ git svn init http://myserver/myrepo
Initialized empty Git repository in checkout/.git/
$ git svn fetch
error: git-svn died of signal 10

Why is git-svn failing? How can I fix this? I have the repo already checked out via vanilla SVN, so there shouldn't be any access or permissions issues.


回答1:


I was running into the same problem with updated 1.6 CollabNet subversion binaries. Make sure you have the following environment variables set in ~/.profile:

 export PATH=/path/to/svn/bin:....
 export DYLD_LIBRARY_PATH=/path/to/svn/lib:...
 export PERL5LIB=/path/to/svn/lib/svn-perl:...

If you don't set all these, there will be some mismatch between your updated libs and the native Leopard libs, and git-svn will fail.

Or are you still using the native subversion 1.5 that came with Leopard?



来源:https://stackoverflow.com/questions/3503219/git-svn-died-of-signal-10-on-osx

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