问题
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