changeset 13055 | e2b8c7a6ff4d |
parent 13040 | 44b26a87f73e |
parent 13053 | 2649be11ab0b |
child 13072 | 8c6b7a5f38c4 |
--- a/mercurial/util.py Wed Dec 01 09:46:11 2010 +0900 +++ b/mercurial/util.py Wed Dec 01 11:02:12 2010 +0900 @@ -841,7 +841,7 @@ except OSError, err: if err.errno == errno.EEXIST: return - if err.errno != errno.ENOENT: + if not name or err.errno != errno.ENOENT: raise parent = os.path.abspath(os.path.dirname(name)) makedirs(parent, mode)