Mercurial > hg
comparison mercurial/localrepo.py @ 11644:c4f6f0a1bd5a
merge with stable
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Thu, 22 Jul 2010 15:14:22 +0900 |
parents | 2eab5025f804 c3e8ab80ee90 |
children | 801533a52799 |
comparison
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") |