Mercurial > hg > mercurial-source
changeset 34028:28e8983d9ed7
configitems: register the 'format.usefncache' config
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:42:28 +0200 |
parents | fd50788a2d4f |
children | 4d9458e06ef0 |
files | mercurial/configitems.py mercurial/localrepo.py |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -125,6 +125,9 @@ coreconfigitem('format', 'obsstore-version', default=None, ) +coreconfigitem('format', 'usefncache', + default=True, +) coreconfigitem('hostsecurity', 'ciphers', default=None, )
--- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -2076,7 +2076,7 @@ requirements = {'revlogv1'} if ui.configbool('format', 'usestore', True): requirements.add('store') - if ui.configbool('format', 'usefncache', True): + if ui.configbool('format', 'usefncache'): requirements.add('fncache') if ui.configbool('format', 'dotencode'): requirements.add('dotencode')