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

Issue 434061: gcl: add a new flag '-c' that stands for 'contributor'.... (Closed)

Created:
11 years, 1 month ago by tfarina (gmail-do not use)
Modified:
9 years, 7 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

gcl: add a new flag '-c' that stands for 'contributor'. This flag adds a single line 'Patch from' into the commit message. This can help the committer when he is committing a change for an external contributor. git cl already has this option with 'git cl dcommit -c contributor-name' BUG=None TEST=None

Patch Set 1 : '' #

Patch Set 2 : draft of test #

Total comments: 2

Patch Set 3 : following marc comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -0 lines) Patch
M gcl.py View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M tests/gcl_unittest.py View 2 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
M-A Ruel
http://codereview.chromium.org/434061/diff/5001/5002 File gcl.py (right): http://codereview.chromium.org/434061/diff/5001/5002#newcode925 gcl.py:925: parser.add_option('-c', dest='contributor', parser.add_option('-c', '--contributor', is more useful. http://codereview.chromium.org/434061/diff/5001/5003 File ...
11 years ago (2009-11-27 16:17:51 UTC) #1
M-A Ruel
On 2009/11/27 16:17:51, Marc-Antoine Ruel wrote: > The rest is left as an exercise to ...
11 years ago (2009-12-02 20:58:58 UTC) #2
tfarina (gmail-do not use)
11 years ago (2009-12-02 23:14:38 UTC) #3
On 2009/12/02 20:58:58, Marc-Antoine Ruel wrote:
> On 2009/11/27 16:17:51, Marc-Antoine Ruel wrote:
> > The rest is left as an exercise to the reader. :)
> 
> Did you figure out the mocked function call order?

I didn't try running it yet, but following your pseudo-code, I think it is:
OptionallyDoPresubmitChecks
mkstemp
GetCodeReviewSetting
GetLocalRoot
GetIssueDescription
Delete

Powered by Google App Engine
This is Rietveld 408576698