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

1 vote
Accepted answer

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
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...

1,111 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