小编sas*_*arz的帖子

git svn迁移失败,使用svn 1.8

我正在按照以下步骤操作:http: //git-scm.com/book/en/v2/Git-and-Other-Systems-Git-as-a-Client

将svn存储库移动到git.我的本地svn版本是:

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

git版本:

$ git --version git version 2.1.0

当我克隆存储库时,我得到一个错误,读取本地文件系统格式:

$ 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
Run Code Online (Sandbox Code Playgroud)

根据这个svn发行说明,FS格式6在svn …

svn git version-control osx-lion

17
推荐指数
1
解决办法
9480
查看次数

标签 统计

git ×1

osx-lion ×1

svn ×1

version-control ×1