Added transient 502 errors to 'git_retry' list.
BUG=chromium:430343
TEST=None
Review URL: https://codereview.chromium.org/701843004
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@292868 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/git_common.py b/git_common.py
index 7f2e13b..946a39d 100644
--- a/git_common.py
+++ b/git_common.py
@@ -81,11 +81,12 @@
# crbug.com/187444
r'RPC failed; result=\d+, HTTP code = \d+',
- # crbug.com/315421
- r'The requested URL returned error: 500 while accessing',
-
# crbug.com/388876
r'Connection timed out',
+
+ # crbug.com/430343
+ # TODO(dnj): Resync with Chromite.
+ r'The requested URL returned error: 5\d+',
)
GIT_TRANSIENT_ERRORS_RE = re.compile('|'.join(GIT_TRANSIENT_ERRORS),