在使用sourcetree/git-svn的OSX上,获取“无法在@INC中找到SVN/Core.pm". [英] On OSX using sourcetree / git-svn getting "Can't locate SVN/Core.pm in @INC "

查看:105
本文介绍了在使用sourcetree/git-svn的OSX上,获取“无法在@INC中找到SVN/Core.pm".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用OSX,并希望使用sourcetree将svn存储库转换为本地git存储库.

I'm using OSX and want get a svn repo into a local git repo using sourcetree.

当我通过使用SVN URL的sourcetree添加书签时,因此sourcetree知道它是SVN URL,但是当我单击克隆"按钮时,它报告如下错误:

When I add a bookmark using sourcetree using SVN URL, thus sourcetree knows it's a SVN url, but when I click the clone button, it reports an error like following:

Can't locate SVN/Core.pm in @INC (@INC contains: /usr/local/git/lib/perl5/site_perl /Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl /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/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl/Git/SVN/Editor.pm line 5.
BEGIN failed--compilation aborted at /Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl/Git/SVN/Editor.pm line 5.
Compilation failed in require at /Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git-svn line 81.
BEGIN failed--compilation aborted at /Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git-svn line 81.

我不知道如何解决它.谁能给我有关如何执行此操作的指示?

I don't how to get it through. Can anyone give me a pointer on how to do this?

推荐答案

我最近遇到了 el capitain 这个缺少的SVN/Core.pm问题.

I hit this missing SVN/Core.pm issue recently with el capitain.

我使用的修复来自
下面的评论者说,这也适用于 sierra high sierra .


Commenters below, say this worked on sierra and high sierra too.

这篇关于在使用sourcetree/git-svn的OSX上,获取“无法在@INC中找到SVN/Core.pm".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆