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

Issue 11571052: Fix toplevel_root parsing in trychange.py (Closed)

Created:
8 years ago by kjellander_chromium
Modified:
8 years ago
Reviewers:
M-A Ruel, Wez
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org
Visibility:
Public.

Description

Fix toplevel_root parsing in trychange.py In https://codereview.chromium.org/11574007/ I attempted to make it possible to use the TRYSERVER_ROOT setting in codereview.settings. It seems like some checkouts ran into errors with it not finding the codereview.settings file when it was parsed. This is probably due to the fact that the following call chain reads the self.toplevel_root variable: _GclStyleSettings -> GetCodeReviewSetting -> ReadRootFile By moving _GclStyleSettings up before self.toplevel_root is set probably causes this. This CL attempts to correct this. BUG=none, but try job upload fails for some users. TEST=submitting try job to locally running try server. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=173928

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updated comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -4 lines) Patch
M trychange.py View 1 3 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
kjellander_chromium
Marc-Antoine, I assume a rollback wasn't needed since noone did that. This CL should fix ...
8 years ago (2012-12-19 08:29:27 UTC) #1
M-A Ruel
https://codereview.chromium.org/11571052/diff/1/trychange.py File trychange.py (right): https://codereview.chromium.org/11571052/diff/1/trychange.py#newcode154 trychange.py:154: This method needs to be called after self.top_level_root has ...
8 years ago (2012-12-19 13:46:12 UTC) #2
kjellander_chromium
I updated the comment instead since I'm not sure an assert can be used in ...
8 years ago (2012-12-19 16:16:15 UTC) #3
M-A Ruel
lgtm
8 years ago (2012-12-19 16:24:49 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kjellander@chromium.org/11571052/1002
8 years ago (2012-12-19 16:26:31 UTC) #5
commit-bot: I haz the power
8 years ago (2012-12-19 16:29:05 UTC) #6
Message was sent while issue was closed.
Change committed as 173928

Powered by Google App Engine
This is Rietveld 408576698