将代码从svn迁移到git信息库时出错:网络数据格式错误:XML响应包含无效的XML:svn2git [英] Getting error while migrating code from svn to git repository: Malformed network data: The XML response contains invalid XML: svn2git

查看:114
本文介绍了将代码从svn迁移到git信息库时出错:网络数据格式错误:XML响应包含无效的XML:svn2git的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Ran命令git svn clone"SVN URL".

Ran command git svn clone "SVN URL".

在4568次提交之前,它都可以正常工作,但是在提交后给出标题中指出的错误,然后它得到了.

It works fine till 4568 commits, but then it gets after this commit giving the error stated in title.

推荐答案

这似乎是因为默认log-window-size太小了.

this seems to be because the default log-window-size is too small.

当您收到错误消息时,请从新的git repo中尝试运行: git svn fetch --log-window-size=4000

When you get error, from the new git repo, try running: git svn fetch --log-window-size=4000

您可以尝试使用实际数字,但是4000是我的神奇数字.

You can experiment with the actual number, but 4000 was the magic number for me.

这篇关于将代码从svn迁移到git信息库时出错:网络数据格式错误:XML响应包含无效的XML:svn2git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆