sync: Provide feedback during post-sync operations

After the main sync progress bar finishes, there's a pause while some
post-sync operations run. Print something to provide feedback so the
user doesn't think repo has hung.

Bug: 503869525
Change-Id: I695fd560e60dcb394e6844a56c8a336ca1f71c74
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/574425
Commit-Queue: Gavin Mak <gavinmak@google.com>
Reviewed-by: Becky Siegel <beckysiegel@google.com>
Tested-by: Gavin Mak <gavinmak@google.com>
This commit is contained in:
Gavin Mak
2026-04-17 20:31:41 +00:00
committed by gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com
parent e2671c184e
commit 4f707ff91e
+3
View File
@@ -2113,6 +2113,9 @@ later is required to fix a server side protocol bug.
superproject_logging_data,
)
if not opt.quiet:
print("Finalizing sync state...")
# Log the previous sync analysis state from the config.
self.git_event_log.LogDataConfigEvents(
mp.config.GetSyncAnalysisStateData(), "previous_sync_state"