Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revlogutils/constants.py @ 49879: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 |
line wrap: on
line diff
--- a/mercurial/revlogutils/constants.py Sat Dec 03 01:24:34 2022 +0100 +++ b/mercurial/revlogutils/constants.py Mon Nov 07 22:30:30 2022 -0500 @@ -315,3 +315,4 @@ # The delta base will be tested for validy first. So that the cached deltas get # used when possible. DELTA_BASE_REUSE_TRY = 1 +DELTA_BASE_REUSE_FORCE = 2