我大概在24小时前跑了git svn clone
,它仍然在运行,看不到尽头。 当我在目的地目录时,除了.git文件夹外,没有其他的东西。 有没有办法certificate这个命令实际上是在进步而不是陷入无限循环?
我最关心的部分是我一遍又一遍地看到这样的消息:
W: Refspec glob conflict (ref: refs/remotes/trunk@8286): expected path: branches/trunk@8286 real path: OLD/branches/APP Continuing ahead with OLD/branches/APP W: Refspec glob conflict (ref: refs/remotes/trunk@8287): expected path: branches/trunk@8287 real path: OLD/branches/APP Continuing ahead with OLD/branches/APP W: Refspec glob conflict (ref: refs/remotes/tags/1.1@8289): expected path: tags/1.1@8289 real path: OLD/trunk/APP Continuing ahead with OLD/trunk/APP W: Refspec glob conflict (ref: refs/remotes/tags/1.1@8289): expected path: tags/1.1@8289 real path: OLD/trunk/APP Continuing ahead with OLD/trunk/APP W: Refspec glob conflict (ref: refs/remotes/tags/1.1@8289):
实际上没有办法做到这一点。 计算机科学中有一个证明,即如何确定一个程序是否处于无限循环状态,实际上是不可能的。 这个证明被称为停机问题。 这是一个链接:
http://en.wikipedia.org/wiki/Halting_problem
这听起来像你正在下载一些巨大的东西。 你知道尺寸吗? 如果git回购有大量的图像(读取10,000+),并且你有一个缓慢的连接,那么克隆的时间似乎并不意外。 如果你的git repo只有几个Megs,那么这听起来像是有问题,但在这种情况下,远程服务器很可能不会返回错误流。 那有意义吗? 你还知道这个问题吗?