comparison 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
comparison
equal deleted inserted replaced
43805:ad84fc97d120 43806:acbb55b8e9dc
704 ) 704 )
705 coreconfigitem( 705 coreconfigitem(
706 b'experimental', b'worker.wdir-get-thread-safe', default=False, 706 b'experimental', b'worker.wdir-get-thread-safe', default=False,
707 ) 707 )
708 coreconfigitem( 708 coreconfigitem(
709 b'experimental', b'worker.repository-upgrade', default=False,
710 )
711 coreconfigitem(
709 b'experimental', b'xdiff', default=False, 712 b'experimental', b'xdiff', default=False,
710 ) 713 )
711 coreconfigitem( 714 coreconfigitem(
712 b'extensions', b'.*', default=None, generic=True, 715 b'extensions', b'.*', default=None, generic=True,
713 ) 716 )