问题
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