Make mercurial easy installable
authorRalf Schmitt <schmir@gmail.com>
Wed, 12 Mar 2008 21:59:22 +0100
changeset 6237 4a85a9077136
parent 6236 ad6b123de1c7
child 6238 aac270593ef7
Make mercurial easy installable
mercurial/version.py
--- 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)