# HG changeset patch # User Patrick Mezard # Date 1186387708 -7200 # Node ID 84b10dc3dccc2a3629d386cd0aff4c3c0500dc53 # Parent 4f37ce544c1614a45ef4a8847d66313f257789d7 Fix issue 653: symlinks checkout failure on non-supporting platforms diff -r 4f37ce544c16 -r 84b10dc3dccc mercurial/util.py --- a/mercurial/util.py Mon Aug 06 09:57:23 2007 +0200 +++ b/mercurial/util.py Mon Aug 06 10:08:28 2007 +0200 @@ -1308,7 +1308,7 @@ if self._can_symlink: os.symlink(src, linkname) else: - f = self(self, dst, "w") + f = self(dst, "w") f.write(src) f.close()