changeset 14908:e2b5605501df

util: move "default" makedir to posix.py makedir is already defined in win32.py, which gets imported into util.py via windows.py if we are running on Windows
author Adrian Buehlmann <adrian@cadifra.com>
date Fri, 22 Jul 2011 09:53:15 +0200
parents 84af56cc673b
children c627fe32c923
files mercurial/posix.py mercurial/util.py
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/posix.py	Thu Jul 21 15:52:08 2011 -0500
+++ b/mercurial/posix.py	Fri Jul 22 09:53:15 2011 +0200
@@ -325,3 +325,6 @@
     except ImportError:
         pass
     return 80
+
+def makedir(path, notindexed):
+    os.mkdir(path)
--- a/mercurial/util.py	Thu Jul 21 15:52:08 2011 -0500
+++ b/mercurial/util.py	Fri Jul 22 09:53:15 2011 +0200
@@ -390,9 +390,6 @@
 
     return check
 
-def makedir(path, notindexed):
-    os.mkdir(path)
-
 def unlinkpath(f):
     """unlink and remove the directory if it is empty"""
     os.unlink(f)