mirror of
https://github.com/facebook/sapling.git
synced 2024-10-13 02:07:31 +03:00
667f296601
Summary: We disabled `runworker` for every importer (fastimport, syncimport, seqimport) when we hotfixed a customized file transaction breakage in fastimport D7108127. Since - we're not using fastimport, which relies on the customized file transaction - seqimport does not rely on the customized file transaction mechanism - syncimport is super slow without `runworker` and syncimport does not rely on the customized file transaction mechanism - the manual work involved in adding mapping to ovrsource (we have to do that if we don't have syncimport) is not trivial I think it's a good idea to bring back `runworker`, which is a configurable config, and it's explicitly set to `false` for fastimport and seqimport, `force` for syncimport. This diff - make the `useworker` config available again - remove the unnecessary test on the customized file transaction, which is still broken with `runworker` - log the time it takes to finish one sync import Differential Revision: D7557856 fbshipit-source-id: 6d4105cc38b182e027512730901ce3b2a4e1d449 |
||
---|---|---|
.. | ||
__init__.py | ||
filetransaction.py | ||
importer.py | ||
lfs.py | ||
p4.py | ||
seqimporter.py | ||
util.py |