mercurial/context.py
changeset 14004 97ed99d1f419
parent 13962 8b252e826c68
child 14129 81e6d42b3228
--- a/mercurial/context.py	Sun Apr 24 17:52:46 2011 -0500
+++ b/mercurial/context.py	Sat Apr 23 00:51:25 2011 +0300
@@ -805,7 +805,7 @@
                 p = self._repo.wjoin(f)
                 try:
                     st = os.lstat(p)
-                except:
+                except OSError:
                     ui.warn(_("%s does not exist!\n") % join(f))
                     rejected.append(f)
                     continue