Hi all,
Summary
The meaning of -m/--message will soon change from "set patchset title"
to "publish a review message and send email" as if you were using the
Publish+Mail Comments form on rietveld. The new way to set the
patchset title is to use -t/--title. Please start using -t now instead
of -m.
Long version
Last week I merged upstream changes from rietveld's default branch
into the chromium branch which changed the interpretation of the
-m/--message command line arguments, see
http://codereview.appspot.com/6139060/ for complete details. Before
this change was merged, you could use the -m/--message command line
argument to set the title of a patchset when uploading to an existing
issue. After this change, the -m/--message argument is used instead
to publish a review request message to the issue. This merge did not
affect uploading to a new issue.
The result is that using commands like:
gcl upload foo -m title
git cl upload -m title
now sets the title of the patchset, publishes a review message to the
issue, and sends an email email to reviewers/cc.
For now, I have hacked gcl.py and git_cl.py to map the -m/--message to
-t/--title, so you don't need to change anything. (This will be
committed shortly, sorry for any inconvenience this has caused you).
Both -m/--message and -t/--title will do the same thing when
uploading. In the long term though, to keep gcl/git cl upload from
diverging from rietveld's upload.py, and to make sure we can support
publishing a review message at the same time as patchset upload, this
hack will be removed.
My plan is to leave both command line arguments in place for the next
month or so, to let everyone get their muscle memory of typing t
instead of m, and to update any personal scripts you might have. After
that, the command line arguments will be interpreted the same way as
upload.py:
-t --title TITLE New issue subject or new patch set title
-m --message MESSAGE New issue description or new patch set message
Let me know if you have any questions.
Thanks,
Roger