[英]is there a way to delete the previous incomplete fetch and start it all over again?
I was fetching the chromium, using我正在取铬,使用
fetch chromium
and unluckily my internet went off.不幸的是,我的互联网断了。 So i pressed
ctrl+c
to end the fetching process then, assuming i could start it all over again later when internet comes.所以我按下
ctrl+c
来结束获取过程,假设我可以稍后在互联网到来时重新开始。 As the internet came, I wrote fetch chromium
again and it said随着互联网的到来,我再次写了
fetch chromium
并说
Will using gclient sync
solve the problem itself, or is there a way to delete the previous incomplete fetch and start it all over again?使用
gclient sync
会解决问题本身,还是有办法删除之前不完整的获取并重新开始? If yes, then how?如果是,那么如何?
You can try resuming the fetch with gclient sync
, but AFAIK that is not officially supported for incomplete fetches.您可以尝试使用
gclient sync
恢复提取,但是官方不支持不完整提取的 AFAIK。 I have done this successfully in the past, but it may not work for you.我过去成功地做到了这一点,但它可能不适合你。
fetch
or gclient sync
will take a while, possibly a very long time, as the documentation indicates: fetch
或gclient sync
将需要一段时间,可能很长时间,如文档所示:
Expect the command to take 30 minutes on even a fast connection, and many hours on slower ones.
即使在快速连接上,该命令也需要 30 分钟,而在较慢的连接上需要几个小时。
It seems the easiest and safest bet to to delete the entire chromium directory / repo and pull it all down again.删除整个 chromium 目录/repo 并再次将其全部拉下似乎是最简单和最安全的选择。 The drawback is simply how damn long this takes!
缺点就是这需要多长时间! Be sure to include the
--no-history
argument when you fetch it!获取时请务必包含
--no-history
参数!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.