From b3ce73d028b1d44137d533220fd41be31bc31801 Mon Sep 17 00:00:00 2001 From: Michael Achenbach Date: Wed, 11 Oct 2017 16:41:27 +0200 Subject: [PATCH] More verbose output when .gclient file cannot be found Bug: 773769 Change-Id: I3c1a394c5995e0c56046da5f2509e63060aa6a29 Reviewed-on: https://chromium-review.googlesource.com/712935 Reviewed-by: Andrii Shyshkalov Reviewed-by: Dirk Pranke Reviewed-by: Sergiy Byelozyorov Commit-Queue: Michael Achenbach --- gclient.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gclient.py b/gclient.py index adedd618ce..d80f99d606 100755 --- a/gclient.py +++ b/gclient.py @@ -1357,6 +1357,8 @@ it or fix the checkout. options.config_filename, os.getcwd())) path = gclient_utils.FindGclientRoot(os.getcwd(), options.config_filename) if not path: + if options.verbose: + print('Couldn\'t find configuration file.') return None client = GClient(path, options) client.SetConfig(gclient_utils.FileRead(