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

Unified Diff: gclient_utils.py

Issue 3497013: Display the name of the repository that is being updated. (Closed)
Patch Set: Simplify check for text to output. Created 10 years, 2 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 | third_party/repo/progress.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient_utils.py
diff --git a/gclient_utils.py b/gclient_utils.py
index 9c7274bc86b40a32f682074d33e540c6f2898d08..3c374d5a3d5726c0dca6c0cba2af3b2801f6c5fb 100644
--- a/gclient_utils.py
+++ b/gclient_utils.py
@@ -663,7 +663,7 @@ class ExecutionQueue(object):
t.join()
sys.stdout.full_flush()
if self.progress:
- self.progress.update(1)
+ self.progress.update(1, t.item.name)
assert not t.item.name in self.ran
if not t.item.name in self.ran:
self.ran.append(t.item.name)
@@ -681,7 +681,7 @@ class ExecutionQueue(object):
task_item.run(*args, **kwargs)
self.ran.append(task_item.name)
if self.progress:
- self.progress.update(1)
+ self.progress.update(1, ', '.join(t.item.name for t in self.running))
class _Worker(threading.Thread):
"""One thread to execute one WorkItem."""
« no previous file with comments | « no previous file | third_party/repo/progress.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698