Changes between Version 3 and Version 4 of Building/SyncAll


Ignore:
Timestamp:
Jul 20, 2011 9:25:37 AM (3 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/SyncAll

    v3 v4  
    33A GHC tree consists of [wiki:Repositories multiple repositories]. The `sync-all` Perl script lets you operate over them all at once. 
    44 
    5 The basic interface to `sync-all` is described in comments at the top of the source file: source:sync-all. 
     5The full documentation for `sync-all` is found by using the `--help` option: 
     6 
     7{{{ 
     8  $ ./sync-all --help 
     9}}} 
     10 
     11(you can also find it by looking in source:sync-all) 
    612 
    713== Pulling new patches == 
     
    1723See [wiki:Building/Rebuilding] for how to update your build after pulling patches. 
    1824 
    19 You can also pull patches from another tree: 
     25You can also pull patches from another tree, by registering the other tree as a remote, and giving it a name (here `anotherghc`): 
    2026 
    2127{{{ 
    22   $ ./sync-all -r /another/ghc pull 
     28  $ ./sync-all -r /another/ghc remote add anotherghc 
     29  $ ./sync-all pull anotherghc 
    2330}}} 
    2431 
     
    2835 
    2936{{{ 
    30   $ ./sync-all -r /another/ghc push --dry-run 
     37  $ ./sync-all fetch anotherghc 
     38  $ ./sync-all new anotherghc 
    3139}}} 
    3240 
    3341this tells you which patches there are in your local repository tree relative to the tree over in `/another/ghc`. 
    34