Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

git-svn doesn't work after updating SourceTree to 2.7.6

X Zhang
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!
June 20, 2018

Dear all,

After updating SourceTree to 2.7.6, git-svn doesn't work. When I pull from or push to repository Subversion, it says:

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

Can't locate Git/SVN.pm in @INC (you may need to install the Git::SVN module) (@INC contains: /usr/local/git/share/perl5 /Applications/Sourcetree.app/Contents/Resources/git_local/lib/perl5/site_perl /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /Applications/Sourcetree.app/Contents/Resources/git_local/libexec/git-core/git-svn line 21.

BEGIN failed--compilation aborted at /Applications/Sourcetree.app/Contents/Resources/git_local/libexec/git-core/git-svn line 21.

Completed with errors, see above

 

Is there any solution to this error ? 

1 answer

0 votes
赵盛纬
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!
July 4, 2018

you can run cmd   "cpan Git::SVN"

this helped me to solve this problem

Xiong Zhang
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!
July 4, 2018

Thank you for your help.
cpan installs perl 5.26, but my SourceTree looks for perl 5.18, so it does not solve my problem.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events