comparison mercurial/revlogutils/constants.py @ 49768:bcae90c53def

delta-find: add a delta-reuse policy that blindly accepts incoming deltas When this policy is set, incoming deltas are blindly accepted without regard for the validity of the chain they build.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 07 Nov 2022 22:30:30 -0500
parents 05db41701ece
children f4733654f144
comparison
equal deleted inserted replaced
49767:f1887500f3ec 49768:bcae90c53def
313 # Prioritize trying the cached delta base 313 # Prioritize trying the cached delta base
314 # 314 #
315 # The delta base will be tested for validy first. So that the cached deltas get 315 # The delta base will be tested for validy first. So that the cached deltas get
316 # used when possible. 316 # used when possible.
317 DELTA_BASE_REUSE_TRY = 1 317 DELTA_BASE_REUSE_TRY = 1
318 DELTA_BASE_REUSE_FORCE = 2