# HG changeset patch # User Adrian Buehlmann # Date 1311321195 -7200 # Node ID e2b5605501df88736a7d3e86f59ade58a936aa6b # Parent 84af56cc673be1e1a3cbada3fb058ae00bf609f6 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 diff -r 84af56cc673b -r e2b5605501df mercurial/posix.py --- 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) diff -r 84af56cc673b -r e2b5605501df mercurial/util.py --- 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)