I have installed git and svn with homebrew on my mac running 10.7.4. There are two versions of svn on my machine and I have set up my path to check for homebrew things first. Unfortunately git is using the wrong version of svn, so either it installed it's own version somewhere else, or it is ignoring my path.
$ git --version
git version 1.7.10.4
$ svn --version
svn, version 1.7.5 (r1336830)
$ git svn --version
git-svn version 1.7.10.4 (svn 1.6.17)
$ /usr/bin/svn --version
svn, version 1.6.17 (r1128011)
$ which git svn
/usr/local/bin/git
/usr/local/bin/svn
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/git/bin
I have looked briefly at git-svn.pl, unfortunately I don't know perl and I couldn't determine if the path was being set in there. So, why doesn't git use my path and how can I make it use the version of svn I need?
Thanks for reading.