changeset 14235 | b9e1b041744f |
parent 14234 | 600e64004eb5 |
child 14250 | 34ec9b313638 |
--- a/mercurial/util.py Fri May 06 15:31:09 2011 +0200 +++ b/mercurial/util.py Fri May 06 15:34:34 2011 +0200 @@ -435,7 +435,7 @@ else: if hardlink: try: - os_link(src, dst) + oslink(src, dst) except (IOError, OSError): hardlink = False shutil.copy(src, dst) @@ -624,7 +624,7 @@ fd = None try: try: - os_link(f1, f2) + oslink(f1, f2) except OSError: return False