Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

david_gileadi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 19, 2012

I'm trying to clone https://svn.mirthcorp.com/connect/ into a local git repository. I consistently get a Git::SVN error.

System:

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 https://svn.mirthcorp.com/connect/ /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/Ra.pm line 338.

Completed with errors, see above

4 answers

1 accepted

1 vote
Answer accepted
david_gileadi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 9, 2013

It turns out a bug got created for this issue.

William Bath
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 8, 2013

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?

William Bath
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 8, 2013

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.

1 vote
Rasheed Barnes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 20, 2013

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

1 vote
LucasA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 4, 2013

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

0 votes
Shwetali Shinde July 2, 2022

Hi @david_gileadi , @LucasA , @William Bath , @Rasheed Barnes 

Kind request to you all experts ,Could you please help me in below matter .

 

I have installed git,git-svn and subversion on my Ubantu still its gives below error.

Please help me to resolve this  issue .

Error:

"Can't load '/usr/local/lib/x86_64-linux-gnu/perl/5.30.0/auto/SVN/_Core/_Core.so' for module SVN::_Core: libsvn_diff-1.so.0: cannot open shared object file: No such file or directory at /usr/lib/x86_64-linux-gnu/perl/5.30/DynaLoader.pm line 193.
at /usr/local/lib/x86_64-linux-gnu/perl/5.30.0/SVN/Base.pm line 59.
BEGIN failed--compilation aborted at /usr/local/lib/x86_64-linux-gnu/perl/5.30.0/SVN/Core.pm line 5.
Compilation failed in require at /usr/share/perl5/Git/SVN/Utils.pm line 6.
BEGIN failed--compilation aborted at /usr/share/perl5/Git/SVN/Utils.pm line 6.
Compilation failed in require at /usr/share/perl5/Git/SVN.pm line 32.
BEGIN failed--compilation aborted at /usr/share/perl5/Git/SVN.pm line 32.
Compilation failed in require at /usr/lib/git-core/git-svn line 23.
BEGIN failed--compilation aborted at /usr/lib/git-core/git-svn line 23.
git-svn: ERROR: Unable to determine version."

 

 Thanks ,

Shwetali

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events