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

Unified Diff: buildbot/cbuildbot_commands.py

Issue 6771036: Change RepoSync to use -j4 option. Add tests to check for retries. (Closed) Base URL: http://git.chromium.org/git/chromite.git@master
Patch Set: Add custom-retry-pass test and comments. Fix line length. Created 9 years, 9 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 | buildbot/cbuildbot_commands_unittest.py » ('j') | buildbot/cbuildbot_commands_unittest.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: buildbot/cbuildbot_commands.py
diff --git a/buildbot/cbuildbot_commands.py b/buildbot/cbuildbot_commands.py
index b732f658c7b90b72099695375290916e7fdbf610..08fc5ac29ecef7b88d4aaeb3197bdcd49349aa77 100644
--- a/buildbot/cbuildbot_commands.py
+++ b/buildbot/cbuildbot_commands.py
@@ -53,7 +53,7 @@ def _RepoSync(buildroot, retries=_DEFAULT_RETRIES):
"""
while retries > 0:
try:
- cros_lib.OldRunCommand(['repo', 'sync', '-q'], cwd=buildroot)
+ cros_lib.OldRunCommand(['repo', 'sync', '-q', '-j', '4'], cwd=buildroot)
sosa 2011/04/01 20:23:41 can you change these short names to use long names
rcui1 2011/04/01 20:44:08 Done.
cros_lib.OldRunCommand(
['repo',
'forall',
« no previous file with comments | « no previous file | buildbot/cbuildbot_commands_unittest.py » ('j') | buildbot/cbuildbot_commands_unittest.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698