mercurial/util.py
changeset 2308 cb520d961d6a
parent 2284 d6392a7c03dd
child 2314 e9b5749e4de3
--- a/mercurial/util.py	Thu May 18 10:09:16 2006 -0700
+++ b/mercurial/util.py	Thu May 18 21:01:38 2006 +0200
@@ -734,7 +734,7 @@
         def rename(self):
             if not self.closed:
                 posixfile.close(self)
-                rename(self.temp, self.__name)
+                rename(self.temp, localpath(self.__name))
         def __del__(self):
             if not self.closed:
                 try: