mercurial/pure/osutil.py
changeset 8421 b6d0fa8c7685
parent 8232 823f25b25dea
child 9031 3b76321aa0de
--- a/mercurial/pure/osutil.py	Thu May 14 14:12:32 2009 -0700
+++ b/mercurial/pure/osutil.py	Wed May 13 21:36:16 2009 +0200
@@ -8,6 +8,8 @@
 import os
 import stat as _stat
 
+posixfile = file
+
 def _mode_to_kind(mode):
     if _stat.S_ISREG(mode): return _stat.S_IFREG
     if _stat.S_ISDIR(mode): return _stat.S_IFDIR
@@ -47,3 +49,4 @@
         else:
             result.append((fn, _mode_to_kind(st.st_mode)))
     return result
+