lunatechian (lunatech-ian)

one relating to, belonging to, or resembling lunatech

git-svn on macports

If you are using macports, you will notice that git svn init will give you this erro git: 'svn' is not a git-command. This is because the default build of the macports git does not build git-svn. You can do the following steps to fix this

sudo port deactivate git
sudo port install git +svn
Be preapeared for a long build - this will pull in svn and related dependencies.
Defined tags for this entry:

Trackbacks

Trackback specific URI for this entryTrackback URL

Comments

    • Posted bybeppu
    • on
    Thank you! I was wondering where git-svn was hiding.
    Reply
    • Posted bythomas
    • on
    Thank you. Saved the rest of my evening.
    Reply
  1. I had to use:

    sudo port deactivate git-core

    Not sure if the package name has changed. My `port version` is "Version: 1.8.2" if that matters.
    Reply
    • Posted byRahmi Guldahl
    • on
    http://code.google.com/p/git-osx-installer/downloads/list?can=3

    These are embraced by http://git-scm.com/ and works out of the box with git-svn so save your self's the time, and enjoy a much faster approach that actually works.
    Reply
    • Posted byDevy
    • on
    The MacPorts port name for Git is "git-core" instead of "git". Also the doc and python26 variants are also helpful.

    {{{
    sudo port deactivate git-core
    sudo port install git-core +svn+doc+python26
    }}}
    Reply

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.