summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):