git-repo/subcmds
Jason Chang 32b59565b7 Refactor errors for sync command
Per discussion in go/repo-error-update updated aggregated and exit
errors for sync command.

Aggregated errors are errors that result in eventual command failure.
Exit errors are errors that result in immediate command failure.

Also updated main.py to log aggregated and exit errors to git sessions
log

Bug: b/293344017
Change-Id: I77a21f14da32fe2e68c16841feb22de72e86a251
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/379614
Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com>
Tested-by: Jason Chang <jasonnc@google.com>
Commit-Queue: Jason Chang <jasonnc@google.com>
2023-08-02 18:29:05 +00:00
..
__init__.py Update errors to extend BaseRepoError 2023-07-31 21:31:36 +00:00
abandon.py sync: Show elapsed time for the longest syncing project 2023-05-18 18:10:24 +00:00
branches.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
checkout.py sync: Show elapsed time for the longest syncing project 2023-05-18 18:10:24 +00:00
cherry_pick.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
diff.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
diffmanifests.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
download.py Refactor errors for sync command 2023-08-02 18:29:05 +00:00
forall.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
gitc_delete.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
gitc_init.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
grep.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
help.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
info.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
init.py Add envar to replace shallow clones with partial 2023-05-25 22:37:04 +00:00
list.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
manifest.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
overview.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
prune.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
rebase.py [git_trace2] Add logs for critical cmds 2023-05-17 18:06:14 +00:00
selfupdate.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
smartsync.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
stage.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
start.py sync: Show elapsed time for the longest syncing project 2023-05-18 18:10:24 +00:00
status.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
sync.py Refactor errors for sync command 2023-08-02 18:29:05 +00:00
upload.py upload: use f-string 2023-05-25 17:12:18 +00:00
version.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00