changeset 5077:84b10dc3dccc

Fix issue 653: symlinks checkout failure on non-supporting platforms
author Patrick Mezard <pmezard@gmail.com>
date Mon, 06 Aug 2007 10:08:28 +0200
parents 4f37ce544c16
children d27ed83289ee a2c11f49e989
files mercurial/util.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()