stablerange: only issue the message once
There is a flag to prevent issuing the long load message multiple time. However,
it was never set. This is now fixed
--- a/CHANGELOG Fri Sep 07 00:06:00 2018 -0400
+++ b/CHANGELOG Thu Sep 06 23:24:26 2018 -0400
@@ -1,6 +1,11 @@
Changelog
=========
+8.2.1 - in progress
+-------------------
+
+ * obshashrange: issue the "long stable cache" update message only once
+
8.2.0 -- 2018-09-03
-------------------
--- a/hgext3rd/evolve/stablerangecache.py Fri Sep 07 00:06:00 2018 -0400
+++ b/hgext3rd/evolve/stablerangecache.py Thu Sep 06 23:24:26 2018 -0400
@@ -94,6 +94,7 @@
progress_new = time.time()
if not warned_long and LONG_WARNING_TIME < (progress_new - initial_time):
repo.ui.warn(LONG_MESSAGE)
+ warned_long = True
if (1 < progress_each) and (0.1 < progress_new - progress_last):
progress_each /= 10
ui.progress(_("filling stablerange cache"), seen,