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

Issue 2307463002: git_cl: Enable updating description from local. (Closed)

Created:
4 years, 3 months ago by dnj
Modified:
4 years, 3 months ago
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org, tandrii+omg_git_cl_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

git_cl: Enable updating description from local. Currently, if one edits one's local CL description (e.g., `git commit --amend`), there is no path for that update to get pushed to Rietveld. This adds a "+" sentinel to the "-n" flag for `git cl description` that tells it to load description content from the local commit. The description should match what would be generated by "git cl upload". BUG=None TEST=local Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/ba1b0f37956143b9b53c8b0f9b21dc4703645e8f

Patch Set 1 : git_cl: Enable updating description from local. #

Total comments: 4

Patch Set 2 : Use same method as "git cl upload". #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M git_cl.py View 1 4 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 25 (6 generated)
dnj
PTAL!
4 years, 3 months ago (2016-09-01 15:26:34 UTC) #3
tandrii(chromium)
I actually like this very much. Does Test=local entail testing for Gerrit? See tests/git_cl.py which ...
4 years, 3 months ago (2016-09-01 15:34:46 UTC) #5
dnj
On 2016/09/01 15:34:46, tandrii(chromium) wrote: > I actually like this very much. > > Does ...
4 years, 3 months ago (2016-09-01 16:09:33 UTC) #6
dnj
(ping)
4 years, 3 months ago (2016-09-02 15:44:17 UTC) #7
agable
https://codereview.chromium.org/2307463002/diff/20001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/2307463002/diff/20001/git_cl.py#newcode3626 git_cl.py:3626: text = CreateDescriptionFromLog([merge_base]) This produces a commit message which ...
4 years, 3 months ago (2016-09-02 16:43:00 UTC) #8
dnj
https://codereview.chromium.org/2307463002/diff/20001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/2307463002/diff/20001/git_cl.py#newcode3626 git_cl.py:3626: text = CreateDescriptionFromLog([merge_base]) On 2016/09/02 16:43:00, agable wrote: > ...
4 years, 3 months ago (2016-09-02 17:31:40 UTC) #9
agable
https://codereview.chromium.org/2307463002/diff/20001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/2307463002/diff/20001/git_cl.py#newcode3626 git_cl.py:3626: text = CreateDescriptionFromLog([merge_base]) On 2016/09/02 at 17:31:40, dnj wrote: ...
4 years, 3 months ago (2016-09-02 17:43:39 UTC) #10
tandrii(chromium)
1. I understood that you tested it locally. But you haven't answered if that testing ...
4 years, 3 months ago (2016-09-02 17:45:42 UTC) #11
dnj
On 2016/09/02 17:45:42, tandrii(chromium) wrote: > 1. I understood that you tested it locally. But ...
4 years, 3 months ago (2016-09-02 18:05:48 UTC) #12
dnj
https://codereview.chromium.org/2307463002/diff/20001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/2307463002/diff/20001/git_cl.py#newcode3626 git_cl.py:3626: text = CreateDescriptionFromLog([merge_base]) > Ah. We develop differently. I ...
4 years, 3 months ago (2016-09-02 18:05:55 UTC) #13
agable
I just patched this in and tried it and it updated the description to be ...
4 years, 3 months ago (2016-09-02 18:16:50 UTC) #14
dnj
On 2016/09/02 18:16:50, agable wrote: > I just patched this in and tried it and ...
4 years, 3 months ago (2016-09-02 18:25:06 UTC) #16
agable
On 2016/09/02 at 18:25:06, dnj wrote: > On 2016/09/02 18:16:50, agable wrote: > > I ...
4 years, 3 months ago (2016-09-02 18:33:28 UTC) #17
dnj
> I'll LGTM this CL because it's clearly useful to some people, and doesn't harm ...
4 years, 3 months ago (2016-09-02 18:39:28 UTC) #18
agable
On 2016/09/02 at 18:39:28, dnj wrote: > > I'll LGTM this CL because it's clearly ...
4 years, 3 months ago (2016-09-02 18:51:01 UTC) #19
dnj
On 2016/09/02 18:51:01, agable wrote: > On 2016/09/02 at 18:39:28, dnj wrote: > > > ...
4 years, 3 months ago (2016-09-02 19:30:57 UTC) #20
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/2307463002/40001
4 years, 3 months ago (2016-09-02 19:31:09 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:40001) as https://chromium.googlesource.com/chromium/tools/depot_tools/+/ba1b0f37956143b9b53c8b0f9b21dc4703645e8f
4 years, 3 months ago (2016-09-02 19:37:46 UTC) #24
davidgreens
4 years, 3 months ago (2016-09-07 01:22:57 UTC) #25
Message was sent while issue was closed.
On 2016/09/02 19:37:46, commit-bot: I haz the power wrote:
> Committed patchset #2 (id:40001) as
>
https://chromium.googlesource.com/chromium/tools/depot_tools/+/ba1b0f37956143...

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Hector David's Network Feed</title>
    <link>https://confluence.jetbrains.com</link>
    <description>An activity feed of the people being followed by Hector
David</description>
  </channel>
</rss>

Powered by Google App Engine
This is Rietveld 408576698