diff -r cfb6682961b8 -r f366d4c2ff34 hgext/mq.py --- a/hgext/mq.py Sat May 12 16:02:45 2012 +0200 +++ b/hgext/mq.py Sat May 12 16:02:46 2012 +0200 @@ -613,7 +613,7 @@ raise util.Abort(_("repo commit failed")) try: ph = patchheader(mergeq.join(patch), self.plainmode) - except: + except Exception: raise util.Abort(_("unable to read %s") % patch) diffopts = self.patchopts(diffopts, patch)