diff mercurial/localrepo.py @ 38744:ae17555ef93f stable

config: rename `revlog` section into `storage` The idea was suggested by Gregory Szorc on IRC. It is more generic and seems better. It is probably best to rename the section before it ever makes into an official (non-rc) release. The only config option currently in this section have been prefixed with `revlog` to clarify it applies to `revlog` related storage.
author Boris Feld <boris.feld@octobus.net>
date Fri, 20 Jul 2018 09:08:20 +0200
parents 913ca175c4ae
children 17da52bbadb0
line wrap: on
line diff
--- a/mercurial/localrepo.py	Thu Jul 19 14:17:26 2018 -0400
+++ b/mercurial/localrepo.py	Fri Jul 20 09:08:20 2018 +0200
@@ -668,8 +668,8 @@
         manifestcachesize = self.ui.configint('format', 'manifestcachesize')
         if manifestcachesize is not None:
             self.svfs.options['manifestcachesize'] = manifestcachesize
-        deltabothparents = self.ui.configbool('revlog',
-                                              'optimize-delta-parent-choice')
+        deltabothparents = self.ui.configbool('storage',
+            'revlog.optimize-delta-parent-choice')
         self.svfs.options['deltabothparents'] = deltabothparents
         self.svfs.options['lazydeltabase'] = not scmutil.gddeltaconfig(self.ui)
         chainspan = self.ui.configbytes('experimental', 'maxdeltachainspan')