# HG changeset patch # User Steve Losh # Date 1247777689 14400 # Node ID 923467766eba973080d54ba74c66d388c77ddf21 # Parent 20882172679c07c8fc9eecb3fc73ed15f1d8fb46 Add a requirements section. diff -r 20882172679c -r 923467766eba README --- a/README Tue Jul 14 23:13:25 2009 -0400 +++ b/README Thu Jul 16 16:54:49 2009 -0400 @@ -5,6 +5,17 @@ hg-prompt adds an 'hg prompt' command to Mercurial for viewing repository information. It's designed to be used in a shell prompt. +Requirements +------------ + +hg-prompt requires Python 2.6 and makes use of some of the nifty new features. + +If you'd like to use it with Python 2.5, you'll need to add the following line at the top of the `prompt.py` file (right after the `#!/usr/bin/env python` line): + + from __future__ import with_statement + +That's two underscores on each side of the word "future". + Installing ----------