diff --git a/subcmds/sync.py b/subcmds/sync.py index 4b7e81df..b80d97b8 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -498,6 +498,8 @@ later is required to fix a server side protocol bug. print('error: Cannot fetch %s from %s' % (project.name, project.remote.url), file=sys.stderr) + except KeyboardInterrupt as e: + print(f'Keyboard interrupt while processing {project.name}') except GitError as e: print('error.GitError: Cannot fetch %s' % str(e), file=sys.stderr) except Exception as e: