Mercurial

From TextUsers

Jump to: navigation, search

Mercurial is a distributed source control management system. Although it is not installed by default, it is easy to get it up and running on your system.

From your home directory:

$ mkdir src; cd src

$ curl -O http://www.selenic.com/mercurial-stable-snapshot.tar.gz

$ tar xzf mercurial-stable-snapshot.tar.gz

$ cd mercurial-XXXXXXXXX # directory name will be different depending on version

$ python setup.py install --home=${HOME} --force

Then you just need to add

export PYTHONPATH=${HOME}/lib/python

to your bash profile (it seems that ~/bin is already in the default paths).

You can then initialize a repository in your home directory and clone, push, and pull it using ssh.

Personal tools