diff -r a0c5f531daab -r c3e8ab80ee90 mercurial/localrepo.py --- a/mercurial/localrepo.py Wed Jul 21 17:51:37 2010 +0200 +++ b/mercurial/localrepo.py Wed Jul 21 19:29:57 2010 +0200 @@ -42,7 +42,7 @@ if not os.path.isdir(self.path): if create: if not os.path.exists(path): - os.mkdir(path) + util.makedirs(path) os.mkdir(self.path) requirements = ["revlogv1"] if self.ui.configbool('format', 'usestore', True):