From e19d9e1a65f9c4c357b46ebf1f0bb695401e76c5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 12 Feb 2020 11:23:32 -0500 Subject: [PATCH] sync: add a "finished" message Some people find the existing output to be a bit confusing. It spews a lot of git output before exiting, but it's not exactly clear what the final state is when things pass. Add an explicit message. Bug: https://crbug.com/gerrit/10501 Change-Id: I9de83b595d3185feb820005b8fc81c6adc55b357 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254732 Reviewed-by: Michael Mortensen Reviewed-by: Mike Frysinger Tested-by: Mike Frysinger --- subcmds/sync.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subcmds/sync.py b/subcmds/sync.py index 937d6e87..3d42a0a7 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -1047,6 +1047,9 @@ later is required to fix a server side protocol bug. file=sys.stderr) sys.exit(1) + if not opt.quiet: + print('repo sync has finished successfully.') + def _PostRepoUpgrade(manifest, quiet=False): wrapper = Wrapper()