summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authormischief <mischief@offblast.org>2014-09-15 13:42:54 -0700
committermischief <mischief@offblast.org>2014-09-15 13:42:54 -0700
commit222018340bd86cf053461b57867f81ef5aabe657 (patch)
tree9b0627f5247f34d293fae03b63fcc0a7c8e7b599 /sys/lib
parent7011194af157e5d84f4fe7ce5868a5d529c219e3 (diff)
hg: make intermediate directories like newer hg does
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/python/mercurial/localrepo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/lib/python/mercurial/localrepo.py b/sys/lib/python/mercurial/localrepo.py
index 85ec689f6..f6000b502 100644
--- a/sys/lib/python/mercurial/localrepo.py
+++ b/sys/lib/python/mercurial/localrepo.py
@@ -41,7 +41,7 @@ class localrepository(repo.repository):
if not os.path.isdir(self.path):
if create:
if not os.path.exists(path):
- os.mkdir(path)
+ os.makedirs(path)
os.mkdir(self.path)
requirements = ["revlogv1"]
if self.ui.configbool('format', 'usestore', True):