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

Issue 645383002: Split RmTreeAndMkDir into two separate functions (refactoring). (Closed)

Created:
6 years, 2 months ago by qyearsley
Modified:
6 years, 2 months ago
Reviewers:
RobertoCN, prasadv
CC:
chromium-reviews, Sergiy Byelozyorov, ojan
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Split RmTreeAndMkDir into two separate functions (refactoring). The function RmTreeAndMkDir did two different things depending on a boolean flag that was passed to it. This CL splits it into two functions so that each function only takes one argument and does one thing. BUG= Committed: https://crrev.com/902242f397508c4617f8cdbb2034b3d896b467cc Cr-Commit-Position: refs/heads/master@{#299815}

Patch Set 1 #

Patch Set 2 : Removed one change unrelated to this CL. #

Patch Set 3 : Add a config for try job #

Patch Set 4 : Remove config for try job. #

Total comments: 2

Patch Set 5 : Change RemoveBuildFiles according to suggestion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -27 lines) Patch
M tools/auto_bisect/bisect_perf_regression.py View 1 2 3 4 7 chunks +24 lines, -27 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
qyearsley
6 years, 2 months ago (2014-10-13 18:14:29 UTC) #2
RobertoCN
https://codereview.chromium.org/645383002/diff/130001/tools/auto_bisect/bisect_perf_regression.py File tools/auto_bisect/bisect_perf_regression.py (right): https://codereview.chromium.org/645383002/diff/130001/tools/auto_bisect/bisect_perf_regression.py#newcode2917 tools/auto_bisect/bisect_perf_regression.py:2917: if RemakeDirectoryTree(os.path.join('build', build_type)): Wouldn't an 'and' look better here ...
6 years, 2 months ago (2014-10-14 18:31:34 UTC) #4
qyearsley
https://codereview.chromium.org/645383002/diff/130001/tools/auto_bisect/bisect_perf_regression.py File tools/auto_bisect/bisect_perf_regression.py (right): https://codereview.chromium.org/645383002/diff/130001/tools/auto_bisect/bisect_perf_regression.py#newcode2917 tools/auto_bisect/bisect_perf_regression.py:2917: if RemakeDirectoryTree(os.path.join('build', build_type)): On 2014/10/14 18:31:34, robertocn wrote: > ...
6 years, 2 months ago (2014-10-14 18:36:26 UTC) #5
RobertoCN
On 2014/10/14 18:36:26, qyearsley wrote: > https://codereview.chromium.org/645383002/diff/130001/tools/auto_bisect/bisect_perf_regression.py > File tools/auto_bisect/bisect_perf_regression.py (right): > > https://codereview.chromium.org/645383002/diff/130001/tools/auto_bisect/bisect_perf_regression.py#newcode2917 > ...
6 years, 2 months ago (2014-10-14 19:13:14 UTC) #6
prasadv
lgtm
6 years, 2 months ago (2014-10-16 00:14:01 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/645383002/170001
6 years, 2 months ago (2014-10-16 00:39:30 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:170001)
6 years, 2 months ago (2014-10-16 01:57:32 UTC) #10
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 01:58:02 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/902242f397508c4617f8cdbb2034b3d896b467cc
Cr-Commit-Position: refs/heads/master@{#299815}

Powered by Google App Engine
This is Rietveld 408576698