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