Make mercurial easy installable again
authorPatrick Mezard <pmezard@gmail.com>
Thu, 24 Apr 2008 13:37:29 +0200
changeset 6565 a0a726909871
parent 6564 ccc2481e3954
child 6567 24dbf3a32b18
Make mercurial easy installable again
mercurial/version.py
--- a/mercurial/version.py	Wed Apr 23 22:45:53 2008 +0200
+++ b/mercurial/version.py	Thu Apr 24 13:37:29 2008 +0200
@@ -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)