git-repo/subcmds
Gavin Mak 945c006f40 sync: Update sync progress even when _sync_dict is empty
By chance, _sync_dict can be empty even though repo sync is still
working. In that case, the progress message shows incorrect info. Handle this case and fix a bug where "0 jobs" can show.

Bug: http://b/284465096
Change-Id: If915d953ba60e7cf84a6fb2d137fd6ed82abd3cc
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/375494
Tested-by: Gavin Mak <gavinmak@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
2023-05-30 20:25:00 +00:00
..
__init__.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +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: Update sync progress even when _sync_dict is empty 2023-05-30 20:25:00 +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