--- a/mercurial/util.py Tue Jan 02 22:40:52 2007 +0100 +++ b/mercurial/util.py Fri Jan 05 00:01:51 2007 -0200 @@ -722,7 +722,7 @@ os.symlink(".", name) os.unlink(name) return True - except OSError: + except (OSError, AttributeError): return False def linkfunc(path, fallback):