From 694773d5924f9b463710a04f678ebed6db1edad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Hajdan=2C=20Jr?= Date: Mon, 29 May 2017 16:06:23 +0200 Subject: [PATCH] gclient: enable syntax validation by default (reland #1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original CL: https://chromium-review.googlesource.com/509451 Please pass --disable-syntax-validation as an escape hatch. Bug: 570091 Change-Id: Ia9812506347685c31907225837ed50a0510952ee Reviewed-on: https://chromium-review.googlesource.com/517950 Reviewed-by: Andrii Shyshkalov Commit-Queue: Paweł Hajdan Jr. --- gclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gclient.py b/gclient.py index a5567365b..7dd3a6c80 100755 --- a/gclient.py +++ b/gclient.py @@ -2002,7 +2002,7 @@ def CMDsync(parser, args): parser.add_option('-m', '--manually_grab_svn_rev', action='store_true', help='DEPRECATED: This is a no-op.') # TODO(phajdan.jr): Remove validation options once default (crbug/570091). - parser.add_option('--validate-syntax', action='store_true', + parser.add_option('--validate-syntax', action='store_true', default=True, help='Validate the .gclient and DEPS syntax') parser.add_option('--disable-syntax-validation', action='store_false', dest='validate_syntax',