diff options
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r-- | subcmds/sync.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index 3dc74f1f..3a4151df 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -373,19 +373,16 @@ later is required to fix a server side protocol bug. | |||
373 | p.add_option( | 373 | p.add_option( |
374 | "-f", | 374 | "-f", |
375 | "--force-broken", | 375 | "--force-broken", |
376 | dest="force_broken", | ||
377 | action="store_true", | 376 | action="store_true", |
378 | help="obsolete option (to be deleted in the future)", | 377 | help="obsolete option (to be deleted in the future)", |
379 | ) | 378 | ) |
380 | p.add_option( | 379 | p.add_option( |
381 | "--fail-fast", | 380 | "--fail-fast", |
382 | dest="fail_fast", | ||
383 | action="store_true", | 381 | action="store_true", |
384 | help="stop syncing after first error is hit", | 382 | help="stop syncing after first error is hit", |
385 | ) | 383 | ) |
386 | p.add_option( | 384 | p.add_option( |
387 | "--force-sync", | 385 | "--force-sync", |
388 | dest="force_sync", | ||
389 | action="store_true", | 386 | action="store_true", |
390 | help="overwrite an existing git directory if it needs to " | 387 | help="overwrite an existing git directory if it needs to " |
391 | "point to a different object directory. WARNING: this " | 388 | "point to a different object directory. WARNING: this " |
@@ -393,7 +390,6 @@ later is required to fix a server side protocol bug. | |||
393 | ) | 390 | ) |
394 | p.add_option( | 391 | p.add_option( |
395 | "--force-checkout", | 392 | "--force-checkout", |
396 | dest="force_checkout", | ||
397 | action="store_true", | 393 | action="store_true", |
398 | help="force checkout even if it results in throwing away " | 394 | help="force checkout even if it results in throwing away " |
399 | "uncommitted modifications. " | 395 | "uncommitted modifications. " |
@@ -401,7 +397,6 @@ later is required to fix a server side protocol bug. | |||
401 | ) | 397 | ) |
402 | p.add_option( | 398 | p.add_option( |
403 | "--force-remove-dirty", | 399 | "--force-remove-dirty", |
404 | dest="force_remove_dirty", | ||
405 | action="store_true", | 400 | action="store_true", |
406 | help="force remove projects with uncommitted modifications if " | 401 | help="force remove projects with uncommitted modifications if " |
407 | "projects no longer exist in the manifest. " | 402 | "projects no longer exist in the manifest. " |
@@ -409,7 +404,6 @@ later is required to fix a server side protocol bug. | |||
409 | ) | 404 | ) |
410 | p.add_option( | 405 | p.add_option( |
411 | "--rebase", | 406 | "--rebase", |
412 | dest="rebase", | ||
413 | action="store_true", | 407 | action="store_true", |
414 | help="rebase local commits regardless of whether they are " | 408 | help="rebase local commits regardless of whether they are " |
415 | "published", | 409 | "published", |
@@ -417,7 +411,6 @@ later is required to fix a server side protocol bug. | |||
417 | p.add_option( | 411 | p.add_option( |
418 | "-l", | 412 | "-l", |
419 | "--local-only", | 413 | "--local-only", |
420 | dest="local_only", | ||
421 | action="store_true", | 414 | action="store_true", |
422 | help="only update working tree, don't fetch", | 415 | help="only update working tree, don't fetch", |
423 | ) | 416 | ) |
@@ -433,7 +426,6 @@ later is required to fix a server side protocol bug. | |||
433 | p.add_option( | 426 | p.add_option( |
434 | "-n", | 427 | "-n", |
435 | "--network-only", | 428 | "--network-only", |
436 | dest="network_only", | ||
437 | action="store_true", | 429 | action="store_true", |
438 | help="fetch only, don't update working tree", | 430 | help="fetch only, don't update working tree", |
439 | ) | 431 | ) |
@@ -460,7 +452,6 @@ later is required to fix a server side protocol bug. | |||
460 | p.add_option( | 452 | p.add_option( |
461 | "-m", | 453 | "-m", |
462 | "--manifest-name", | 454 | "--manifest-name", |
463 | dest="manifest_name", | ||
464 | help="temporary manifest to use for this sync", | 455 | help="temporary manifest to use for this sync", |
465 | metavar="NAME.xml", | 456 | metavar="NAME.xml", |
466 | ) | 457 | ) |
@@ -479,19 +470,16 @@ later is required to fix a server side protocol bug. | |||
479 | "-u", | 470 | "-u", |
480 | "--manifest-server-username", | 471 | "--manifest-server-username", |
481 | action="store", | 472 | action="store", |
482 | dest="manifest_server_username", | ||
483 | help="username to authenticate with the manifest server", | 473 | help="username to authenticate with the manifest server", |
484 | ) | 474 | ) |
485 | p.add_option( | 475 | p.add_option( |
486 | "-p", | 476 | "-p", |
487 | "--manifest-server-password", | 477 | "--manifest-server-password", |
488 | action="store", | 478 | action="store", |
489 | dest="manifest_server_password", | ||
490 | help="password to authenticate with the manifest server", | 479 | help="password to authenticate with the manifest server", |
491 | ) | 480 | ) |
492 | p.add_option( | 481 | p.add_option( |
493 | "--fetch-submodules", | 482 | "--fetch-submodules", |
494 | dest="fetch_submodules", | ||
495 | action="store_true", | 483 | action="store_true", |
496 | help="fetch submodules from server", | 484 | help="fetch submodules from server", |
497 | ) | 485 | ) |
@@ -515,7 +503,6 @@ later is required to fix a server side protocol bug. | |||
515 | ) | 503 | ) |
516 | p.add_option( | 504 | p.add_option( |
517 | "--optimized-fetch", | 505 | "--optimized-fetch", |
518 | dest="optimized_fetch", | ||
519 | action="store_true", | 506 | action="store_true", |
520 | help="only fetch projects fixed to sha1 if revision does not exist " | 507 | help="only fetch projects fixed to sha1 if revision does not exist " |
521 | "locally", | 508 | "locally", |
@@ -554,7 +541,6 @@ later is required to fix a server side protocol bug. | |||
554 | p.add_option( | 541 | p.add_option( |
555 | "-s", | 542 | "-s", |
556 | "--smart-sync", | 543 | "--smart-sync", |
557 | dest="smart_sync", | ||
558 | action="store_true", | 544 | action="store_true", |
559 | help="smart sync using manifest from the latest known good " | 545 | help="smart sync using manifest from the latest known good " |
560 | "build", | 546 | "build", |
@@ -562,7 +548,6 @@ later is required to fix a server side protocol bug. | |||
562 | p.add_option( | 548 | p.add_option( |
563 | "-t", | 549 | "-t", |
564 | "--smart-tag", | 550 | "--smart-tag", |
565 | dest="smart_tag", | ||
566 | action="store", | 551 | action="store", |
567 | help="smart sync using manifest from a known tag", | 552 | help="smart sync using manifest from a known tag", |
568 | ) | 553 | ) |
@@ -577,7 +562,6 @@ later is required to fix a server side protocol bug. | |||
577 | ) | 562 | ) |
578 | g.add_option( | 563 | g.add_option( |
579 | "--repo-upgraded", | 564 | "--repo-upgraded", |
580 | dest="repo_upgraded", | ||
581 | action="store_true", | 565 | action="store_true", |
582 | help=optparse.SUPPRESS_HELP, | 566 | help=optparse.SUPPRESS_HELP, |
583 | ) | 567 | ) |