How to resume repo sync

后端 未结 4 788
抹茶落季
抹茶落季 2020-12-19 11:50

Can anyone please mention how to resume the sync command?

I followed the following steps: $ repo init -u git://git.omapzoom.org/platform/omapmanifest.git -b eclair $

4条回答
  •  离开以前
    2020-12-19 11:56

    a "repo" consists of 176 "projects", some of them are very large (>100k of objects) you can only resume sync if some projects are fully downloaded, but others are not. but you cannot resume an interrupted sync of one big project. here's, a Git manual quote:

    When cloning a large repository (such as KDE, Open Office, Linux kernel) there is currently no way to restart an interrupted clone. It may take considerable time for a user on the end of a small pipe to download the data, and if the clone is interrupted in the middle the user currently needs to start over from the beginning and try again. For some users this may make it impossible to clone a large repository.

    So, if you really want to transfer these files to your machine - you'd better get access to some shell out of your network, transfer files there, and then sync your local PC and that remote shell with some restartable method, such as RSync.

    Or even remotely compress all that things in one big archive, and download it to your machine with your favourite download manager.

提交回复
热议问题