Add a requirements section.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 16 Jul 2009 16:54:49 -0400
parents 20882172679c
children a62c8ab6c87f
branches/tags (none)
files README


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.
+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".