Revert 119066 until we have consensus.
TBR=ben
Review URL: https://chromiumcodereview.appspot.com/9298002
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@119353 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py
index 3dc1b45..8b46eba 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -201,10 +201,12 @@
@staticmethod
def _cmd_line(description, args):
"""Returns the upload command line passed to upload.RealMain()."""
+ msg = description.split('\n', 1)[0]
return [
'upload', '--assume_yes', '--server',
'https://codereview.example.com',
- '--message', description
+ '--message', msg,
+ '--description', description
] + args + [
'--cc', 'joe@example.com',
'master...'