Best way to change android repository versions efficiently once downloaded using repo/git
问题 I've got a situation where I need to build a set of static copies of Android source code of different release versions. Simply doing an repo init -b $version; repo sync will take forever ( init requires interaction, and the syncs will be wasteful of my bandwidth across versions). My current setup is to download one base version (say 1.6_r1), copy it to a new folder (android-1.6_r2) and then rerun init and sync ( repo init -b android-1.6_r2; repo sync ). The sync fails sometimes though, with