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

Issue 12616006: Revert 186598 (Closed)

Created:
7 years, 9 months ago by kjellander_chromium
Modified:
7 years, 9 months ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, szager1
Visibility:
Public.

Description

Revert 186598 ("Add option to automatically fetch git "branch-heads".") Some SVN-only trybots get errors when running gclient revert with this change. I assume it's because the flag is not present for the gclient revert command, and that the code checking if options.with_branch_heads is set is common to both revert and sync. BUG=none TEST=reverted locally and gclient revert worked again. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=186967

Patch Set 1 #

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

Messages

Total messages: 8 (0 generated)
kjellander_chromium
This change broke some of our WebRTC try bots. These bots have two solutions in ...
7 years, 9 months ago (2013-03-08 15:13:33 UTC) #1
M-A Ruel
lgtm
7 years, 9 months ago (2013-03-08 15:16:55 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kjellander@chromium.org/12616006/1
7 years, 9 months ago (2013-03-08 15:17:00 UTC) #3
commit-bot: I haz the power
Change committed as 186967
7 years, 9 months ago (2013-03-08 15:19:40 UTC) #4
Michael Moss
On 2013/03/08 15:19:40, I haz the power (commit-bot) wrote: > Change committed as 186967 Is ...
7 years, 9 months ago (2013-03-08 16:30:17 UTC) #5
Michael Moss
In fact, it seems like a better "nuclear option to get back to a 'clean' ...
7 years, 9 months ago (2013-03-08 16:44:32 UTC) #6
M-A Ruel
I wasn't happy with --reset being added either. I'm fine with replacing gclient revert with ...
7 years, 9 months ago (2013-03-08 16:51:48 UTC) #7
iannucci1
7 years, 9 months ago (2013-03-08 19:44:27 UTC) #8
Don't forget about git clean -xf :-)


On Fri, Mar 8, 2013 at 8:51 AM, Marc-Antoine Ruel <maruel@chromium.org>wrote:

> I wasn't happy with --reset being added either. I'm fine with replacing
> gclient revert with gclient sync --reset.
>
> M-A
>
>
>
> 2013/3/8 Michael Moss <mmoss@chromium.org>
>
>> In fact, it seems like a better "nuclear option to get back to a 'clean'
>> state" for git would be to run the normal 'sync' command, but with the
>> "--reset --force --delete_unversioned_trees" flags. That's actually what
>> the official builders do. Maybe 'gclient revert' needs to be svn-only?
>>
>>
>> On Fri, Mar 8, 2013 at 8:30 AM, <mmoss@chromium.org> wrote:
>>
>>> On 2013/03/08 15:19:40, I haz the power (commit-bot) wrote:
>>>
>>>> Change committed as 186967
>>>>
>>>
>>> Is anyone concerned that 'revert' flows through update() like this? Can
>>> we
>>> really claim that it's properly reverting local modifications if it's
>>> potentially updating/cloning projects without using the parameters that
>>> were
>>> originally passed to 'sync'? Missing flags like --revision or --head
>>> could cause
>>> revert to checkout wildly different sources than originally specified.
>>>
>>>
https://codereview.chromium.**org/12616006/<https://codereview.chromium.org/1...
>>>
>>
>>
>

Powered by Google App Engine
This is Rietveld 408576698