changeset 33237:7043e67cc9b2

configitems: register the 'format.dotencode' config
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 30 Jun 2017 03:42:22 +0200
parents cf6c478bc339
children 784f2bd96d43
files mercurial/configitems.py mercurial/localrepo.py
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/configitems.py	Fri Jun 30 03:42:21 2017 +0200
+++ b/mercurial/configitems.py	Fri Jun 30 03:42:22 2017 +0200
@@ -110,6 +110,9 @@
 coreconfigitem('format', 'chunkcachesize',
     default=None,
 )
+coreconfigitem('format', 'dotencode',
+    default=True,
+)
 coreconfigitem('hostsecurity', 'ciphers',
     default=None,
 )
--- a/mercurial/localrepo.py	Fri Jun 30 03:42:21 2017 +0200
+++ b/mercurial/localrepo.py	Fri Jun 30 03:42:22 2017 +0200
@@ -2078,7 +2078,7 @@
         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')