mercurial/dirstate.py
branchstable
changeset 17879 7b0b1da49f15
parent 17821 361ab1e2086f
child 17984 b74361cf7c0a
--- a/mercurial/dirstate.py	Tue Oct 23 21:32:19 2012 -0400
+++ b/mercurial/dirstate.py	Tue Oct 23 21:25:22 2012 -0700
@@ -673,7 +673,7 @@
             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