Skip to content
Snippets Groups Projects
Commit ecd90548a10d authored by Gerald Squelart's avatar Gerald Squelart
Browse files

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
parent 9caf73470c2b
No related branches found
No related tags found
No related merge requests found
Changelog
=========
8.2.1 - in progress
-------------------
* obshashrange: issue the "long stable cache" update message only once
8.2.0 -- 2018-09-03
-------------------
......
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment