Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old September 25th, 2010, 10:45 AM   #1 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Blush how to checkout a specified branch?

Hi,I have download the android source code using repo:
mkdir mydroid
cd mydroid
repo init -u git://android.git.kernel.org/platform/manifest.git
repo sync

I am sure I have updated to the latest branch(froyo). But I don't want the latest branch.I need the 'eclair' branch. How can I fetch this branch based on the downloaded files?

I know that using "repo init -u git://android.git.kernel.org/platform/manifest.git -b eclair" can achieve this,but it will download files from server's repo again.

Thanks.

zmjdx is offline  
Reply With Quote
Sponsors
Old November 5th, 2010, 03:06 AM   #2 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm having the exact same problem, this is what I do:
repo forall -c "git checkout eclair"

After that, when you do 'repo branches' it will list a number of
projects which do not have an 'eclair' branch.

Actually there are multiple eclair branches - it's not clear to me at this point
which is the right one to start from

remotes/korg/eclair
remotes/korg/eclair-passion-release
remotes/korg/eclair-release
remotes/korg/eclair-sholes-release
remotes/korg/eclair-sholes-release2

Anyway, after that, go to the project where you want to start hacking.
If you type gitk.
If you by any chance were planning on working an IME, let me know ;-)
karel1980 is offline  
Reply With Quote
Old November 20th, 2010, 09:01 AM   #3 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ignore my previous answer. You should use these commands:

repo init -u git://android.git.kernel.org/platform/manifest.git -b eclair
repo sync

Don't forget to create a topic branch before you start making changes.
repo start mybranch [proj1 proj2 ... projN]

See here for more information:
Using Repo and Git | Android Open Source
karel1980 is offline  
Reply With Quote
Reply

Bookmarks

Tags
branch, eclair, git, repo, source code


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checkout Check: An Android interface to Google Checkout polyclef Application Development 1 December 11th, 2011 05:06 AM
Problems building from eclair branch death2all110 Developer 101 0 November 30th, 2010 02:29 AM
WR: Terrell Owens or Deion Branch howetechnical Sports 9 November 9th, 2010 02:24 PM
Froyo branch created on GitHub!!! Talderon Nexus One 7 May 20th, 2010 03:45 AM
Support checkout problems spupuz Samsung i7500 3 September 7th, 2009 03:49 PM



All times are GMT -5. The time now is 11:33 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo