summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
authorGavin Mak <gavinmak@google.com>2026-04-17 20:31:41 +0000
committergerrit-scoped@luci-project-accounts.iam.gserviceaccount.com <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2026-04-17 15:47:15 -0700
commit4f707ff91e16af5b19565504df67351c4d28370e (patch)
tree0337a4e167eaeda128e9f12bf5e0a39abc7e15b9 /subcmds
parente2671c184e41ac77544809486e994095e3574138 (diff)
downloadgit-repo-4f707ff91e16af5b19565504df67351c4d28370e.tar.gz
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>
Diffstat (limited to 'subcmds')
-rw-r--r--subcmds/sync.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py
index e5fb3bcdb..5c39f7158 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -2113,6 +2113,9 @@ later is required to fix a server side protocol bug.
2113 superproject_logging_data, 2113 superproject_logging_data,
2114 ) 2114 )
2115 2115
2116 if not opt.quiet:
2117 print("Finalizing sync state...")
2118
2116 # Log the previous sync analysis state from the config. 2119 # Log the previous sync analysis state from the config.
2117 self.git_event_log.LogDataConfigEvents( 2120 self.git_event_log.LogDataConfigEvents(
2118 mp.config.GetSyncAnalysisStateData(), "previous_sync_state" 2121 mp.config.GetSyncAnalysisStateData(), "previous_sync_state"