Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(445)

Issue 2341643005: In rebaseline.py, update SCM and expectations all at once after all commands. (Closed)

Created:
4 years, 3 months ago by qyearsley
Modified:
4 years, 3 months ago
Reviewers:
Dirk Pranke, wkorman
CC:
blink-reviews, chromium-reviews, Dirk Pranke, jeffcarp
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

In rebaseline.py, update SCM and expectations all at once after all commands. This is meant to fix http://crbug.com/639410 by making it so that if there are files that are both added and deleted (e.g. downloaded and then de-duped), they won't ever be staged since all changes would be aggregated and de-duped before running git add/rm. BUG=639410 Committed: https://crrev.com/34fdc9df872c6ce13e6c3c546084435321d4e882 Cr-Commit-Position: refs/heads/master@{#420461}

Patch Set 1 #

Patch Set 2 : Add unit test for ChangeSet #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -49 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/optimize_baselines_unittest.py View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py View 1 6 chunks +47 lines, -46 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py View 1 1 chunk +90 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
qyearsley
Note: I haven't yet added a unit test for the ChangeSet class -- I could ...
4 years, 3 months ago (2016-09-16 00:28:17 UTC) #5
Dirk Pranke
lgtm
4 years, 3 months ago (2016-09-16 00:35:47 UTC) #6
wkorman
I would vote for adding test for ChangeSet to this CL. Since, I think our ...
4 years, 3 months ago (2016-09-16 00:37:53 UTC) #7
qyearsley
On 2016/09/16 at 00:37:53, wkorman wrote: > I would vote for adding test for ChangeSet ...
4 years, 3 months ago (2016-09-16 23:18:31 UTC) #10
qyearsley
On 2016/09/16 at 23:18:31, qyearsley (OOO til Sept 20) wrote: > On 2016/09/16 at 00:37:53, ...
4 years, 3 months ago (2016-09-22 18:10:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2341643005/20001
4 years, 3 months ago (2016-09-22 21:18:15 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-22 21:24:45 UTC) #19
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/34fdc9df872c6ce13e6c3c546084435321d4e882 Cr-Commit-Position: refs/heads/master@{#420461}
4 years, 3 months ago (2016-09-22 21:28:33 UTC) #21
qyearsley
4 years, 2 months ago (2016-09-28 16:03:18 UTC) #22
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2380533003/ by qyearsley@chromium.org.

The reason for reverting is: Caused rebaseline-o-matic to fail:
http://crrev.com/650944

Could be re-landed with a fix..

Powered by Google App Engine
This is Rietveld 408576698