mercurial/localrepo.py
changeset 33247 4d5d493ea54a
parent 33245 28e8983d9ed7
child 33251 a5cb2e4460de
equal deleted inserted replaced
33246:4d9458e06ef0 33247:4d5d493ea54a
  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')