From 6ac12ffd596e338c43e25dc3889e8ac552c2e885 Mon Sep 17 00:00:00 2001 From: vadimsh Date: Fri, 16 Sep 2016 12:51:48 -0700 Subject: [PATCH] Make bot_update.py print git version it uses. R=iannucci@chromium.org, dnj@chromium.org BUG=647446 Review-Url: https://codereview.chromium.org/2344313002 --- recipe_modules/bot_update/resources/bot_update.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipe_modules/bot_update/resources/bot_update.py b/recipe_modules/bot_update/resources/bot_update.py index 937b1963d..ab71dd4a9 100755 --- a/recipe_modules/bot_update/resources/bot_update.py +++ b/recipe_modules/bot_update/resources/bot_update.py @@ -941,6 +941,10 @@ def prepare(options, git_slns, active): def checkout(options, git_slns, specs, revisions, step_text, shallow): + print 'Checking git version...' + ver = git('version').strip() + print 'Using %s' % ver + first_sln = git_slns[0]['name'] dir_names = [sln.get('name') for sln in git_slns if 'name' in sln] try: