equal
deleted
inserted
replaced
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") |