mercurial/localrepo.py
changeset 11644 c4f6f0a1bd5a
parent 11603 2eab5025f804
parent 11640 c3e8ab80ee90
child 11648 801533a52799
equal deleted inserted replaced
11635:4da35e02b67c 11644:c4f6f0a1bd5a
    40             pass
    40             pass
    41 
    41 
    42         if not os.path.isdir(self.path):
    42         if not os.path.isdir(self.path):
    43             if create:
    43             if create:
    44                 if not os.path.exists(path):
    44                 if not os.path.exists(path):
    45                     os.mkdir(path)
    45                     util.makedirs(path)
    46                 os.mkdir(self.path)
    46                 os.mkdir(self.path)
    47                 requirements = ["revlogv1"]
    47                 requirements = ["revlogv1"]
    48                 if self.ui.configbool('format', 'usestore', True):
    48                 if self.ui.configbool('format', 'usestore', True):
    49                     os.mkdir(os.path.join(self.path, "store"))
    49                     os.mkdir(os.path.join(self.path, "store"))
    50                     requirements.append("store")
    50                     requirements.append("store")