--- 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()