Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.py @ 38736:93777d16a25d
aggressivemergedeltas: rename variable internally
The "aggressivemergedeltas" name is not great. First, it is quite long,
second, we would rather have less "Aggressive" names within the project. We
are about to rename the config option, so it seems the appropriate time to
rename the internal variable.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 19 Jul 2018 10:06:58 +0200 |
parents | aa21a9ad46ea |
children | 913ca175c4ae |
comparison
equal
deleted
inserted
replaced
38735:8891dc15b327 | 38736:93777d16a25d |
---|---|
667 # experimental config: format.manifestcachesize | 667 # experimental config: format.manifestcachesize |
668 manifestcachesize = self.ui.configint('format', 'manifestcachesize') | 668 manifestcachesize = self.ui.configint('format', 'manifestcachesize') |
669 if manifestcachesize is not None: | 669 if manifestcachesize is not None: |
670 self.svfs.options['manifestcachesize'] = manifestcachesize | 670 self.svfs.options['manifestcachesize'] = manifestcachesize |
671 # experimental config: format.aggressivemergedeltas | 671 # experimental config: format.aggressivemergedeltas |
672 aggressivemergedeltas = self.ui.configbool('format', | 672 deltabothparents = self.ui.configbool('format', |
673 'aggressivemergedeltas') | 673 'aggressivemergedeltas') |
674 self.svfs.options['aggressivemergedeltas'] = aggressivemergedeltas | 674 self.svfs.options['deltabothparents'] = deltabothparents |
675 self.svfs.options['lazydeltabase'] = not scmutil.gddeltaconfig(self.ui) | 675 self.svfs.options['lazydeltabase'] = not scmutil.gddeltaconfig(self.ui) |
676 chainspan = self.ui.configbytes('experimental', 'maxdeltachainspan') | 676 chainspan = self.ui.configbytes('experimental', 'maxdeltachainspan') |
677 if 0 <= chainspan: | 677 if 0 <= chainspan: |
678 self.svfs.options['maxdeltachainspan'] = chainspan | 678 self.svfs.options['maxdeltachainspan'] = chainspan |
679 mmapindexthreshold = self.ui.configbytes('experimental', | 679 mmapindexthreshold = self.ui.configbytes('experimental', |