I need git-svn to act as a Subversion v1.5 + client

I am running git 1.7 on Mac OSX installed via Homebrew. I am trying to use git svna Subversion server to work with, which requires Subversion 1.5 clients (a restriction performed using pre-commit bindings).

The launch git svn --versionshows that with respect to git, it is git svnequivalent to svn v1.4.4.

I cannot establish whether it is a git svncomplete subversion clone and therefore needs to be updated to fit subversion v1.5 features or if git is compiled or just points to some version of subversion according to the hood.

I struggled to find someone else trying to update the version git-svn, and I assume that this restriction on the client version is unusual, but I am stuck with it (corporate environment.)

Is it possible that git works like svn 1.5?

+3
source share
2 answers

I run git --version 1.6, and when I run git svn --version, I getgit-svn version 1.6.5.

apple:mac-zfs alex$ git svn --version
git-svn version 1.6.6 (svn 1.6.5)
apple:.git alex$ git --version
git version 1.6.6
apple:mac-zfs alex$ svn --version
svn, version 1.6.5 (r38866)
   compiled Oct 16 2009, 02:54:10

Is it possible that installing a later version of Git or SVN will help? My guess is the last.

The NB / usr / bin / svn that I get from OSX 10.6.2 looks in the com.apple.pkg.BSD package. It is possible that an older version of SVN is at 10.5.8; you can download universal from http://subversion.apache.org/packages.html#osx

+3

svn --version, , git svn perl svn svn, , , git svn . git svn svn.

: svn 1.5, git svn svn 1.5.

+7

Source: https://habr.com/ru/post/1737615/


All Articles