I upgraded SVN::Core via CPAN and now git-svn doesn't recognise http:// URLs

半腔热情 提交于 2019-12-21 11:25:46

问题


I was trying to update version of Subversion used by git svn and so I ran the following command.

> cpan SVN::Core

It appeared to work; however, now git svn doesn't recognise HTTP URLs!

> git svn rebase
Bad URL passed to RA layer: Unrecognized URL scheme for 'http://<...>' at /opt/local/libexec/git-core/git-svn line 2265

I've tried it on svn:// URLs and it works okay.

Does anyone know how to fix this?

I'm running OS X 10.6 and using MacPorts for git, subversion, perl, and cpan.


回答1:


SVN::Core depends on it's own version of subversion (which it configures and builds) for providing SVN capabilities.

I had the same problem and found out that SVN has a dependency on libneon for http and https transport support.

I installed libneon-dev and re-ran the install for SVN::Core and it worked.



来源:https://stackoverflow.com/questions/3606524/i-upgraded-svncore-via-cpan-and-now-git-svn-doesnt-recognise-http-urls

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!