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

Issue 18006002: Add --upstream option to gclient to scrape git checkouts back to upstream state. (Closed)

Created:
7 years, 5 months ago by iannucci
Modified:
7 years, 5 months ago
Reviewers:
Dirk Pranke, szager1
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org
Visibility:
Public.

Description

Add --upstream option to gclient to scrape git checkouts back to upstream state. This will be used on the bots when calling apply_patch, which commits to git repos. R=dpranke@chromium.org,szager@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=209040

Patch Set 1 #

Total comments: 4

Patch Set 2 : Take 2 #

Patch Set 3 : upstream not nuclear #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M gclient.py View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M gclient_scm.py View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M tests/gclient_scm_test.py View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
iannucci
7 years, 5 months ago (2013-06-27 04:02:29 UTC) #1
Dirk Pranke
Most of my comments can be summarized as "why remote repo instead of upstream branch" ...
7 years, 5 months ago (2013-06-27 19:57:51 UTC) #2
iannucci
Yup you're totally right. I'm not sure if '{u}' will work in gclient crazy-land, but ...
7 years, 5 months ago (2013-06-27 22:56:51 UTC) #3
Dirk Pranke
LGTM, except that now that things are nice and simple, I'd probably rename this to ...
7 years, 5 months ago (2013-06-28 00:16:57 UTC) #4
iannucci
On 2013/06/28 00:16:57, Dirk Pranke wrote: > LGTM, except that now that things are nice ...
7 years, 5 months ago (2013-06-28 00:28:41 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iannucci@chromium.org/18006002/8001
7 years, 5 months ago (2013-06-28 00:33:44 UTC) #6
commit-bot: I haz the power
Change committed as 209040
7 years, 5 months ago (2013-06-28 00:35:27 UTC) #7
M-A Ruel
On 2013/06/28 00:35:27, I haz the power (commit-bot) wrote: > Change committed as 209040 Why ...
7 years, 5 months ago (2013-07-08 19:13:02 UTC) #8
iannucci
7 years, 5 months ago (2013-07-08 20:22:25 UTC) #9
Message was sent while issue was closed.
On 2013/07/08 19:13:02, Marc-Antoine Ruel wrote:
> On 2013/06/28 00:35:27, I haz the power (commit-bot) wrote:
> > Change committed as 209040
> 
> Why not
> --upstream == --reset --force ?

Because --reset resets to HEAD, which is wrong.

Powered by Google App Engine
This is Rietveld 408576698