mercurial/patch.py
changeset 7507 8e76e9f67cb3
parent 7505 fe0e02f952b0
child 7517 49f34b43cf90
child 7520 e4ab4802f261
--- a/mercurial/patch.py	Thu Dec 11 22:59:35 2008 +0100
+++ b/mercurial/patch.py	Thu Dec 11 22:59:35 2008 +0100
@@ -32,7 +32,7 @@
     if dstdir and not os.path.isdir(dstdir):
         try:
             os.makedirs(dstdir)
-        except:
+        except IOError:
             raise util.Abort(
                 _("cannot create %s: unable to create destination directory")
                 % dst)