14

Okay people, I'm sure someone has had this issue and can help me out.

I'm trying to get git-svn working on OSX Leopard (10.5.6). Using MacPorts I've run the install thus : sudo port install git-core +svn

However, git-svn has not been installed and is not available. No errors came up during the lengthy dependency installation and so I'm at a loss.

Thoughts would be greatly appreciated.

kch
  • 77,385
  • 46
  • 136
  • 148
Neil Albrock
  • 1,035
  • 10
  • 16
  • Perhaps you could include some more detail about what you tried to do, what you expected, and what actually happened. The two answers so far have had to guess at what you did. – Greg Hewgill May 07 '09 at 01:18

3 Answers3

25

On my install at least, I have to invoke it as git svn <cmd> instead of git-svn <cmd>.

Hank Gay
  • 70,339
  • 36
  • 160
  • 222
2

That's the same install I used which works fine. Have you added /opt/local/bin to your PATH?

Greg Hewgill
  • 951,095
  • 183
  • 1,149
  • 1,285
  • Thanks for your suggestion Greg. I did check the PATH and MacPorts had done it's job properly and added the /opt/local/bin correctly. Hank's suggestion about using git svn seemed to do the trick. – Neil Albrock May 07 '09 at 08:42
1

git-svn is located in /opt/local/libexex/git-core/ if installed through macports. Add /opt/local/libexex/git-core to your path and you should be good to go.

user730124
  • 11
  • 1