Commit bb123141 authored by maruel@chromium.org's avatar maruel@chromium.org

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
parent b8128287
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment