changeset 38759:f8cbff2184d7 stable

sparse-revlog: also use sparse-revlog config as a general delta trigger Sparse revlog rely on general delta, so we should make sure it is used.
author Boris Feld <boris.feld@octobus.net>
date Mon, 30 Jul 2018 15:53:47 +0200
parents 774f92710a81
children 17da52bbadb0
files mercurial/scmutil.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/scmutil.py	Sun Jul 29 16:25:51 2018 +0900
+++ b/mercurial/scmutil.py	Mon Jul 30 15:53:47 2018 +0200
@@ -1366,7 +1366,8 @@
     """
     # experimental config: format.generaldelta
     return (ui.configbool('format', 'generaldelta')
-            or ui.configbool('format', 'usegeneraldelta'))
+            or ui.configbool('format', 'usegeneraldelta')
+            or ui.configbool('format', 'sparse-revlog'))
 
 def gddeltaconfig(ui):
     """helper function to know if incoming delta should be optimised