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

Issue 11088023: Fix multi-solution use case with conflicting custom_deps overrides. (Closed)

Created:
8 years, 2 months ago by M-A Ruel
Modified:
8 years, 2 months ago
Reviewers:
szager1
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org, M-A Ruel
Base URL:
https://git.chromium.org/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Fix multi-solution use case with conflicting custom_deps overrides. Let's say there's 2 solutions, solA and solB, both fetching the dependency depA with different urls, solA has 'depA': 'http://foo/bar' and solB has 'depA': From('depB', 'bar'). This case used to not work, because LateOverride() was not called in verify_validity(), so it was not comparing the resolved urls but instead what is textually specified in both DEPS files. Also because LateOverride() was not called, verify_validity() was comparing the original urls even if custom_deps is specified in the solution(s). Finally, allow one to mismatch the other IFF one is None. R=szager@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161228

Patch Set 1 #

Total comments: 2

Patch Set 2 : allow empty strings in addition to None #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -3 lines) Patch
M gclient.py View 1 1 chunk +13 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
M-A Ruel
8 years, 2 months ago (2012-10-09 13:12:00 UTC) #1
szager1
https://codereview.chromium.org/11088023/diff/1/gclient.py File gclient.py (right): https://codereview.chromium.org/11088023/diff/1/gclient.py#newcode330 gclient.py:330: if self_url != sibling_url: if self_url and sibling_url and ...
8 years, 2 months ago (2012-10-09 18:30:11 UTC) #2
M-A Ruel
https://codereview.chromium.org/11088023/diff/1/gclient.py File gclient.py (right): https://codereview.chromium.org/11088023/diff/1/gclient.py#newcode330 gclient.py:330: if self_url != sibling_url: On 2012/10/09 18:30:11, szager1 wrote: ...
8 years, 2 months ago (2012-10-09 18:38:22 UTC) #3
szager1
lgtm
8 years, 2 months ago (2012-10-09 18:42:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/11088023/3002
8 years, 2 months ago (2012-10-10 23:23:06 UTC) #5
commit-bot: I haz the power
8 years, 2 months ago (2012-10-10 23:25:52 UTC) #6
Change committed as 161228

Powered by Google App Engine
This is Rietveld 408576698