Search code examples
perlgit-svnosx-mountain-lion

How do I update the perl subversion bindings on OSX?


I'm having a problem with git-svn that may be related to the perl svn bindings. Even after installing new versions of subversion and git using homebrew, git-svn is using an old version of svn:

$ git svn --version
git-svn version 1.8.2.1 (svn 1.6.18)

$ svn --version
svn, version 1.7.7 (r1393599)

How do I make git-svn use the newer version of svn?


Solution

  • Thanks to this answer, I found a reasonable solution. I ran sudo cpan SVN::Core, which updated the svn version of git-svn:

    $ git svn --version
    git-svn version 1.8.2.1 (svn 1.7.3)
    

    The native svn version was unchanged. So I'm left with two different versions of svn, but at least they are the same major version.