Difference between revisions of "Downloading Source"

From Earlham CS Department
Jump to navigation Jump to search
Line 8: Line 8:
 
#Download the source with your tool of choise
 
#Download the source with your tool of choise
 
# From the shell, type: <code>hg clone https://android.posit-mobile.googlecode.com/hg/ posit-mobile-android</code>
 
# From the shell, type: <code>hg clone https://android.posit-mobile.googlecode.com/hg/ posit-mobile-android</code>
 +
 +
==Change the Branch==
 +
#In a shell, navigate to the source code directory
 +
#type <code>hg branch</code> (It should list as 'default')
 +
#type <code>hg update -C test_branch</code>
 +
#type <code>hg branch</code> (It should now list 'test_branch')

Revision as of 15:37, 23 March 2012

Mac and Windows

  1. Download Mercurial [1]
  2. In a shell, navigate to your Eclipse workspace folder
  3. Type: hg clone https://android.posit-mobile.googlecode.com/hg/ posit-mobile-android

Linux

Note: Not tested for Linux, can someone confirm

  1. Download the source with your tool of choise
  2. From the shell, type: hg clone https://android.posit-mobile.googlecode.com/hg/ posit-mobile-android

Change the Branch

  1. In a shell, navigate to the source code directory
  2. type hg branch (It should list as 'default')
  3. type hg update -C test_branch
  4. type hg branch (It should now list 'test_branch')