mercurial/version.py
changeset 5481 003d1f174fe1
parent 4066 cff3e4b4a8de
child 5931 6482d34974ac
--- a/mercurial/version.py	Tue Oct 30 16:54:25 2007 -0700
+++ b/mercurial/version.py	Thu Nov 01 12:05:14 2007 +0100
@@ -50,7 +50,7 @@
     """Store version information."""
     global remembered_version
     if not version and os.path.isdir(".hg"):
-        f = os.popen("hg identify 2> %s" % util.nulldev)  # use real hg installation
+        f = util.popen("hg identify")  # use real hg installation
         ident = f.read()[:-1]
         if not f.close() and ident:
             ids = ident.split(' ', 1)