Version Control - Mercurial

The main site uses Mercurial for version control. Mercurial is a distributed version control system, making it easy to clone new versions of the site for development on separate machines.

As Mercurial is a Python program that doesn't work well with the system Python version, it is necessary to use it from within a virtual environment..

First, activate the virtualenv:

  1. cd
  2. source newpy/bin/activate

Next, cd into the site directory. Mercurial should be available.

For a basic introduction to Merucial, there is the official tutorial, this online book, and this rather excellent, if dated, pdf.