diff options
| -rw-r--r-- | subcmds/sync.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index 9ed84b90..42c5f915 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
| @@ -228,6 +228,9 @@ later is required to fix a server side protocol bug. | |||
| 228 | # We'll set to true once we've locked the lock. | 228 | # We'll set to true once we've locked the lock. |
| 229 | did_lock = False | 229 | did_lock = False |
| 230 | 230 | ||
| 231 | if not opt.quiet: | ||
| 232 | print('Fetching project %s' % project.name) | ||
| 233 | |||
| 231 | # Encapsulate everything in a try/except/finally so that: | 234 | # Encapsulate everything in a try/except/finally so that: |
| 232 | # - We always set err_event in the case of an exception. | 235 | # - We always set err_event in the case of an exception. |
| 233 | # - We always make sure we call sem.release(). | 236 | # - We always make sure we call sem.release(). |
| @@ -274,6 +277,8 @@ later is required to fix a server side protocol bug. | |||
| 274 | if self.jobs == 1: | 277 | if self.jobs == 1: |
| 275 | for project in projects: | 278 | for project in projects: |
| 276 | pm.update() | 279 | pm.update() |
| 280 | if not opt.quiet: | ||
| 281 | print('Fetching project %s' % project.name) | ||
| 277 | if project.Sync_NetworkHalf( | 282 | if project.Sync_NetworkHalf( |
| 278 | quiet=opt.quiet, | 283 | quiet=opt.quiet, |
| 279 | current_branch_only=opt.current_branch_only, | 284 | current_branch_only=opt.current_branch_only, |
