mercurial/dirstate.py
changeset 1491 91c0e8d7ddcf
parent 1488 08c7851969cc
child 1510 755e7ac351ef
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -380,7 +380,8 @@ class dirstate:
                 nonexistent = True
                 if not st:
                     try:
-                        st = os.lstat(fn)
+                        f = os.path.join(self.root, fn)
+                        st = os.lstat(f)
                     except OSError, inst:
                         if inst.errno != errno.ENOENT:
                             raise