Commits

Bryan O'Sullivan committed 7b0b1da

dirstate: handle dangling junctions on windows (issue2579)

Comments (0)

Files changed (1)

mercurial/dirstate.py

             try:
                 entries = listdir(join(nd), stat=True, skip=skip)
             except OSError, inst:
-                if inst.errno == errno.EACCES:
+                if inst.errno in (errno.EACCES, errno.ENOENT):
                     fwarn(nd, inst.strerror)
                     continue
                 raise