From 3fb3fcd9a136bbbc0f440ba8c18a5b05b388ff1d Mon Sep 17 00:00:00 2001 From: "nodir@chromium.org" Date: Tue, 13 May 2014 04:15:28 +0000 Subject: [PATCH] Renamed Tryjob label to Tryjob-Request Some users interpreted Tryjob=+1 as "passed a try job", so renaming this one Assuming will never rename again. R=kmg@chromium.org BUG=369665 Review URL: https://codereview.chromium.org/275383003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@270011 0039d316-1c4b-4281-b951-d872f2087c98 --- trychange.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trychange.py b/trychange.py index 7ad2fa126..ac8b8ecd0 100755 --- a/trychange.py +++ b/trychange.py @@ -722,7 +722,7 @@ def _SendChangeGerrit(bot_spec, options): Reads Change-Id from the HEAD commit, resolves the current revision, checks that local revision matches the uploaded one, posts a try job in form of a - message, sets Tryjob label to 1. + message, sets Tryjob-Request label to 1. Gerrit message format: starts with !tryjob, optionally followed by a tryjob definition in JSON format: @@ -768,7 +768,7 @@ def _SendChangeGerrit(bot_spec, options): # Post a message and set TryJob=1 label. try: gerrit_util.SetReview(gerrit_host, change_id, msg=message, - labels={'Tryjob': 1}) + labels={'Tryjob-Request': 1}) except gerrit_util.GerritError, e: if e.http_status == 400: raise Error(e.reason)