From eec3ea35342313c2de986c523d4ef92290948f27 Mon Sep 17 00:00:00 2001 From: "agable@chromium.org" Date: Thu, 15 Aug 2013 20:31:39 +0000 Subject: [PATCH] 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 --- git_cl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git_cl.py b/git_cl.py index 3ee62f6b3a..d833650322 100755 --- a/git_cl.py +++ b/git_cl.py @@ -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: