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


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/ in @INC (@INC contains: /usr/local/git/lib/perl5/site_perl /Applications/dev/ /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/ 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: - 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!


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

962 views 4 2
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