Commit 43e34f0b authored by rogerta@chromium.org's avatar rogerta@chromium.org

Make sure to use title if specified as default message when uploading an issue

to rietveld for the first time.  This came up in a discussion with Nico about
changing -m for -t in the git cl upload command.

BUG=None

Review URL: https://chromiumcodereview.appspot.com/12965015

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@190399 0039d316-1c4b-4281-b951-d872f2087c98
parent fdcecadb
......@@ -1155,7 +1155,7 @@ def RietveldUpload(options, args, cl):
else:
if options.title:
upload_args.extend(['--title', options.title])
message = options.message or CreateDescriptionFromLog(args)
message = options.title or options.message or CreateDescriptionFromLog(args)
change_desc = ChangeDescription(message, options.reviewers)
if not options.force:
change_desc.Prompt()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment