5 This explains how to stay up to date with your sources using mercurial ([hg](http://www.selenic.com/mercurial/)).
9 (!) Unlike previous Mercurial mirrors the one in anoncvs.estpak.ee have branches support. Branches support in Mercurial is still work in progress and might be buggy. HEAD is OK to use. Following assumes that at least
11 Mercurial 0.9.4 is used.
19 cd /usr/pkgsrc/devel/mercurial && bmake install
25 #### Using one source tree from stable branch in /usr/src
33 hg clone -r HEAD http://anoncvs.estpak.ee/hg/dragonfly-src src
45 cd /usr/src && hg pull && hg up HEAD
51 #### More than one checkout
55 If you need more than one checkout, maybe for development, the idea is to keep "master" tree in /home/dsrc.hg and to make local clones/checkouts from there. For example keep the latest stable in /usr/src and latest development branch in /home/user/src.
61 hg clone -U http://anoncvs.estpak.ee/hg/dragonfly-src /home/dsrc.hg
63 hg clone -r DragonFly_RELEASE_1_8 /home/dsrc.hg /usr/src
65 hg clone -r HEAD /home/dsrc.hg /home/user/src
71 Later you update your local master repo with
93 hg pull && hg up DragonFly_RELEASE_1_8