I had got the android source for 4.0.3, since then I've updated with repo to 4.0.4 . How can I work with 4.0.3 code instead?

StackOverflow https://stackoverflow.com//questions/12709508

Question

I want to set repoy back to showing only code from 4.0.3 throughout the codebase.

Was it helpful?

Solution 2

Thanks to all the help from everyone particularly buzeeg and R0MANARMY, figured it out. The tags for android are listed at https://android.googlesource.com/platform/manifest.git and the command to actually switch to that tag, provided you have it already, is repo start --all only add the --all if you want the entire source changed over. Specify a particular packagename if you want just that changed.

OTHER TIPS

use git hist to look for the hash of your repo with old code. then use git checkout with this hash to have in your folder the old version of the repository.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top