mercurial/util.py
changeset 2083 345107e167a0
parent 2076 d007df6daf8e
parent 2050 e49d0fa38176
child 2085 f71e9656524f
--- a/mercurial/util.py	Sat Apr 08 20:08:06 2006 -0400
+++ b/mercurial/util.py	Sat Apr 08 20:10:46 2006 -0400
@@ -393,7 +393,7 @@
         if hardlink:
             try:
                 os_link(src, dst)
-            except:
+            except (IOError, OSError):
                 hardlink = False
                 shutil.copy(src, dst)
         else: