mercurial/dirstate.py
changeset 2448 b77a2ef61b81
parent 2429 6a8f7c3f7333
child 2470 fe1689273f84
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -471,7 +471,7 @@ class dirstate(object):
             # check the common case first
             if type_ == 'n':
                 if not st:
-                    st = os.stat(self.wjoin(fn))
+                    st = os.lstat(self.wjoin(fn))
                 if size >= 0 and (size != st.st_size
                                   or (mode ^ st.st_mode) & 0100):
                     modified.append(fn)