diff 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
line wrap: on
line diff
--- a/mercurial/scmutil.py	Sun Nov 22 21:40:23 2015 -0800
+++ b/mercurial/scmutil.py	Mon Nov 02 17:33:18 2015 +0000
@@ -1176,7 +1176,7 @@
     """
     # experimental config: format.generaldelta
     return (ui.configbool('format', 'generaldelta', False)
-            or ui.configbool('format', 'usegeneraldelta', False))
+            or ui.configbool('format', 'usegeneraldelta', True))
 
 def gddeltaconfig(ui):
     """helper function to know if incoming delta should be optimised