【发布时间】:2017-07-21 19:51:09
【问题描述】:
我尝试从我们的 svn 存储库中克隆一个路径。存储库受密码保护。
我在我的 Windows 10 系统上找到了一些颠覆目录并为它们创建了符号链接。所以只有一个目录。
我打开了 git-bash 并启动了命令
svn checkout --username myuser --password mypassword svn://myserver/myrepository/myproject/trunk
SVN 在 auth/svn.simple 目录中创建了一个包含我的凭据的文件。文件以
开头K 8
passtype
V 8
wincrypt
K 8
password
...
以下命令现在成功了:
svn update trunk
现在我想使用 git-svn:
git svn clone svn://myserver/myrepository/myproject --username myuser
但我得到的只是以下响应:
Initialized empty Git repository in D:/mylocalprojectpath/.git/
W: Item is not readable: Item is not readable at /mingw64/share/perl5/site_perl/Git/SVN.pm line 153.
**Error from SVN, (220001): Item is not readable: Item is not readable**
我发现的所有关于此错误的信息都表明这是一个身份验证问题。所以在我看来,git svn 不使用 svn 的存储凭据。
我做错了什么?一些建议?
【问题讨论】:
-
这是一次性迁移,之后您只想使用 Git,还是想从 Git 克隆提交回 SVN 存储库?
-
嗨,我想使用 Git 克隆中的 SVN 存储库。
标签: windows svn version-control git-svn