DescriptionMake sure thread pool has at least 1 worker.
When doing a 'git cl archive' if there are no branches other then master the
command will crash with a 'ValueError: Number of processes must be at least 1'
when attempting to create the thread pool.
This Cl modifies the code to use the maximum of the changes and 1 as the number
of threads to create so we have at least one thread to work with.
Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/99d3017946e02465e04c557e0c1b1201ada85a58
Patch Set 1 #Messages
Total messages: 12 (7 generated)
|