hg: make intermediate directories like newer hg does
This commit is contained in:
parent
7011194af1
commit
222018340b
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue