I am trying to create a local mirror of AOSP that I can use to check out multiple branches from. I first tried mirroring the master branch with this:
repo init -u https://android.googlesource.com/a/platform/manifest --mirror
repo sync
I assumed that that would mirror everything needed to checkout older branches as well as master itself, but, while all mirrored repositories have tags/branches for older releases, the manifest does not contain older git repositories no longer used in master. When I tried to checkout android-4.2_r1 from my mirror with these commands:
repo init -u ../mirror/platform/manifest.git -b android-4.2_r1repo sync
I found that platform/dalvik was missing and platform/dalvik2 was in it's place. After taking a closer look at manifest.git, I discovered the master-dalvik branch which seems to be maintained as a master branch that still uses dalvik. I then started over and tried initializing my mirror with that branch instead:
repo init -u https://android.googlesource.com/a/platform/manifest --mirror -b master-dalvik
repo sync
But when I tried to checkout android-4.2_r1, I found different repos that were missing like device/lge/mako-kernel. What's the proper way of mirroring AOSP so that I can checkout multiple branches? Do I need to use repo init for each branch I want and just use the --references option to save space? Or can I just use repo sync with a copy of a manifest from each branch I want to sync?--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
-- Antonio Marin Research Dept Swiss Mobility Solutions Av. Jaime I El Conquistador 1, Local 2 03560 El Campello Spain www.swissmobilitysolutions.com Este mensaje contiene informacion reservada y confidencial destinada exclusivamente al destinatario. Si usted no es el destinatario no esta autorizado a copiar, reproducir o distribuir este mensaje ni su contenido. Si ha recibido este mensaje por error, le rogamos que nos lo notifique inmediatamente. The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee(s). It may contain privileged and confidential information. If you are not the intended recipient, please destroy this message and notify us immediately. Any disclosure, copying or distribution of this message is prohibited and may be unlawful.