The master source tree for Plan 9 from User Space is maintained
using the source control system Mercurial
as a substitute for Plan 9s
replica(8) and dump file system.
The first argument to
hg is a command, which determines the form of the rest of the command line.
clone command downloads a copy of the tree into the directory
plan9, which it will create.
clone, the other commands listed
should be run within the
plan9 directory tree.
Unlike CVS, Mercurial downloads the entire revision history
of Plan 9 from User Space
in addition to the current tree.
pull incorporates changes from the master repository
into the local revision history.
-u flag applies these changes to the current file tree.
diff runs Unixs
to compare the files in the local tree with the corresponding
files in the revision history.
By default it compares against the version that was most recently
incorporated into the local tree.
-r flag specifies an alternate version to compare against.
The special revision
tip refers to the most recent version on the server.
serve starts an HTTP server serving information about
the local repository at the address
view starts an interactive history viewer.
The Mercurial tree can be inspected on the web at