From dccf38e34f5ce48a8583df320d7c5e203d2a9cf2 Mon Sep 17 00:00:00 2001 From: Josip Sokcevic Date: Wed, 1 Feb 2023 14:51:52 -0800 Subject: [PATCH] Update sync progress repo sync progress bar is misleading. Many bug reports mentioned that repo is stuck at the repo that is currently displayed in the progress bar. Repo sync actually shows what repository is the last processed. This change makes that obvious. Change-Id: I962bf0bc65af7ac0ed98db86e9144f07d9e1f96f Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/357134 Reviewed-by: Joanna Wang Tested-by: Josip Sokcevic --- subcmds/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subcmds/sync.py b/subcmds/sync.py index 1c38d266..4b7e81df 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -544,7 +544,7 @@ later is required to fix a server side protocol bug. ret = False else: fetched.add(project.gitdir) - pm.update(msg=project.name) + pm.update(msg=f'Last synced: {project.name}') if not ret and opt.fail_fast: break return ret