Update upload.py @ fae51921ad9d
This version of upload.py is slightly less annoying, it won't cancel out if no
patchset title is provided and disable colors all the time.
R=cmp@chromium.org
BUG=
TEST=
Review URL: http://codereview.chromium.org/9233057
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@121826 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py
index ef6fa19..5f3394f 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -210,12 +210,10 @@
@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', msg,
- '--description', description
+ '--message', description
] + args + [
'--cc', 'joe@example.com',
'master...'