Fix issue 653: symlinks checkout failure on non-supporting platforms
authorPatrick Mezard <pmezard@gmail.com>
Mon, 06 Aug 2007 10:08:28 +0200
changeset 5077 84b10dc3dccc
parent 5076 4f37ce544c16
child 5078 d27ed83289ee
child 5124 a2c11f49e989
Fix issue 653: symlinks checkout failure on non-supporting platforms
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()