summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subcmds/sync.py19
1 files changed, 14 insertions, 5 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py
index 13a322bc..b02fdd02 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -412,16 +412,18 @@ later is required to fix a server side protocol bug.
412 type=int, 412 type=int,
413 metavar="JOBS", 413 metavar="JOBS",
414 help="number of network jobs to run in parallel (defaults to " 414 help="number of network jobs to run in parallel (defaults to "
415 "--jobs or 1). Ignored when --interleaved is set", 415 "--jobs or 1). Ignored unless --no-interleaved is set",
416 ) 416 )
417 p.add_option( 417 p.add_option(
418 "--jobs-checkout", 418 "--jobs-checkout",
419 default=None, 419 default=None,
420 type=int, 420 type=int,
421 metavar="JOBS", 421 metavar="JOBS",
422 help="number of local checkout jobs to run in parallel (defaults " 422 help=(
423 f"to --jobs or {DEFAULT_LOCAL_JOBS}). Ignored when --interleaved " 423 "number of local checkout jobs to run in parallel (defaults "
424 "is set", 424 f"to --jobs or {DEFAULT_LOCAL_JOBS}). Ignored unless "
425 "--no-interleaved is set"
426 ),
425 ) 427 )
426 428
427 p.add_option( 429 p.add_option(
@@ -480,7 +482,14 @@ later is required to fix a server side protocol bug.
480 p.add_option( 482 p.add_option(
481 "--interleaved", 483 "--interleaved",
482 action="store_true", 484 action="store_true",
483 help="fetch and checkout projects in parallel (experimental)", 485 default=True,
486 help="fetch and checkout projects in parallel (default)",
487 )
488 p.add_option(
489 "--no-interleaved",
490 dest="interleaved",
491 action="store_false",
492 help="fetch and checkout projects in phases",
484 ) 493 )
485 p.add_option( 494 p.add_option(
486 "-n", 495 "-n",