I realized that repo -b brings the branch and from $ git help clone found that it is passed through to git so this worked! $ git clone git://android.git.kernel.org/platform/packages/apps/DeskClock.git -b eclair Cloning into DeskClock... remote: Counting objects: 4270, done. remote: Compressing objects: 100% (1192/1192), done. remote: Total 4270 (delta 2039), reused 4220 (delta 1996) Receiving objects: 100% (4270/4270), 1.18 MiB | 196 KiB/s, done. Resolving deltas: 100% (2039/2039), done.
On Dec 24, 10:53 pm, "longingtoadopt.com" <[email protected]> wrote: > I was trying to run and read through the Desk Clock code. > I cloned the subtree > herehttp://android.git.kernel.org/?p=platform/packages/apps/DeskClock.git... > However it pulls in the latest code and some of which refers to API > level 9 variables eg. ACTION_SET_ALARM, EXTRA_HOUR, EXTRA_MESSAGE, > every_day, never... > Spent hours trying to get this to compile before I realized this. > I want the version of DeskClock for API 7. > How to do this? -- 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

