summaryrefslogtreecommitdiffstats
path: root/subcmds/init.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2020-02-22 00:04:39 -0500
committerDavid Pursehouse <dpursehouse@collab.net>2020-02-22 08:23:51 +0000
commitdcbfadf814aeb31bb66a265c74ef681d9dcb4875 (patch)
tree7cb94b6e75d8a497acde6ad03d3f115e00cca79c /subcmds/init.py
parentedd3d45b35c33e06f9d2f569d4fb1d9c9c739151 (diff)
downloadgit-repo-dcbfadf814aeb31bb66a265c74ef681d9dcb4875.tar.gz
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 <vapier@google.com> Reviewed-by: David Pursehouse <dpursehouse@collab.net>
Diffstat (limited to 'subcmds/init.py')
-rw-r--r--subcmds/init.py3
1 files changed, 2 insertions, 1 deletions
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.
193 sys.exit(1) 193 sys.exit(1)
194 194
195 if not opt.quiet: 195 if not opt.quiet:
196 print('Get %s' % GitConfig.ForUser().UrlInsteadOf(opt.manifest_url), 196 print('Downloading manifest from %s' %
197 (GitConfig.ForUser().UrlInsteadOf(opt.manifest_url),),
197 file=sys.stderr) 198 file=sys.stderr)
198 199
199 # The manifest project object doesn't keep track of the path on the 200 # The manifest project object doesn't keep track of the path on the