SVN to Git migration:文件过早结束

时间:2017-12-02 11:19:02

标签: svn subgit

我正在使用Subgit将SVN repos迁移到Git。这是一个巨大的回购(git repo的大小在75%进度后是86 GB)。 75%的进展后我得到了跟随错误。我在subgit config中尝试readTimeout = 600000但没有成功。

任何人都可以建议我这个错误是什么,SVN客户端/ Subgit中是否有任何配置我可以调整以解决这个问题?

[2017-12-02 07:03:53.091][subgit-install][1] svn: E175002: Processing REPORT 
request response failed: Premature end of file. (/svn/pcs/!svn/vcc/default) 
svn: E175002: REPORT request failed on '/svn/pcs/!svn/vcc/default'
com.syntevo.svngitkit.core.a.i: svn: E175002: Processing REPORT request 
response failed: Premature end of file. (/svn/pcs/!svn/vcc/default) 
svn: E175002: REPORT request failed on '/svn/pcs/!svn/vcc/default'
at com.syntevo.svngitkit.core.a.i.a(SourceFile:29)
at com.syntevo.svngitkit.core.b.N.b(SourceFile:655)
at com.syntevo.svngitkit.core.b.N.a(SourceFile:357)
at com.syntevo.svngitkit.core.b.N.a(SourceFile:317)
at com.syntevo.svngitkit.core.b.N.a(SourceFile:263)
at com.syntevo.svngitkit.core.b.N.a(SourceFile:102)
at com.syntevo.svngitkit.core.b.ac.c(SourceFile:43)
at com.syntevo.svngitkit.core.b.ac.b(SourceFile:36)
at org.tmatesoft.translator.k.ap.a(SourceFile:1269)
at org.tmatesoft.translator.k.ap.c(SourceFile:885)
at org.tmatesoft.translator.k.ap.a(SourceFile:908)
at org.tmatesoft.translator.k.ap.b(SourceFile:965)
at org.tmatesoft.translator.k.ap.a(SourceFile:587)
at org.tmatesoft.translator.k.ap.a(SourceFile:558)
at org.tmatesoft.translator.k.d.i.a(SourceFile:203)
at org.tmatesoft.translator.k.d.i.c(SourceFile:90)
at org.tmatesoft.translator.a.Q.b(SourceFile:53)
at org.tmatesoft.translator.a.u.a(SourceFile:23)
at org.tmatesoft.translator.d.a(SourceFile:186)
at org.tmatesoft.translator.d.a(SourceFile:137)
at org.tmatesoft.translator.d.a(SourceFile:51)
at org.tmatesoft.translator.process.f.d(SourceFile:136)
at org.tmatesoft.translator.process.f.c(SourceFile:106)
at org.tmatesoft.translator.d.a(SourceFile:74)
at org.tmatesoft.translator.d.a(SourceFile:65)
at org.tmatesoft.translator.SubGit.main(SourceFile:10)
Caused by: org.tmatesoft.svn.core.SVNException: svn: E175002: Processing REPORT request response failed: Premature end of file. 
(/svn/pcs/!svn/vcc/default) 

1 个答案:

答案 0 :(得分:1)

从描述和堆栈跟踪看起来像是通过HTTP(S)访问SVN存储库。 如果是这种情况,请尝试通过启用svn.httpSpooling来启用http假脱机:

[SVN]

# enable HTTP requests spooling to prevent server-side timeout when request processing takes long time.
httpSpooling = true

另一种可能的做法是错误的映射配置, 但很难说堆栈跟踪只是错误地设置了什么,它需要额外的分析。 尝试使用启用的httpSpooling重新启动翻译, 如果失败 - 请发送SubGit的日志(subgit-import- .zip或subgit-install - .zip) 以及SVN日志(' svn log -v'命令输出)到support@subgit.com进行分析。 使用这些日志,可以找出原因并解决问题。