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

Issue 3304007: Do not blindly assume that a .gclient file in a parent directory belongs to t... (Closed)

Created:
10 years, 3 months ago by jochen (gone - plz use gerrit)
Modified:
9 years, 7 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews
Visibility:
Public.

Description

Do not blindly assume that a .gclient file in a parent directory belongs to the current directory. BUG=54238 TEST=GClientSmoke.testWrongConfig Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=58352

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -2 lines) Patch
M depot_tools/gclient.py View 1 1 chunk +13 lines, -2 lines 0 comments Download
M depot_tools/tests/gclient_smoketest.py View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
jochen (gone - plz use gerrit)
please review
10 years, 3 months ago (2010-09-02 13:19:28 UTC) #1
M-A Ruel
It'd be interesting to use this code in trychange.py too. That would require some significant ...
10 years, 3 months ago (2010-09-02 13:35:03 UTC) #2
jochen (gone - plz use gerrit)
http://codereview.chromium.org/3304007/diff/1/2 File depot_tools/gclient.py (right): http://codereview.chromium.org/3304007/diff/1/2#newcode631 depot_tools/gclient.py:631: all_solutions = client.tree(False) On 2010/09/02 13:35:03, Marc-Antoine Ruel wrote: ...
10 years, 3 months ago (2010-09-02 13:57:40 UTC) #3
M-A Ruel
10 years, 3 months ago (2010-09-02 14:00:56 UTC) #4
lgtm with nit

http://codereview.chromium.org/3304007/diff/6001/7002
File depot_tools/tests/gclient_smoketest.py (right):

http://codereview.chromium.org/3304007/diff/6001/7002#newcode155
depot_tools/tests/gclient_smoketest.py:155: os.rmdir(other_src)
lines 155-157 aren't necessary either, tearDown() cleans off the temporary
directory. Isn't it awesome? :)

Powered by Google App Engine
This is Rietveld 408576698