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

Issue 3342020: 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=gclient_smoketest.py Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=58800

Patch Set 1 #

Total comments: 11

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -1 line) Patch
M depot_tools/gclient_utils.py View 1 2 3 1 chunk +28 lines, -1 line 0 comments Download
M depot_tools/tests/gclient_smoketest.py View 1 2 2 chunks +55 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jochen (gone - plz use gerrit)
please review. Added another test case. I'm relying on .gclient_entries this time. Doing the change ...
10 years, 3 months ago (2010-09-07 10:09:21 UTC) #1
M-A Ruel
http://codereview.chromium.org/3342020/diff/1/2 File depot_tools/gclient_utils.py (right): http://codereview.chromium.org/3342020/diff/1/2#newcode352 depot_tools/gclient_utils.py:352: return None ? .gclient_entries is not created when gclient ...
10 years, 3 months ago (2010-09-07 13:00:58 UTC) #2
jochen (gone - plz use gerrit)
http://codereview.chromium.org/3342020/diff/1/2 File depot_tools/gclient_utils.py (right): http://codereview.chromium.org/3342020/diff/1/2#newcode352 depot_tools/gclient_utils.py:352: return None An initial sync is always done in ...
10 years, 3 months ago (2010-09-07 13:58:27 UTC) #3
M-A Ruel
http://codereview.chromium.org/3342020/diff/1/2 File depot_tools/gclient_utils.py (right): http://codereview.chromium.org/3342020/diff/1/2#newcode352 depot_tools/gclient_utils.py:352: return None On 2010/09/07 13:58:27, jochen wrote: > An ...
10 years, 3 months ago (2010-09-07 14:05:06 UTC) #4
jochen (gone - plz use gerrit)
please review
10 years, 3 months ago (2010-09-07 16:50:19 UTC) #5
M-A Ruel
10 years, 3 months ago (2010-09-07 18:56:28 UTC) #6
lgtm with one small nit

http://codereview.chromium.org/3342020/diff/11001/5002
File depot_tools/gclient_utils.py (right):

http://codereview.chromium.org/3342020/diff/11001/5002#newcode356
depot_tools/gclient_utils.py:356: logging.warning("%s file in parent directory
%s might not be the file"
I think it's better to print >> sys.stderr

Powered by Google App Engine
This is Rietveld 408576698