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

Issue 1693993002: Make git.checkout return the commit hash. (Closed)

Created:
4 years, 10 months ago by iannucci
Modified:
4 years, 10 months ago
Reviewers:
dnj, luqui, martiniss, hinoka
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove set_got_revision option #

Patch Set 3 : Always run rev-parse, still keep got_revision option' #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -15 lines) Patch
M recipe_modules/git/api.py View 1 2 3 3 chunks +20 lines, -9 lines 0 comments Download
M recipe_modules/git/example.py View 1 2 3 3 chunks +6 lines, -5 lines 0 comments Download
M recipe_modules/git/example.expected/basic.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/basic_branch.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/basic_file_name.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/basic_hash.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/basic_ref.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/basic_submodule_update_force.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/can_fail_build.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/cannot_fail_build.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/cat-file_test.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/count-objects_delta.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/count-objects_failed.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/count-objects_with_bad_output.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/count-objects_with_bad_output_fails_build.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/curl_trace_file.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/platform_win.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/rebase_failed.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M recipe_modules/git/example.expected/remote_not_origin.json View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
D recipe_modules/git/example.expected/set_got_revision.json View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 19 (5 generated)
iannucci
4 years, 10 months ago (2016-02-12 21:52:34 UTC) #1
iannucci
PTAL Question: is returning just the bare hash good? Or should it e.g. return a ...
4 years, 10 months ago (2016-02-12 21:54:08 UTC) #2
dnj
https://codereview.chromium.org/1693993002/diff/1/recipe_modules/git/api.py File recipe_modules/git/api.py (right): https://codereview.chromium.org/1693993002/diff/1/recipe_modules/git/api.py#newcode144 recipe_modules/git/api.py:144: Returns: If set_got_revision is True and the checkout was ...
4 years, 10 months ago (2016-02-12 21:54:45 UTC) #3
iannucci
On 2016/02/12 21:54:45, dnj wrote: > https://codereview.chromium.org/1693993002/diff/1/recipe_modules/git/api.py > File recipe_modules/git/api.py (right): > > https://codereview.chromium.org/1693993002/diff/1/recipe_modules/git/api.py#newcode144 > ...
4 years, 10 months ago (2016-02-12 21:55:11 UTC) #4
iannucci
On 2016/02/12 21:55:11, iannucci wrote: > On 2016/02/12 21:54:45, dnj wrote: > > https://codereview.chromium.org/1693993002/diff/1/recipe_modules/git/api.py > ...
4 years, 10 months ago (2016-02-12 21:55:40 UTC) #5
dnj
On 2016/02/12 21:55:40, iannucci wrote: > On 2016/02/12 21:55:11, iannucci wrote: > > On 2016/02/12 ...
4 years, 10 months ago (2016-02-12 21:56:51 UTC) #6
iannucci
On 2016/02/12 21:56:51, dnj wrote: > On 2016/02/12 21:55:40, iannucci wrote: > > On 2016/02/12 ...
4 years, 10 months ago (2016-02-12 22:01:05 UTC) #7
iannucci
PTAL
4 years, 10 months ago (2016-02-12 22:07:05 UTC) #8
iannucci
PTAL
4 years, 10 months ago (2016-02-12 22:17:11 UTC) #9
dnj
lgtm
4 years, 10 months ago (2016-02-12 22:21:54 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1693993002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1693993002/40001
4 years, 10 months ago (2016-02-12 22:38:39 UTC) #13
iannucci
Downstream impact for build: https://codereview.chromium.org/1693713005
4 years, 10 months ago (2016-02-12 22:57:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1693993002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1693993002/60001
4 years, 10 months ago (2016-02-12 23:01:30 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2016-02-12 23:03:39 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=298774

Powered by Google App Engine
This is Rietveld 408576698