Error after upgrading to Mountain Lion OS (git-svn)

Hi!

I've installed Mountain Lion in my mac book, and now I can't push changes to my remote SVN server.

The error I get is the following:

git -c diff.mnemonicprefix=false -c core.quotepath=false svn rebase

Can't locate SVN/Core.pm in @INC (@INC contains: /usr/local/git/lib/perl5/site_perl /Applications/dev/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.4 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at /Applications/dev/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git-svn line 41.

Completed with errors, see above

Any ideas of why this might be happening?

Thanks in advance!!!

1 answer

Mountain Lion removed the default install of Subversion unfortunately. Do you have XCode installed?

On a fresh Mountain Lion install, one way to get git-svn working again is to:

  1. Install XCode 4.4
  2. Open XCode and in Preferences > Downloads, click 'Install' next to 'Command line tools'

This worked for me on a completely new ML machine.

I've also seen another article about this: http://victorquinn.com/blog/2012/02/19/fix-git-svn-in-mountain-lion/ - however I've never needed to do that. Just installing XCode and the command line tools worked great for me.

Hi Steve!

It worked like a charm, thank you very much for your help!

Cheers!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

647 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you