mercurial/util_win32.py
changeset 2448 b77a2ef61b81
parent 2313 a600d9997521
child 2652 e6a41cbaa260
--- a/mercurial/util_win32.py	Fri Jun 16 10:19:45 2006 -0700
+++ b/mercurial/util_win32.py	Fri Jun 16 12:58:24 2006 -0700
@@ -162,7 +162,7 @@
         fh.Close()
         return res[7]
     except pywintypes.error:
-        return os.stat(pathname).st_nlink
+        return os.lstat(pathname).st_nlink
 
 def testpid(pid):
     '''return True if pid is still running or unable to