--- a/hgext/mq.py Fri May 06 13:04:24 2011 -0500 +++ b/hgext/mq.py Fri May 06 18:45:12 2011 +0300 @@ -666,7 +666,7 @@ try: ph = patchheader(self.join(patchname), self.plainmode) - except: + except IOError: self.ui.warn(_("unable to read %s\n") % patchname) err = 1 break