--- 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: