changeset 5093: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 a2c11f49e989 d27ed83289ee
files mercurial/util.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -1308,7 +1308,7 @@ class opener(object):
         if self._can_symlink:
             os.symlink(src, linkname)
         else:
-            f = self(self, dst, "w")
+            f = self(dst, "w")
             f.write(src)
             f.close()