Mercurial > hg
comparison mercurial/localrepo.py @ 13795:43b5fe18ea6c
set NOT_CONTENT_INDEXED on .hg dir (issue2694)
when running on Windows
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Mon, 28 Mar 2011 15:54:22 +0200 |
parents | 307c72686eb0 |
children | 8ba08a16e4e0 |
comparison
equal
deleted
inserted
replaced
13793:ba58c5a61503 | 13795:43b5fe18ea6c |
---|---|
45 | 45 |
46 if not os.path.isdir(self.path): | 46 if not os.path.isdir(self.path): |
47 if create: | 47 if create: |
48 if not os.path.exists(path): | 48 if not os.path.exists(path): |
49 util.makedirs(path) | 49 util.makedirs(path) |
50 os.mkdir(self.path) | 50 util.makedir(self.path, notindexed=True) |
51 requirements = ["revlogv1"] | 51 requirements = ["revlogv1"] |
52 if self.ui.configbool('format', 'usestore', True): | 52 if self.ui.configbool('format', 'usestore', True): |
53 os.mkdir(os.path.join(self.path, "store")) | 53 os.mkdir(os.path.join(self.path, "store")) |
54 requirements.append("store") | 54 requirements.append("store") |
55 if self.ui.configbool('format', 'usefncache', True): | 55 if self.ui.configbool('format', 'usefncache', True): |