Git svn transition failure with svn 1.8

I follow these steps: http://git-scm.com/book/en/v2/Git-and-Other-Systems-Git-as-a-Client

to move the svn repository to git. My local version of svn:

$ svn --version svn, version 1.8.10 (r1615264) compiled Aug 25 2014, 10:52:18 on x86_64-apple-darwin12.5.0

git version:

$ git --version git version 2.1.0

When I clone a repository, I get an error message in the local file system format:

$ git svn clone file:///tmp/test-svn -s
Initialized empty Git repository in /private/tmp/test-svn/.git/
Couldn't open a repository: Unable to connect to a repository at URL 'file:///tmp/test-svn': Unable to open an ra_local session to URL: Unable to open repository 'file:///tmp/test-svn': Expected FS format between '1' and '4'; found format '6' at /usr/local/Cellar/git/2.1.0/lib/perl5/site_perl/Git/SVN.pm line 310

In accordance with this svn release note, the FS 6 format was introduced in svn 1.8: http://subversion.apache.org/docs/release-notes/1.8.html#revprop-packing

Could git 2.1 perl script be not compatible with this version of svn yet? More importantly, how can I get this svn repository converted to git?

+10
source share
1

git -sers.

svnserver svn 'git svn clone' 'file'. git -svn, svn 1.8.

, /tmp svnserve -d. git svn clone svn://127.0.0.1/test-svn -s, . svnserver svn.

+18

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


All Articles