diff mercurial/scmutil.py @ 18948:2f05fa162316

localrepo: use "vfs.rename()" instead of "util.rename()"
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Mon, 15 Apr 2013 01:22:15 +0900
parents e75b72fffdfe
children 138978f20180
line wrap: on
line diff
--- a/mercurial/scmutil.py	Mon Apr 15 01:22:15 2013 +0900
+++ b/mercurial/scmutil.py	Mon Apr 15 01:22:15 2013 +0900
@@ -254,6 +254,9 @@
     def readdir(self, path=None, stat=None, skip=None):
         return osutil.listdir(self.join(path), stat, skip)
 
+    def rename(self, src, dst):
+        return util.rename(self.join(src), self.join(dst))
+
     def stat(self, path=None):
         return os.stat(self.join(path))