Commit eec3ea35 authored by agable@chromium.org's avatar agable@chromium.org

Pretty-print the CL description during commit.

Having "Description: u'Foo\nBUG=1234\nR=bar@chromium.org\nReview Url: baz'"
is not actually that useful in my experience. I'd rather be able to easily
read the final CL description that is being committed.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@217834 0039d316-1c4b-4281-b951-d872f2087c98
parent c5965bae
......@@ -1668,7 +1668,8 @@ def SendUpstream(parser, args, cmd):
if options.contributor:
commit_desc.append_footer('Patch from %s.' % options.contributor)
print 'Description:', repr(commit_desc.description)
print('Description:')
print(commit_desc.description)
branches = [base_branch, cl.GetBranchRef()]
if not options.force:
......
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