我正在尝试使用 Ubuntu 16.4 机器将我庞大的 SVN 存储库移动到 Git 中。为此,我遵循本教程:
https://www.atlassian.com/git/tutorials/svn-to-git-prepping-your-team-migration
我已经安装了最新的 Git、SVN 和 git-svn 工具。
我的问题是,每次我运行“git svn clone”命令时,我都会收到此错误“错误:git-svn 死于信号 11”,但没有任何进一步的信息。
在这个论坛上搜索了一下,我发现了另一个帖子:
git svn clone died of signal 11 under cygwin
这让我到这个网站寻求解决方案:
http://pwizardry.com/devlog/index.cgi/2010/03/29#svn2git
要求使用“git svn fetch”恢复进程。我这样做了,并且随着该过程又持续了一天,它似乎起作用了。不幸的是,它因同样的错误再次停止,'git svn fetch' 似乎没有任何帮助。
我想知道是否有人遇到过这个问题,或者我怎么能找到任何痕迹,因为我得到的只是这个错误,没有任何进一步的解释。
编辑:
所以我继续搜索这个问题,我发现如果使用“valgrind”你可以获得更多信息,所以我这样做了,现在“git svn fetch”在另一个点停止并显示这条消息:
==17006== Warning: invalid file descriptor -1 in syscall close()
==17006==
==17006== HEAP SUMMARY:
==17006== in use at exit: 43,779,830 bytes in 71,103 blocks
==17006== total heap usage: 7,178,701 allocs, 7,107,598 frees, 2,123,468,574 bytes allocated
==17006==
==17006== LEAK SUMMARY:
==17006== definitely lost: 156,556 bytes in 40 blocks
==17006== indirectly lost: 156,338 bytes in 51 blocks
==17006== possibly lost: 43,394,719 bytes in 70,805 blocks
==17006== still reachable: 72,217 bytes in 207 blocks
==17006== of which reachable via heuristic:
==17006== newarray : 53,032 bytes in 1,637 blocks
==17006== suppressed: 0 bytes in 0 blocks
==17006== Rerun with --leak-check=full to see details of leaked memory
==17006==
==17006== For counts of detected and suppressed errors, rerun with: -v
==17006== ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
知道这是什么吗?
编辑 2:
我现在看到,运行我的常规“git svn fetch”表明一切都已完成...我没有看到“valgrind”的使用有何影响,但它似乎有助于完成工作。
最佳答案
关于git svn clone 失败并显示 "error: git-svn died of signal 11",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42534064/