# HG changeset patch # User Pierre-Yves David # Date 2017-06-30 01:42:22 # Node ID 7043e67cc9b2b26dc085bb64f2014b0804e752aa # Parent cf6c478bc33973d574ac319102d3c0f2bf5fc021 configitems: register the 'format.dotencode' config diff --git a/mercurial/configitems.py b/mercurial/configitems.py --- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -110,6 +110,9 @@ coreconfigitem('format', 'aggressivemerg coreconfigitem('format', 'chunkcachesize', default=None, ) +coreconfigitem('format', 'dotencode', + 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 @@ -2078,7 +2078,7 @@ def newreporequirements(repo): requirements.add('store') if ui.configbool('format', 'usefncache', True): requirements.add('fncache') - if ui.configbool('format', 'dotencode', True): + if ui.configbool('format', 'dotencode'): requirements.add('dotencode') compengine = ui.config('experimental', 'format.compression', 'zlib')