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

Issue 244253007: Fix gclient to correctly check out remote refs during update. (Closed)

Created:
6 years, 8 months ago by agable
Modified:
6 years, 8 months ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Visibility:
Public.

Description

Fix gclient to correctly check out remote refs during update. Currently, any bot run with "--revision=project@origin/master" fails, because it fetches the remote ref into refs/remotes/origin/master, but then checks out refs/heads/master, which hasn't been rolled forward. This is very similar to the bug fixed by https://codereview.chromium.org/85473007 However, I am very wary of this patch, because I am worried about changing something commented with " For compatibility...". Marc-Antoine, please comment. R=maruel@chromium.org, smut@chromium.org, stip@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=266251

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M gclient_scm.py View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
agable
6 years, 8 months ago (2014-04-21 21:23:30 UTC) #1
ghost stip (do not use)
https://chromiumcodereview.appspot.com/244253007/diff/1/gclient_scm.py File gclient_scm.py (right): https://chromiumcodereview.appspot.com/244253007/diff/1/gclient_scm.py#newcode344 gclient_scm.py:344: # For compatibility with old naming, translate 'origin' to ...
6 years, 8 months ago (2014-04-21 21:26:57 UTC) #2
smut
lgtm https://codereview.chromium.org/244253007/diff/1/gclient_scm.py File gclient_scm.py (right): https://codereview.chromium.org/244253007/diff/1/gclient_scm.py#newcode344 gclient_scm.py:344: # For compatibility with old naming, translate 'origin' ...
6 years, 8 months ago (2014-04-21 21:28:43 UTC) #3
agable
https://chromiumcodereview.appspot.com/244253007/diff/1/gclient_scm.py File gclient_scm.py (right): https://chromiumcodereview.appspot.com/244253007/diff/1/gclient_scm.py#newcode344 gclient_scm.py:344: # For compatibility with old naming, translate 'origin' to ...
6 years, 8 months ago (2014-04-21 21:31:22 UTC) #4
Marc-Antoine Ruel (Google)
I miss background details here. Why is specifying a remote ref useful for --revision?
6 years, 8 months ago (2014-04-22 13:24:07 UTC) #5
pgervais
On 2014/04/22 13:24:07, Marc-Antoine Ruel (Google) wrote: > I miss background details here. Why is ...
6 years, 8 months ago (2014-04-23 00:10:46 UTC) #6
M-A Ruel
On 2014/04/23 00:10:46, pgervais wrote: > On 2014/04/22 13:24:07, Marc-Antoine Ruel (Google) wrote: > > ...
6 years, 8 months ago (2014-04-23 00:24:27 UTC) #7
agable
On 2014/04/23 00:24:27, M-A Ruel wrote: > On 2014/04/23 00:10:46, pgervais wrote: > > On ...
6 years, 8 months ago (2014-04-23 19:52:33 UTC) #8
agable
On 2014/04/23 19:52:33, agable wrote: > On 2014/04/23 00:24:27, M-A Ruel wrote: > > On ...
6 years, 8 months ago (2014-04-24 22:04:44 UTC) #9
M-A Ruel
On 2014/04/24 22:04:44, agable wrote: > Ping. Alternatively, this can not land in favor of ...
6 years, 8 months ago (2014-04-25 12:57:54 UTC) #10
agable
The CQ bit was checked by agable@chromium.org
6 years, 8 months ago (2014-04-25 21:39:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agable@chromium.org/244253007/20001
6 years, 8 months ago (2014-04-25 21:41:04 UTC) #12
commit-bot: I haz the power
6 years, 8 months ago (2014-04-25 21:43:42 UTC) #13
Message was sent while issue was closed.
Change committed as 266251

Powered by Google App Engine
This is Rietveld 408576698