2011-10-25 31 views
4

基于文件的访问,我得到以下错误,当我尝试克隆的git的SVN仓库:的git - svn的一起仓库

$ git svn clone "file:////stevenagefs/Projects/6500-6999/6792/DesignSVNRepos" 
"DesignGit" -T trunk -b branches -t tags -r 0:HEAD 
Couldn't open a repository: Unable to open an ra_local session to URL: Unable to 
open repository 'file:///stevenagefs/Projects/6500-6999/6792/DesignSVNRepos' at 
    C:\Apps\Git/libexec/git-core\git-svn line 2210 

有什么我做错了或者是它无法使用git-svn是这样的吗?

请注意,我知道对SVN存储库的基于文件的访问被认为是有害的,但这就是我所拥有的。

回答

3

您被允许进行文件访问,但前提是客户端需要文件访问支持(ra_local)编译,其中git-svn似乎不是。如果你真的想要文件访问,你将需要建立自己的git-svn客户端。

+0

您也可以暂时运行'svnserve -d',然后对'svn:// localhost/path'执行'clone'操作。 –