--- a/hgext/mq.py Sat May 12 16:00:58 2012 +0200
+++ b/hgext/mq.py Sat May 12 16:02:45 2012 +0200
@@ -1084,7 +1084,7 @@
patchpath = self.join(patchfn)
try:
os.unlink(patchpath)
- except:
+ except OSError:
self.ui.warn(_('error unlinking %s\n') % patchpath)
raise
self.removeundo(repo)