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

Issue 2324513003: Propagate use_relative_paths into recursedeps (Closed)

Created:
4 years, 3 months ago by agable
Modified:
4 years, 3 months ago
Reviewers:
iannucci, M-A Ruel
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Propagate use_relative_paths into recursedeps Currently, if a DEPS file sets use_relative_paths, but *also* sets recursedeps, then the recursed-upon DEPS files still get checked out relative to the .gclient root. This change makes it so that recursed-upon DEPS files check their dependencies out relative to where their parent wants them to be, if that parent sets use_relative_paths=True. R=maruel@chromium.org Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/dce6ddcd21d71688aed5fd10b7cb1216275639ef

Patch Set 1 #

Patch Set 2 : Add/fix test for recursion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -37 lines) Patch
M gclient.py View 7 chunks +28 lines, -10 lines 0 comments Download
M tests/gclient_test.py View 1 5 chunks +62 lines, -27 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (3 generated)
agable
4 years, 3 months ago (2016-09-07 19:01:10 UTC) #1
iannucci
oof.... lgtm. When can we start deleting code?
4 years, 3 months ago (2016-09-07 19:08:21 UTC) #3
M-A Ruel
This is quite a core functionality change, has no test and there are no use ...
4 years, 3 months ago (2016-09-07 19:10:20 UTC) #4
agable
Use case is in an email thread on chrome-infra@. If you have a DEPS file ...
4 years, 3 months ago (2016-09-07 19:40:49 UTC) #5
agable
Also, there's only one file which this *could* affect in chromium/src: $ cd src $ ...
4 years, 3 months ago (2016-09-07 19:56:20 UTC) #6
agable
Just uploaded a new patchset which introduces a new test. It turns out that we ...
4 years, 3 months ago (2016-09-07 22:35:02 UTC) #7
M-A Ruel
lgtm
4 years, 3 months ago (2016-09-07 23:52:50 UTC) #8
iannucci
thanks for adding a test... I was dumb for not asking :( lgtm
4 years, 3 months ago (2016-09-08 00:01:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2324513003/20001
4 years, 3 months ago (2016-09-08 16:59:18 UTC) #11
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 17:02:20 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/tools/depot_tools/+/dce6ddcd21d716...

Powered by Google App Engine
This is Rietveld 408576698