开发者

git-svn died of signal 10 on OSX

开发者 https://www.devze.com 2023-01-12 11:11 出处:网络
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:

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.


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?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号