I have ‘git’ install, but I am not sure if I have the ‘svn’ bridge install as well (“the part to run ‘git svn’).
So I tried to do sudo port install git-core +svn on Mac.
But I end up getting:
---> Activating git-core @1.6.3.3_0+doc+svn
Error: Target org.macports.activate returned: Image error: Another version of this port (git-core @1.6.3.3_0+bash_completion+doc+svn) is already active.
Error: Status 1 encountered during processing.
So how can I check if I have ‘svn’ bridge installed in my git?
Thank you.
Well, you can always try running
git svnand seeing if an executable is found.However, your output from MacPorts shows that you do have the
svnvariant installed, which means the git-svn bridge is present. You can tell this because MacPorts reports thatgit-core @1.6.3.3_0+bash_completion+doc+svnis installed.git-coreis the name of the port,@1.6.3.3_0is the version, and anything with a leading+sign (+bash_completion,+doc, and+svn) are the variants installed with the port. If you want to force a reinstall, run(notice the
-fflag passed to theportprogram), although this shouldn’t be necessary in this case, sincegit-core(with thesvnvariant) is already installed.