diff --git a/mercurial/configitems.py b/mercurial/configitems.py --- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -125,6 +125,9 @@ coreconfigitem('format', 'maxchainlen', coreconfigitem('format', 'obsstore-version', default=None, ) +coreconfigitem('format', 'usefncache', + default=True, +) coreconfigitem('hostsecurity', 'ciphers', default=None, ) diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -2076,7 +2076,7 @@ def newreporequirements(repo): 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')