diff mercurial/configitems.py @ 43806:acbb55b8e9dc

upgraderepo: add a config option for parallel computation The option is put to use to compute new copy tracing side data in parallel. It use the multiprocessing module as it had the appropriate primitive for what we needed. Gregory Szorc had concerned on windows so we disabled it there. See inline comment for details on the parallel implementation.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 29 Sep 2019 16:00:32 +0200
parents 2276a9a1c037
children 8caec25f5d8f
line wrap: on
line diff
--- a/mercurial/configitems.py	Fri Nov 29 15:36:45 2019 +0100
+++ b/mercurial/configitems.py	Sun Sep 29 16:00:32 2019 +0200
@@ -706,6 +706,9 @@
     b'experimental', b'worker.wdir-get-thread-safe', default=False,
 )
 coreconfigitem(
+    b'experimental', b'worker.repository-upgrade', default=False,
+)
+coreconfigitem(
     b'experimental', b'xdiff', default=False,
 )
 coreconfigitem(