tags:

views:

491

answers:

1

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 $ repo sync

The sync took more than 6 hours and I had to terminate the sync myself due to shortgae of bandwidth. Is there any way I can resume the sync from the previous session? I can see that the following folders are created:

bionic.git bootable build.git cts.git and many more....

I have access to free bandwidth only for 6 hours in a day, and I have to do the sync within this time. Any help is really appreciated.

+1  A: 

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.

zed_0xff