OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """Set of operations/utilities related to checking out the depot, and | 5 """Set of operations/utilities related to checking out the depot, and |
6 outputting annotations on the buildbot waterfall. These are intended to be | 6 outputting annotations on the buildbot waterfall. These are intended to be |
7 used by the bisection scripts.""" | 7 used by the bisection scripts.""" |
8 | 8 |
9 import errno | 9 import errno |
10 import imp | 10 import imp |
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 | 501 |
502 Args: | 502 Args: |
503 opts: The options parsed from the command line through parse_args(). | 503 opts: The options parsed from the command line through parse_args(). |
504 custom_deps: A dictionary of additional dependencies to add to .gclient. | 504 custom_deps: A dictionary of additional dependencies to add to .gclient. |
505 """ | 505 """ |
506 if not CreateAndChangeToSourceDirectory(opts.working_directory): | 506 if not CreateAndChangeToSourceDirectory(opts.working_directory): |
507 raise RuntimeError('Could not create bisect directory.') | 507 raise RuntimeError('Could not create bisect directory.') |
508 | 508 |
509 if not SetupGitDepot(opts, custom_deps): | 509 if not SetupGitDepot(opts, custom_deps): |
510 raise RuntimeError('Failed to grab source.') | 510 raise RuntimeError('Failed to grab source.') |
OLD | NEW |