简体   繁体   中英

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. As the internet came, I wrote fetch chromium again and it said

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? If yes, then how?

You can try resuming the fetch with gclient sync , but AFAIK that is not officially supported for incomplete fetches. 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:

Expect the command to take 30 minutes on even a fast connection, and many hours on slower ones.

It seems the easiest and safest bet to to delete the entire chromium directory / repo and pull it all down again. The drawback is simply how damn long this takes! Be sure to include the --no-history argument when you fetch it!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM