Two versions of Subversion are installed on your system: 1.6.17 in /usr/bin/svn
and 1.7.5 in /usr/local/bin/svn
. When you run svn
, it will check your $PATH
correctly to pick it up in /usr/local/bin/svn
, but git-svn
does not bother and just uses the version in /usr/bin
.
Looking through the code, there is nothing in git-svn.pl
or Alien-SVN (the Subversion Perl library used by git-svn
) that explicitly points to any specific binary svn
code, so I suspect that this is a βfunctionβ security, so don't look at your custom $PATH
.
An easy option, if you have access, is to replace /usr/bin/svn
with /usr/local/bin/svn
; possibly by deleting and replacing the symbolic link. Otherwise, I suspect that you will need to dig up the source of git-svn.pl
and rewrite it to accept your custom $PATH
.
source share