mercurial/revlog.py
changeset 2177 6886bc0b77af
parent 2142 8a1e2a9c7013
parent 2176 9b42304d9896
child 2222 c9e264b115e6
--- a/mercurial/revlog.py	Mon May 01 19:17:34 2006 +0200
+++ b/mercurial/revlog.py	Tue May 02 14:37:55 2006 -0700
@@ -14,7 +14,7 @@
 from i18n import gettext as _
 from demandload import demandload
 demandload(globals(), "binascii changegroup errno heapq mdiff os")
-demandload(globals(), "sha struct zlib")
+demandload(globals(), "sha struct util zlib")
 
 # revlog version strings
 REVLOGV0 = 0
@@ -322,7 +322,7 @@
             i = ""
         else:
             try:
-                st = os.fstat(f.fileno())
+                st = util.fstat(f)
             except AttributeError, inst:
                 st = None
             else: