Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I'm trying to sync my jb repository but I receive this odd error.
funny thing is that it does not always crash at the same point (though it might be just a synchronization issue since I add -j10).
command:
$ repo sync -j10
error:
error: Exited sync due to fetch errors
I'm aware of the possibility of starting fresh but this is somewhat annoying and I get this issue often enough.
Can anyone suggest a faster solution?
–
–
–
There is a major factual error which most people know! People think, if repo sync fails, they have to download from the beginning again. But this is never true! Once repo sync is restarted after an error or manual termination, it just continues to sync from where it was terminated, updating only the existing files which were updated on github. Telling you from my experience.
And one more tip: After repo sync is completed, never ever delete the .repo folder. If you do so, the repo tool will start downloading all the code from the beginning rather than just updating them when you run repo sync afterwards!
–
–
I have encountered this problem. I tried many times, but it did not work. Even that, I add the -f parameter some times.
Finally, I deleted the
.repo/projects/xxx
project , repo sync again, and it worked.
Thanks for contributing an answer to Stack Overflow!
-
Please be sure to
answer the question
. Provide details and share your research!
But
avoid
…
-
Asking for help, clarification, or responding to other answers.
-
Making statements based on opinion; back them up with references or personal experience.
To learn more, see our
tips on writing great answers
.