我尝试使用git2svn将SVN存储库转换为git。我的服务器使用用户名和密码。
我做到了
svn2git https://example.com/svn/bar并得到错误
Initialized empty Git repository in /tmp/bar/.git/
Error from SVN, (130003): XML data was not well-formed: The REPORT response contains invalid XML (200 OK)
command failed:
git svn fetch 在新文件夹中执行git svn fetch时,我会得到相同的错误。
如何调试?git svn fetch似乎没有--verbose选项。
svn co https://example.com/svn/bar起作用..。
编辑
基于菅直人的回答,我尝试了几点:
Subgit显示
error: Import has been interrupted; --svn-url option is not valid at the moment.在使用subgit导入--svn-url http://example.com/svn/bar bar.git调用它之后
它起作用了。
我还用wireshark做了一次网络分析,看到了德文的评论。也许svn2git在这里有编码问题吗?
auskommentierten Legacy-Code endg\374ltig entfernt似乎连任何联系都没有。
发布于 2015-08-05 19:43:24
svn co可能运行良好,因为它检出了上一次修订,而git svn则下载了整个存储库。因此,可能远程存储库在某些修订版中已损坏。
有几件事要尝试:
https://stackoverflow.com/questions/31728400
复制相似问题