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
experimental/szager/collated-output
rogerta@chromium.org 12 years ago
parent fdcecadb9c
commit 43e34f0ba8

@ -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()

Loading…
Cancel
Save