# HG changeset patch # User Anton Shestakov # Date 1624958177 -10800 # Node ID d28c9f359464fb1a8e59d7c61727bf3a08de1526 # Parent ef73f0d2232d84fd3775b9d7ca646152dffc45de evolve: remove experimental.obshashrange.lru-size docs This config option was already disconnected from actual code, and was only used for one implementation of stablerange: branchpoint. diff -r ef73f0d2232d -r d28c9f359464 CHANGELOG --- a/CHANGELOG Wed Jul 28 02:44:12 2021 +0300 +++ b/CHANGELOG Tue Jun 29 12:16:17 2021 +0300 @@ -10,6 +10,8 @@ * evolve: drop the deprecated --unstable, --divergent and --bumped flags, they were replaced by --orphan, --content-divergent and --phase-divergent respectively a long time ago + * evolve: remove experimental.obshashrange.lru-size docs, that config option + didn't do anything for a long time 10.3.3 - in progress -------------------- diff -r ef73f0d2232d -r d28c9f359464 hgext3rd/evolve/__init__.py --- a/hgext3rd/evolve/__init__.py Wed Jul 28 02:44:12 2021 +0300 +++ b/hgext3rd/evolve/__init__.py Tue Jun 29 12:16:17 2021 +0300 @@ -90,13 +90,10 @@ [extensions] blackbox = -Finally some extra options are available to help tame the experimental +Finally one more option is available to help tame the experimental implementation of some of the algorithms:: [experimental] - # restrict cache size to reduce memory consumption - obshashrange.lru-size = 2000 # default is 2000 - # automatically disable obshashrange related computation and capabilities # if the repository has more than N revisions. This is meant to help large # server deployment to enable the feature on smaller repositories while diff -r ef73f0d2232d -r d28c9f359464 hgext3rd/evolve/obsdiscovery.py --- a/hgext3rd/evolve/obsdiscovery.py Wed Jul 28 02:44:12 2021 +0300 +++ b/hgext3rd/evolve/obsdiscovery.py Tue Jun 29 12:16:17 2021 +0300 @@ -63,7 +63,6 @@ eh.configitem(b'experimental', b'obshashrange', True) eh.configitem(b'experimental', b'obshashrange.warm-cache', b'auto') eh.configitem(b'experimental', b'obshashrange.max-revs', None) -eh.configitem(b'experimental', b'obshashrange.lru-size', 2000) ################################## ### Code performing discovery ###