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
diff --git a/trychange.py b/trychange.py
index 7ad2fa1..ac8b8ec 100755
--- a/trychange.py
+++ b/trychange.py
@@ -722,7 +722,7 @@
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 @@
# 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)