| Index: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl.py
|
| index 601aa1aedc94faf3325ab9da8338e5a188e1f6eb..e4da1f028c7853af9f0764d9a3b06ae33e3c23fa 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl.py
|
| @@ -52,10 +52,20 @@ class RebaselineCL(AbstractParallelRebaselineCommand):
|
|
|
| def execute(self, options, args, tool):
|
| self._tool = tool
|
| +
|
| + unstaged_baselines = self.unstaged_baselines()
|
| + if unstaged_baselines:
|
| + _log.error('Aborting: there are unstaged baselines:')
|
| + for path in unstaged_baselines:
|
| + _log.error(' %s', path)
|
| + return
|
| +
|
| issue_number = self._get_issue_number(options)
|
| if not issue_number:
|
| return
|
|
|
| + # TODO(qyearsley): Replace this with git cl try-results to remove
|
| + # dependency on Rietveld. See crbug.com/671684.
|
| builds = self.rietveld.latest_try_jobs(issue_number, self._try_bots())
|
|
|
| if options.trigger_jobs:
|
|
|