Index: gclient.py |
diff --git a/gclient.py b/gclient.py |
index 650c25a46ee4a0c2f06b5f9714505c24555a78cb..3850ed94235cfa33baedffd6e13af2396f0099da 100644 |
--- a/gclient.py |
+++ b/gclient.py |
@@ -715,7 +715,8 @@ solutions = [ |
raise gclient_utils.Error('No solution specified') |
revision_overrides = self._EnforceRevisions() |
pm = None |
- if command == 'update' and not self._options.verbose: |
+ # Disable progress for non-tty stdout. |
+ if command in ('update', 'revert') and sys.stdout.isatty(): |
pm = Progress('Syncing projects', 1) |
work_queue = gclient_utils.ExecutionQueue(self._options.jobs, pm) |
for s in self.dependencies: |