| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 | 5 |
| 6 # pylint: disable=W0201 | 6 # pylint: disable=W0201 |
| 7 | 7 |
| 8 | 8 |
| 9 import json | 9 import json |
| 10 import os | 10 import os |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 cwd=self.m.vars.checkout_root) | 133 cwd=self.m.vars.checkout_root) |
| 134 | 134 |
| 135 update_step = self.m.gclient.checkout(gclient_config=gclient_cfg, | 135 update_step = self.m.gclient.checkout(gclient_config=gclient_cfg, |
| 136 cwd=self.m.vars.checkout_root, | 136 cwd=self.m.vars.checkout_root, |
| 137 revert=False, | 137 revert=False, |
| 138 **checkout_kwargs) | 138 **checkout_kwargs) |
| 139 | 139 |
| 140 self.m.vars.got_revision = ( | 140 self.m.vars.got_revision = ( |
| 141 update_step.presentation.properties['got_revision']) | 141 update_step.presentation.properties['got_revision']) |
| 142 self.m.tryserver.maybe_apply_issue() | 142 self.m.tryserver.maybe_apply_issue() |
| 143 if self.m.properties.get('patch_storage') == 'gerrit': |
| 144 self.m.bot_update.apply_gerrit_ref( |
| 145 root=str(self.m.vars.checkout_root.join('skia'))) |
| 143 | 146 |
| 144 if self.m.vars.need_chromium_checkout: | 147 if self.m.vars.need_chromium_checkout: |
| 145 self.m.gclient.runhooks(cwd=self.m.vars.checkout_root, | 148 self.m.gclient.runhooks(cwd=self.m.vars.checkout_root, |
| 146 env=self.m.vars.gclient_env) | 149 env=self.m.vars.gclient_env) |
| OLD | NEW |