Changes between Version 64 and Version 65 of Building/GettingTheSources


Ignore:
Timestamp:
Jun 26, 2011 1:58:15 PM (4 years ago)
Author:
igloo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/GettingTheSources

    v64 v65  
    4545The above instructions will get the HEAD - the main trunk of GHC development.  There are also branches, from which stable releases are made.  The active branches are listed on [wiki:Repositories].
    4646
    47 To get a branch, first get a ghc tree as normal. You must get it from a repo that contains the branch; in particular, local clones of the central repo will normally not include the branches that are in the central repo. Then run
     47To get a branch, you need to get from a repo that contains the branch; in particular, local clones of the central repo will normally not include the branches that are in the central repo.
     48
     49There are two ways of getting a branch. To get one from scratch, run
    4850{{{
    49 ./sync-all checkout branch-name
     51  $ git clone -b branch-name http://darcs.haskell.org/ghc.git/
     52  $ cd ghc
     53  $ ./sync-all --testsuite get -b branch-name
     54}}}
     55
     56If you already have a GHC tree, then you can switch to another branch with
     57{{{
     58  $ ./sync-all checkout branch-name
    5059}}}
    5160