git-repo/subcmds
Jason Chang a6413f5d88 Update errors to extend BaseRepoError
In order to better analyze and track repo errors, repo command failures
need to be tied to specific errors in repo source code.

Additionally a new GitCommandError was added to differentiate between
general git related errors to failed git commands. Git commands that opt
into verification will raise a GitCommandError if the command failed.

The first step in this process is a general error refactoring

Bug: b/293344017
Change-Id: I46944b1825ce892757c8dd3f7e2fab7e460760c0
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/380994
Commit-Queue: Jason Chang <jasonnc@google.com>
Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com>
Tested-by: Jason Chang <jasonnc@google.com>
Reviewed-by: Joanna Wang <jojwang@google.com>
2023-07-31 21:31:36 +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 Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +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 sync: Track last completed fetch/checkout 2023-07-28 18:55:04 +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