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

Issue 10384150: When converting -m/--message to -t, make sure to handle the case --message=foo (Closed)

Created:
8 years, 7 months ago by Roger Tawa OOO till Jul 10th
Modified:
8 years, 7 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org, M-A Ruel
Visibility:
Public.

Description

When converting -m/--message to -t, make sure to handle the case --message=foo correctly. Also fix git_cl.py. BUG=None TEST=Make sure that the -m command line option to gcl upload/git cl upload does not add a new message to the rietveld issue. The string associated to the --message argument should only be used as the patchset title. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=136922

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -6 lines) Patch
M gcl.py View 1 2 1 chunk +17 lines, -3 lines 0 comments Download
M git_cl.py View 1 2 3 3 chunks +19 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Roger Tawa OOO till Jul 10th
8 years, 7 months ago (2012-05-14 14:15:11 UTC) #1
M-A Ruel
https://chromiumcodereview.appspot.com/10384150/diff/1/gcl.py File gcl.py (right): https://chromiumcodereview.appspot.com/10384150/diff/1/gcl.py#newcode831 gcl.py:831: if a == '-m': Note that gcl upload foo ...
8 years, 7 months ago (2012-05-14 14:17:38 UTC) #2
Roger Tawa OOO till Jul 10th
Salut MA, please take another look. I also fixed git_cl.py. http://codereview.chromium.org/10384150/diff/1/gcl.py File gcl.py (right): http://codereview.chromium.org/10384150/diff/1/gcl.py#newcode831 ...
8 years, 7 months ago (2012-05-14 16:09:50 UTC) #3
M-A Ruel
http://codereview.chromium.org/10384150/diff/4001/gcl.py File gcl.py (right): http://codereview.chromium.org/10384150/diff/4001/gcl.py#newcode842 gcl.py:842: '\nWARNING: Use -t or --title to set the title ...
8 years, 7 months ago (2012-05-14 16:13:24 UTC) #4
Roger Tawa OOO till Jul 10th
Salut MA, Sent the last patchset a little too early for review. Should be good ...
8 years, 7 months ago (2012-05-14 18:17:02 UTC) #5
M-A Ruel
lgtm http://codereview.chromium.org/10384150/diff/6002/git_cl.py File git_cl.py (right): http://codereview.chromium.org/10384150/diff/6002/git_cl.py#newcode1054 git_cl.py:1054: parser.add_option('-t', dest='title', help='title for patch') s/patch/patchset/ ?
8 years, 7 months ago (2012-05-14 18:20:50 UTC) #6
Roger Tawa OOO till Jul 10th
Thanks MA, http://codereview.chromium.org/10384150/diff/6002/git_cl.py File git_cl.py (right): http://codereview.chromium.org/10384150/diff/6002/git_cl.py#newcode1054 git_cl.py:1054: parser.add_option('-t', dest='title', help='title for patch') On 2012/05/14 ...
8 years, 7 months ago (2012-05-14 18:33:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerta@chromium.org/10384150/8003
8 years, 7 months ago (2012-05-14 18:33:31 UTC) #8
commit-bot: I haz the power
8 years, 7 months ago (2012-05-14 18:41:40 UTC) #9
Change committed as 136922

Powered by Google App Engine
This is Rietveld 408576698