diff mercurial/scmutil.py @ 19896:af03279c766a

bookmarks: use "vfs.utime()" instead of "os.utime()"
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Tue, 15 Oct 2013 00:51:04 +0900
parents 37c0d93fb166
children 896a4568def7
line wrap: on
line diff
--- a/mercurial/scmutil.py	Tue Oct 15 00:51:04 2013 +0900
+++ b/mercurial/scmutil.py	Tue Oct 15 00:51:04 2013 +0900
@@ -274,6 +274,9 @@
     def unlink(self, path=None):
         return util.unlink(self.join(path))
 
+    def utime(self, path=None, t=None):
+        return os.utime(self.join(path), t)
+
 class vfs(abstractvfs):
     '''Operate files relative to a base directory