Cloning from an SVN repository to a local git repository on Mountain Lion gives me a Git::SVN error

I'm trying to clone into a local git repository. I consistently get a Git::SVN error.


SourceTree 1.5.6

Mountain Lion 10.8.2

XCode 4.5.2, command-line tools are installed.

The following is the output from SourceTree:

git -c diff.mnemonicprefix=false -c core.quotepath=false svn clone --trunk=trunk --branches=branches --tags=tags /Users/gileadis/Projects/mirth

Initialized empty Git repository in /Users/gileadis/Projects/mirth/.git/

Can't locate object method path via package Git::SVN at /usr/local/git/lib/perl5/site_perl/Git/SVN/ line 338.

Completed with errors, see above

3 answers

1 accepted

It turns out a bug got created for this issue.

I've got the same issue on Lion with Source Tree 1.5.8

What is the bug ticket? What is the issue / workarounds? Some info would be useful?

I switched from the embedded git to using the external one on my system (just pulled down the latest and pointed Source Tree at it through preferences) and it resolved the issue.

Hi David,

Please confirm if you have perform a full SVN synv of this repository to a local one and try to run SVN to GIT from this local repo. I believe it'll help you on this process.

Lucas Lima

Atlassian Support

Switching from embedded GIT to the system GIT worked for me as well.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

572 views 1 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