(no commit message)
[ikiwiki.git] / docs / developer / Mercurial.mdwn
1 This explains how to stay up to date with your sources using [mercurial](http://www.selenic.com/mercurial/) (a.k. hg).\r
2 The repo on ftp.fortunaty.net is used, which replicates corecode's (http://chlamydia.fs.ei.tum.de/hg/dragonfly-src) hourly.\r
3 \r
4 Install mercurial \r
5     \r
6     cd /usr/pkgsrc/devel/mercurial && bmake install\r
7 \r
8 \r
9 If you need only one source tree around \r
10     \r
11     cd /usr\r
12     hg clone http://ftp.fortunaty.net/DragonFly/dragonfly-src.hg src\r
13 \r
14 \r
15 Later you update with\r
16     \r
17     cd /usr/src && hg pull -u\r
18 \r
19 \r
20 If you need more than one, maybe for developement \r
21     \r
22     hg clone -U http://ftp.fortunaty.net/DragonFly/dragonfly-src.hg /home/dsrc.hg\r
23     hg clone /home/dsrc.hg /usr/src\r
24 \r
25 \r
26 Later you update your local master repo with\r
27     \r
28     cd /home/dsrc.hg\r
29     hg pull\r
30 \r
31 \r
32 Then your slave trees\r
33     \r
34     cd /usr/src\r
35     hg pull -u\r
36 \r