HG(1)                                                       HG(1)

     NAME
          hg, cvs - introduction to using plan9port Mercurial
          repository

     SYNOPSIS
          hg clone http://code.swtch.com/plan9port plan9

          hg pull -u

          hg diff [ -r revision ] [ path ... ]

          hg serve

          hg view

          web http://code.swtch.com/plan9port

     DESCRIPTION
          The master source tree for Plan 9 from User Space is main-
          tained using the source control system Mercurial as a sub-
          stitute for Plan 9's 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.

          The clone command downloads a copy of the tree into the
          directory plan9, which it will create.  After hg clone, the
          other commands listed should be run within the plan9 direc-
          tory tree.

          Unlike CVS, Mercurial downloads the entire revision history
          of Plan 9 from User Space in addition to the current tree.

          Hg pull incorporates changes from the master repository into
          the local revision history.  The -u flag applies these
          changes to the current file tree.

          Hg diff runs Unix's diff(1) to compare the files in the
          local tree with the corresponding files in the revision his-
          tory.  By default it compares against the version that was
          most recently incorporated into the local tree.  The -r flag
          specifies an alternate version to compare against.  The spe-
          cial revision tip refers to the most recent version on the
          server.

          Hg serve starts an HTTP server serving information about the
          local repository at the address http://localhost:8000/.

          Hg view starts an interactive history viewer.

     HG(1)                                                       HG(1)

          The Mercurial tree can be inspected on the web at

     FILES
          /.hg directory containing Mercurial local repository

          .hgignore
               list of files and wildcards to exclude from Mercurial
               operations

     SEE ALSO
          codereview(1)

          Unix's hg(1),

     BUGS
          Plan 9 from User Space is no longer accessible using CVS;
          you must use Mercurial.