Hi I had successfully setup a local mirror for AOSP and was working with it on a local copy of the AOSP codebase. I followed guidelines here http://stackoverflow.com/questions/6136789/cloning-android-sources-to-a-local-repository-server .
However, I recently had a disk crash and lost my local mirror. I want to recreate my mirror for code versioning again, but I am a bit confused about how to go about this. If it was a regular git repository, I guess I could create a bare repo and push my branches. I could also copy my code to the mirror and delete all remotes. I believe those would have worked. But I am not sure how to go about this with the "repo" tool. I tried to get the local repository as a mirror of my source code (cloned from old mirror repo). I used the manifest in my .repo directory. While the sync was successful, the directory structure is different from what it should be (for example art.git in root directory and not in platforms). Further, a push from my source code results in "shallow update not allowed" errors. I guess I could go around fixing these at a per git repository level. But I hope there is a cleaner solution. Wondering if you guys can guide me? Thanks and Regards Rohit -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
