Mercurial > evolve
changeset 5990:d28c9f359464
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.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 29 Jun 2021 12:16:17 +0300 |
parents | ef73f0d2232d |
children | 79a63cc9757e |
files | CHANGELOG hgext3rd/evolve/__init__.py hgext3rd/evolve/obsdiscovery.py |
diffstat | 3 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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 --------------------
--- 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
--- 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 ###