Commit f61fc930 authored by maruel@chromium.org's avatar maruel@chromium.org

Fix retrying on HTTP 502, my last patch remove this specific case.

svn's client uses a different error format for HTTP 502 and I didn't recall how
the string was formatted. Luckily enough googlecode fails often enough it wasn't
long for me to reproduce the issue. :)

TBR=bradnelson

Review URL: http://codereview.chromium.org/3143030

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@56675 0039d316-1c4b-4281-b951-d872f2087c98
parent 3294f52e
...@@ -451,7 +451,8 @@ class SVN(object): ...@@ -451,7 +451,8 @@ class SVN(object):
if (x.startswith('svn: OPTIONS of') or if (x.startswith('svn: OPTIONS of') or
x.startswith('svn: PROPFIND of') or x.startswith('svn: PROPFIND of') or
x.startswith('svn: REPORT of') or x.startswith('svn: REPORT of') or
x.startswith('svn: Unknown hostname')): x.startswith('svn: Unknown hostname') or
x.startswith('svn: Server sent unexpected return value')):
return True return True
return False return False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment