Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: git_common.py

Issue 521583008: Fix transient error regexes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_common.py
diff --git a/git_common.py b/git_common.py
index 4a430c609cbec773edeba785729e30591f857dcc..64a385ba1e7f5e1968cdaad66b4921de9b76a0cc 100644
--- a/git_common.py
+++ b/git_common.py
@@ -52,13 +52,13 @@ FREEZE_MATCHER = re.compile(r'%s.(%s)' % (FREEZE, '|'.join(FREEZE_SECTIONS)))
# It was last imported from '7add3ac29564d98ac35ce426bc295e743e7c0c02'.
GIT_TRANSIENT_ERRORS = (
# crbug.com/285832
- r'! \[remote rejected\].*\(error in hook\)',
+ r'!.*\[remote rejected\].*\(error in hook\)',
# crbug.com/289932
- r'! \[remote rejected\].*\(failed to lock\)',
+ r'!.*\[remote rejected\].*\(failed to lock\)',
# crbug.com/307156
- r'! \[remote rejected\].*\(error in Gerrit backend\)',
+ r'!.*\[remote rejected\].*\(error in Gerrit backend\)',
# crbug.com/285832
r'remote error: Internal Server Error',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698