git-repo/subcmds
Mike Frysinger d9e5cf0ee7 sync: invert --force-broken with --fail-fast
People seem to not expect the sync process to halt immediately if an
error is encountered.  It's also basically guaranteed to leave their
tree in an incomplete state.  Lets invert the default behavior so we
attempt to sync (both fetch & checkout) all projects.  If an error is
hit, we still exit(1) and show it at the end.

If people want the sync to abort quickly, they can use the new option
--fail-fast.

Bug: https://crbug.com/gerrit/11293
Change-Id: I49dd6c4dc8fd5cce8aa905ee169ff3cbe230eb3d
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/234812
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
Tested-by: Mike Frysinger <vapier@google.com>
2019-08-27 01:20:44 +00:00
..
__init__.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
abandon.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
branches.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
checkout.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
cherry_pick.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
diff.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
diffmanifests.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
download.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
forall.py Remove double forall from "repo help forall" output 2019-07-08 22:42:38 +00:00
gitc_delete.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
gitc_init.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
grep.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
help.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
info.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
init.py Add support for partial clone. 2019-07-16 00:23:16 +00:00
list.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
manifest.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
overview.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
prune.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
rebase.py rebase: pull out project-independent settings from the for loop 2019-08-08 17:41:40 +00:00
selfupdate.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
smartsync.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
stage.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
start.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
status.py status: import print_function 2019-06-14 14:13:23 +00:00
sync.py sync: invert --force-broken with --fail-fast 2019-08-27 01:20:44 +00:00
upload.py use print() instead of sys.stdout.write() 2019-07-11 06:26:40 +00:00
version.py git_command: drop custom version helper 2019-07-11 01:30:18 +00:00