diff mercurial/posix.py @ 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 38af0f514134
children c627fe32c923
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)