diff -r ba734ff5cadd -r 97ed99d1f419 mercurial/context.py --- 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