From dcbfadf814aeb31bb66a265c74ef681d9dcb4875 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 22 Feb 2020 00:04:39 -0500 Subject: repo/init: improve basic progress messages We produce some simple "Get" messages that aren't super clear as to what they're doing, especially for people not familiar with repo. Rephrase these to explicitly state the thing we're doing so it's clear why we're downloading a particular source. Bug: https://crbug.com/gerrit/11293 Change-Id: I0749504f17c5385c6c65274a274e0ae25b117413 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/256455 Tested-by: Mike Frysinger Reviewed-by: David Pursehouse --- subcmds/init.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'subcmds/init.py') diff --git a/subcmds/init.py b/subcmds/init.py index be73cecd..20030068 100644 --- a/subcmds/init.py +++ b/subcmds/init.py @@ -193,7 +193,8 @@ to update the working directory files. sys.exit(1) if not opt.quiet: - print('Get %s' % GitConfig.ForUser().UrlInsteadOf(opt.manifest_url), + print('Downloading manifest from %s' % + (GitConfig.ForUser().UrlInsteadOf(opt.manifest_url),), file=sys.stderr) # The manifest project object doesn't keep track of the path on the -- cgit v1.2.3-54-g00ecf