diff options
author | mischief <mischief@offblast.org> | 2014-09-15 13:42:54 -0700 |
---|---|---|
committer | mischief <mischief@offblast.org> | 2014-09-15 13:42:54 -0700 |
commit | 222018340bd86cf053461b57867f81ef5aabe657 (patch) | |
tree | 9b0627f5247f34d293fae03b63fcc0a7c8e7b599 /sys/lib/python | |
parent | 7011194af157e5d84f4fe7ce5868a5d529c219e3 (diff) |
hg: make intermediate directories like newer hg does
Diffstat (limited to 'sys/lib/python')
-rw-r--r-- | sys/lib/python/mercurial/localrepo.py | 2 |
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): |