From bb12314170d19bea451242b2d9910b79a1179a43 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Fri, 9 Nov 2012 01:14:18 +0000 Subject: [PATCH] Use --nohooks when gclient sync in apply_issue. Otherwise the try slaves run the hooks twice, once in the apply_issue, another in the runhooks step. It is unnecessary. It will reduce the problem with apply_issue timeouts. TBR=xusydoc@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/11362176 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@166826 0039d316-1c4b-4281-b951-d872f2087c98 --- apply_issue.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apply_issue.py b/apply_issue.py index 1ee5abbb01..efd9153615 100755 --- a/apply_issue.py +++ b/apply_issue.py @@ -175,7 +175,8 @@ def main(): if sys.platform == 'win32': gclient_path += '.bat' return subprocess.call( - [gclient_path, 'sync', '--revision', base_rev], cwd=gclient_root) + [gclient_path, 'sync', '--revision', base_rev, '--nohooks'], + cwd=gclient_root) return 0