mercurial/revlog.py
changeset 41824 688fc33e105d
parent 41773 37ead13fb3d4
child 41862 afd37ed731f1
--- a/mercurial/revlog.py	Wed Feb 27 10:49:25 2019 +0100
+++ b/mercurial/revlog.py	Wed Feb 27 12:40:18 2019 +0100
@@ -410,7 +410,10 @@
             self._maxchainlen = opts['maxchainlen']
         if 'deltabothparents' in opts:
             self._deltabothparents = opts['deltabothparents']
-        self._lazydeltabase = bool(opts.get('lazydeltabase', False))
+        self._lazydelta = bool(opts.get('lazydelta', True))
+        self._lazydeltabase = False
+        if self._lazydelta:
+            self._lazydeltabase = bool(opts.get('lazydeltabase', False))
         if 'compengine' in opts:
             self._compengine = opts['compengine']
         if 'maxdeltachainspan' in opts: