hgext/mq.py
changeset 16689 f366d4c2ff34
parent 16688 cfb6682961b8
child 16699 d947e1da1259
--- 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)