diff mercurial/revlogutils/constants.py @ 39357:655b5b465953

revlog: split functionality related to deltas computation in a new module The revlog module is getting big and this logic is getting more and more advanced. Moving it to `mercurial.revlogutils.deltas` split a lot off revlog.py and will help this logic to become less interleaved with revlog. The code is simply moved without modification (but for namespace changes). Refactoring and improvement will be made in later changesets.
author Boris Feld <boris.feld@octobus.net>
date Thu, 16 Aug 2018 02:53:42 +0200
parents 729082bb9938
children b66ea3fc3a86
line wrap: on
line diff
--- a/mercurial/revlogutils/constants.py	Thu Aug 16 02:08:13 2018 +0200
+++ b/mercurial/revlogutils/constants.py	Thu Aug 16 02:53:42 2018 +0200
@@ -41,6 +41,3 @@
 REVIDX_KNOWN_FLAGS = util.bitsfrom(REVIDX_FLAGS_ORDER)
 # bitmark for flags that could cause rawdata content change
 REVIDX_RAWTEXT_CHANGING_FLAGS = REVIDX_ISCENSORED | REVIDX_EXTSTORED
-
-# maximum <delta-chain-data>/<revision-text-length> ratio
-LIMIT_DELTA2TEXT = 2