changeset 6237:4a85a9077136

Make mercurial easy installable
author Ralf Schmitt <schmir@gmail.com>
date Wed, 12 Mar 2008 21:59:22 +0100
parents ad6b123de1c7
children aac270593ef7
files mercurial/version.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
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)