Mercurial > public > mercurial-scm > hg-stable
diff mercurial/version.py @ 6565:a0a726909871
Make mercurial easy installable again
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Thu, 24 Apr 2008 13:37:29 +0200 |
parents | 962eb403165b |
children |
line wrap: on
line diff
--- 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)