git-svn problems on Mavericks
When you try to use git-svn on Mavericks, it doesn't work.
Firstly, make sure you've installed Xcode and the command line tools.
- Install Xcode 5
- Run "xcode-select --install"
Next, using any git-svn command might display this:
Can't locate SVN/Core.pm in @INC (@INC contains: /usr/local/Cellar/git/1.8.4/lib /Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.4 /System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16 /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level/System/Library/Perl/Extras/5.16 .) at /usr/local/Cellar/git/1.8.4/libexec/git-core/git-svn line 41.
In order to fix this you need to symlink some Perl libraries from Xcode into the global Perl path, because Xcode no longer automatically puts them where they're needed:
sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.16/darwin-thread-multi-2level/SVN /System/Library/Perl/Extras/5.16/SVN sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.16/darwin-thread-multi-2level/auto/SVN/ /System/Library/Perl/Extras/5.16/auto/SVN
Once you've done that, git-svn should work both on the command line and within SourceTree (in both system and embedded git modes)