I upgraded SVN::Core via CPAN and now git-svn does

2020-07-10 06:37发布

问题:

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.



标签: svn git cpan