equal
deleted
inserted
replaced
2072 Extensions can wrap this function to specify custom requirements for |
2072 Extensions can wrap this function to specify custom requirements for |
2073 new repositories. |
2073 new repositories. |
2074 """ |
2074 """ |
2075 ui = repo.ui |
2075 ui = repo.ui |
2076 requirements = {'revlogv1'} |
2076 requirements = {'revlogv1'} |
2077 if ui.configbool('format', 'usestore', True): |
2077 if ui.configbool('format', 'usestore'): |
2078 requirements.add('store') |
2078 requirements.add('store') |
2079 if ui.configbool('format', 'usefncache'): |
2079 if ui.configbool('format', 'usefncache'): |
2080 requirements.add('fncache') |
2080 requirements.add('fncache') |
2081 if ui.configbool('format', 'dotencode'): |
2081 if ui.configbool('format', 'dotencode'): |
2082 requirements.add('dotencode') |
2082 requirements.add('dotencode') |