Mercurial > hg > mercurial-source
changeset 34018:b838e857439d
configitems: register the 'format.aggressivemergedeltas' config
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:42:20 +0200 |
parents | b62d13506860 |
children | cf6c478bc339 |
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 @@ -104,6 +104,9 @@ coreconfigitem('devel', 'strip-obsmarkers', default=True, ) +coreconfigitem('format', 'aggressivemergedeltas', + default=False, +) coreconfigitem('hostsecurity', 'ciphers', default=None, )
--- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -439,7 +439,7 @@ self.svfs.options['manifestcachesize'] = manifestcachesize # experimental config: format.aggressivemergedeltas aggressivemergedeltas = self.ui.configbool('format', - 'aggressivemergedeltas', False) + 'aggressivemergedeltas') self.svfs.options['aggressivemergedeltas'] = aggressivemergedeltas self.svfs.options['lazydeltabase'] = not scmutil.gddeltaconfig(self.ui) chainspan = self.ui.configbytes('experimental', 'maxdeltachainspan', -1)