add revision to scheduleBuild call for git cl try if needed.

Bug: 1043877
Change-Id: I5363dc1ad7f6b7e0ce9ce9885c86e357c3c65339
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2016162
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Commit-Queue: Anthony Polito <apolito@google.com>
diff --git a/git_cl.py b/git_cl.py
index e0c8257..b41a5ee 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -528,6 +528,14 @@
               ] + shared_tags,
           }
       })
+
+      if options.revision:
+        requests[-1]['scheduleBuild']['gitilesCommit'] = {
+            'host': gerrit_changes[0]['host'],
+            'project': gerrit_changes[0]['project'],
+            'id': options.revision
+         }
+
   return requests