Mercurial > public > mercurial-scm > hg-stable
diff mercurial/version.py @ 6237:4a85a9077136
Make mercurial easy installable
author | Ralf Schmitt <schmir@gmail.com> |
---|---|
date | Wed, 12 Mar 2008 21:59:22 +0100 |
parents | 6482d34974ac |
children | 4b81eecc8aa2 |
line wrap: on
line diff
--- a/mercurial/version.py Wed Mar 12 22:20:10 2008 +0100 +++ b/mercurial/version.py Wed Mar 12 21:59:22 2008 +0100 @@ -12,7 +12,6 @@ import os import re import time -import util unknown_version = 'unknown' remembered_version = False @@ -49,7 +48,7 @@ """Store version information.""" global remembered_version if not version and os.path.isdir(".hg"): - f = util.popen("hg identify") # use real hg installation + f = os.popen("hg identify") # use real hg installation ident = f.read()[:-1] if not f.close() and ident: ids = ident.split(' ', 1)