--- a/mercurial/util.py Mon Aug 06 01:00:10 2007 -0300
+++ b/mercurial/util.py Mon Aug 06 10:57:51 2007 +0200
@@ -1312,7 +1312,7 @@
raise OSError(err.errno, _('could not symlink to %r: %s') %
(src, err.strerror), linkname)
else:
- f = self(self, dst, "w")
+ f = self(dst, "w")
f.write(src)
f.close()