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

Unified Diff: gclient.py

Issue 3336015: Add the infrastructure necessary to support annotated stdout. (Closed)
Patch Set: add progress.update() Created 10 years, 3 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 | gclient_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient.py
diff --git a/gclient.py b/gclient.py
index d7f02091c208f75ad3058820e29636dbd135a6e5..650c25a46ee4a0c2f06b5f9714505c24555a78cb 100644
--- a/gclient.py
+++ b/gclient.py
@@ -334,7 +334,7 @@ class Dependency(GClientKeywords, gclient_utils.WorkItem):
None, should_process))
logging.debug('Loaded: %s' % str(self))
- def run(self, options, revision_overrides, command, args, work_queue):
+ def run(self, revision_overrides, command, args, work_queue, options):
"""Runs 'command' before parsing the DEPS in case it's a initial checkout
or a revert."""
assert self._file_list == []
@@ -720,8 +720,7 @@ solutions = [
work_queue = gclient_utils.ExecutionQueue(self._options.jobs, pm)
for s in self.dependencies:
work_queue.enqueue(s)
- work_queue.flush(self._options, revision_overrides, command, args,
- work_queue)
+ work_queue.flush(revision_overrides, command, args, options=self._options)
# Once all the dependencies have been processed, it's now safe to run the
# hooks.
@@ -765,7 +764,7 @@ solutions = [
work_queue = gclient_utils.ExecutionQueue(self._options.jobs, None)
for s in self.dependencies:
work_queue.enqueue(s)
- work_queue.flush(self._options, {}, None, [], work_queue)
+ work_queue.flush({}, None, [], options=self._options)
def GetURLAndRev(dep):
"""Returns the revision-qualified SCM url for a Dependency."""
« no previous file with comments | « no previous file | gclient_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698