--- a/mercurial/scmutil.py Tue Oct 09 01:41:55 2012 +0900
+++ b/mercurial/scmutil.py Tue Oct 09 01:41:55 2012 +0900
@@ -204,9 +204,6 @@
finally:
fp.close()
- def mkdir(self, path=None):
- return os.mkdir(self.join(path))
-
def exists(self, path=None):
return os.path.exists(self.join(path))
@@ -219,6 +216,9 @@
def makedirs(self, path=None, mode=None):
return util.makedirs(self.join(path), mode)
+ def mkdir(self, path=None):
+ return os.mkdir(self.join(path))
+
class vfs(abstractvfs):
'''Operate files relative to a base directory