comparison mercurial/scmutil.py @ 27093:41d3e307a7c1

format: create new repository as 'generaldelta' by default Since we have pushed back the performance issue related to general delta behind another configuration (Still off by default), we can safely create new repository with general delta support. As client are compatible with it since Mercurial 1.9 (4.5 years ago) I do no expect any significant compatibility issues.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Mon, 02 Nov 2015 17:33:18 +0000
parents dfab6edb98e3
children dde3da2246f1
comparison
equal deleted inserted replaced
27092:156985f2dec0 27093:41d3e307a7c1
1174 def gdinitconfig(ui): 1174 def gdinitconfig(ui):
1175 """helper function to know if a repo should be created as general delta 1175 """helper function to know if a repo should be created as general delta
1176 """ 1176 """
1177 # experimental config: format.generaldelta 1177 # experimental config: format.generaldelta
1178 return (ui.configbool('format', 'generaldelta', False) 1178 return (ui.configbool('format', 'generaldelta', False)
1179 or ui.configbool('format', 'usegeneraldelta', False)) 1179 or ui.configbool('format', 'usegeneraldelta', True))
1180 1180
1181 def gddeltaconfig(ui): 1181 def gddeltaconfig(ui):
1182 """helper function to know if incoming delta should be optimised 1182 """helper function to know if incoming delta should be optimised
1183 """ 1183 """
1184 # experimental config: format.generaldelta 1184 # experimental config: format.generaldelta