简体   繁体   English

有没有办法删除以前不完整的提取并重新开始?

[英]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并说

Error message shown:显示的错误消息: 在此处输入图像描述

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: fetchgclient 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.

相关问题 通过先前的提交再次删除文件,该提交首先删除了该文件 - Delete again a file via a previous commit that deleted that file in the first place 有没有办法对所有以前的提交进行 gpg 签名? - Is there a way to gpg sign all previous commits? 如何重新启动或删除travis上的所有内容以重新开始 - How can restart or delete everything on my travis to start over 除了最后一次提交,删除之前的所有提交 - Except only the last commit delete previous all commits 使用 git filter-branch 从以前的提交中删除所有文件 - Delete all files from previous commits with git filter-branch 有没有办法比较所有分支的文件? - Is there a way to compare a file over all branches? 有没有办法删除与Ckeditor gem相关的所有文件 - Is there a way to delete all files related to Ckeditor gem 有没有办法删除所有文件并在github上提交 - Is there way to delete all files and commits on github 如果我在使用git完成工作后删除.git文件夹会发生什么?在该目录上再次工作时,我是否必须启动新的存储库? - What will happen if I delete the .git folder after my work is done with git? Will I have to start new repository when working again on that directory? 我想将所有内容从文件夹中移到层次结构中的上一层并删除GitHub中的上一个文件夹 - I want to move all the content from the folder to one-level up in the hierarchy and delete the previous folder in GitHub
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM