Changes between Version 3 and Version 4 of Building/SyncAll
- Timestamp:
- 07/20/11 02:25:37 (23 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Building/SyncAll
v3 v4 3 3 A GHC tree consists of [wiki:Repositories multiple repositories]. The `sync-all` Perl script lets you operate over them all at once. 4 4 5 The basic interface to `sync-all` is described in comments at the top of the source file: source:sync-all. 5 The 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) 6 12 7 13 == Pulling new patches == … … 17 23 See [wiki:Building/Rebuilding] for how to update your build after pulling patches. 18 24 19 You can also pull patches from another tree :25 You can also pull patches from another tree, by registering the other tree as a remote, and giving it a name (here `anotherghc`): 20 26 21 27 {{{ 22 $ ./sync-all -r /another/ghc pull 28 $ ./sync-all -r /another/ghc remote add anotherghc 29 $ ./sync-all pull anotherghc 23 30 }}} 24 31 … … 28 35 29 36 {{{ 30 $ ./sync-all -r /another/ghc push --dry-run 37 $ ./sync-all fetch anotherghc 38 $ ./sync-all new anotherghc 31 39 }}} 32 40 33 41 this tells you which patches there are in your local repository tree relative to the tree over in `/another/ghc`. 34
