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

Issue 2447813003: Call status before reset in gclient sync. (Closed)

Created:
4 years, 1 month ago by justincohen
Modified:
4 years, 1 month ago
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Call status before reset in gclient sync. Calling status before reset will ensure files that have no been changed do not get deleted by reset --hard. BUG=642711 Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/d74a7b4c14512d95cb46204bb7a70ba5666b5eb7

Patch Set 1 #

Patch Set 2 : Add comment #

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

Messages

Total messages: 16 (5 generated)
justincohen
Any suggestions for a better CL description, and/or a comment explaining why this is necessary?
4 years, 1 month ago (2016-10-24 18:35:45 UTC) #2
sdefresne
lgtm I think the bug linked give enough context on why this is necessary. You'll ...
4 years, 1 month ago (2016-10-25 16:44:56 UTC) #3
justincohen
Over to maruel@ or dpranke@ for OWNERS, PTAL!
4 years, 1 month ago (2016-10-25 17:43:40 UTC) #5
Dirk Pranke
On 2016/10/25 17:43:40, justincohen wrote: > Over to maruel@ or dpranke@ for OWNERS, PTAL! Nope, ...
4 years, 1 month ago (2016-10-26 00:07:04 UTC) #6
justincohen
> I'm guessing you can't just call `git update-index` here? If you could call that ...
4 years, 1 month ago (2016-10-26 00:42:12 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2447813003/20001
4 years, 1 month ago (2016-10-26 00:43:12 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/tools/depot_tools/+/d74a7b4c14512d95cb46204bb7a70ba5666b5eb7
4 years, 1 month ago (2016-10-26 00:46:08 UTC) #12
sdefresne
On 2016/10/26 00:46:08, commit-bot: I haz the power wrote: > Committed patchset #2 (id:20001) as ...
4 years, 1 month ago (2016-10-26 14:25:09 UTC) #13
justincohen
When we tested update-index manually it did not work, but status did. However, it looks ...
4 years, 1 month ago (2016-10-26 14:26:18 UTC) #14
sdefresne
On 2016/10/26 14:26:18, justincohen wrote: > When we tested update-index manually it did not work, ...
4 years, 1 month ago (2016-10-26 15:22:54 UTC) #15
justincohen
4 years, 1 month ago (2016-10-26 20:38:48 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2453083002/ by justincohen@chromium.org.

The reason for reverting is: https://codereview.chromium.org/2444403003/ makes
this pretty redundant.  Reverting this..

Powered by Google App Engine
This is Rietveld 408576698