Index: tools/push-to-trunk/push_to_trunk.py |
diff --git a/tools/push-to-trunk/push_to_trunk.py b/tools/push-to-trunk/push_to_trunk.py |
index d78aacbd2b6202170335fb8069fa9ea0858eddd9..cee871fc6e478c403ea6cc78d5ac9f8138e3e515 100755 |
--- a/tools/push-to-trunk/push_to_trunk.py |
+++ b/tools/push-to-trunk/push_to_trunk.py |
@@ -102,7 +102,9 @@ class PrepareChangeLog(Step): |
if match: |
cl_url = "https://codereview.chromium.org/%s/description" % match.group(1) |
try: |
- body = self.ReadURL(cl_url) |
+ # Fetch from Rietveld but only retry once with one second delay since |
+ # there might be many revisions. |
+ body = self.ReadURL(cl_url, wait_plan=[1]) |
except urllib2.URLError: |
pass |
return body |