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

Issue 165070: Make gclient pass correct relative paths to the hooks. (Closed)

Created:
11 years, 4 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews_googlegroups.com, M-A Ruel
Visibility:
Public.

Description

Make gclient pass correct relative paths to the hooks. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23026

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Total comments: 1

Patch Set 5 : '' #

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

Messages

Total messages: 6 (0 generated)
Paweł Hajdan Jr.
11 years, 4 months ago (2009-08-06 18:44:41 UTC) #1
Paweł Hajdan Jr.
patch updated
11 years, 4 months ago (2009-08-06 19:19:08 UTC) #2
M-A Ruel
http://codereview.chromium.org/165070/diff/4/5 File gclient.py (right): http://codereview.chromium.org/165070/diff/4/5#newcode935 Line 935: command = ['status', self.relpath] I'm not sure about ...
11 years, 4 months ago (2009-08-06 19:25:55 UTC) #3
Paweł Hajdan Jr.
Please review. This patch does everything I want to the paths.
11 years, 4 months ago (2009-08-06 21:44:00 UTC) #4
M-A Ruel
http://codereview.chromium.org/165070/diff/9/1008 File gclient.py (right): http://codereview.chromium.org/165070/diff/9/1008#newcode1375 Line 1375: if not os.path.isabs(file_list[i]): That should be deterministic.
11 years, 4 months ago (2009-08-06 22:53:29 UTC) #5
M-A Ruel
11 years, 4 months ago (2009-08-10 15:58:12 UTC) #6
lgtm with the comment

http://codereview.chromium.org/165070/diff/9/1008
File gclient.py (right):

http://codereview.chromium.org/165070/diff/9/1008#newcode1375
Line 1375: if not os.path.isabs(file_list[i]):
On 2009/08/06 22:53:29, Marc-Antoine Ruel wrote:
> That should be deterministic.

Just add a #TODO(you): Make it deterministic to be always absolute paths with
runhooks and status.

Powered by Google App Engine
This is Rietveld 408576698