origin is your local git repository's name for the AOSP remote repository.

Try the repo init again, but this time using -b android-4.2.1_r1, without
the origin/.

Also, this question might be better directed at the android-platform list.


On Thu, Nov 29, 2012 at 1:35 PM, Dritan <[email protected]> wrote:

> Hello,
>
> I am trying to download the source for Android 4.2.1 using repo. I did a
> listing of all available branches:
>   ....
>   origin/android-4.1.1_r4
>   origin/android-4.1.1_r5
>   origin/android-4.1.1_r6
>   origin/android-4.1.1_r6.1
>   origin/android-4.1.2_r1
>   origin/android-4.2.1_r1
>   origin/android-4.2_r1
>   origin/android-cts-2.2_r8
>   origin/android-cts-2.3_r10
>   origin/android-cts-2.3_r11
>   origin/android-cts-2.3_r12
>   ....
>
> as you can see there is a branch "  *origin/android-4.2.1_r1*  " which is
> what I'm interested in.
>
> So then I go about to download this branch but all I get is *"error:
> revision origin/android-4.2.1_r1 in manifests not found"*
>
> *dritan-xl:android_src dritan$ repo init -u
> https://android.googlesource.com/platform/manifest -b
> origin/android-4.2.1_r1*
> remote: Counting objects: 493, done
> remote: Finding sources: 100% (70/70)
> remote: Getting sizes: 100% (16/16)
> remote: Total 70 (delta 28), reused 70 (delta 28)
> Unpacking objects: 100% (70/70), done.
> From https://android.googlesource.com/platform/manifest
>  * [new branch]      android-4.1.1_r6.1 -> origin/android-4.1.1_r6.1
>  * [new branch]      android-4.2.1_r1 -> origin/android-4.2.1_r1
>  * [new branch]      android-4.2_r1 -> origin/android-4.2_r1
>  * [new branch]      jb-mr1-dev -> origin/jb-mr1-dev
>    f46b8df..aefb147  master     -> origin/master
>    87ea759..43545df  master-dalvik -> origin/master-dalvik
>  * [new branch]      tools_r21  -> origin/tools_r21
>    5a09f80..fbb30a8  tradefed   -> origin/tradefed
>  * [new tag]         android-4.1.1_r6.1 -> android-4.1.1_r6.1
>  * [new tag]         android-4.2.1_r1 -> android-4.2.1_r1
>  * [new tag]         android-4.2_r1 -> android-4.2_r1
>  * [new tag]         android-4.2_r1_ -> android-4.2_r1_
> error: revision origin/android-4.2.1_r1 in manifests not found
> *dritan-xl:android_src dritan$ repo init -u
> https://android.googlesource.com/platform/manifest -b
> origin/android-4.2.1_r1*
> error: revision origin/android-4.2.1_r1 in manifests not found
>
> I don't think I'm doing anything wrong on my end, does anyone have a fix?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> 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-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
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-developers?hl=en

Reply via email to