git-repo/subcmds
Josip Sokcevic 69427da8c9 Handle KeyboardInterrupt during repo sync
If interrupt signal is sent to repo process while sync is running, repo
prints stack trace for each concurrent job that is currently running
with no useful information.

Instead, this change captures KeyboardInterrupt in each process and
prints one line about current project that is being processed.

Change-Id: Ieca760ed862341939396b8186ae04128d769cd56
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/357135
Reviewed-by: Joanna Wang <jojwang@google.com>
Tested-by: Josip Sokcevic <sokcevic@google.com>
2023-02-01 23:41:11 +00:00
..
__init__.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
abandon.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
branches.py subcmds: display correct path multitree messages 2022-11-15 21:13:06 +00:00
checkout.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
cherry_pick.py cherry-pick: tighten up output 2022-08-22 19:38:32 +00:00
diff.py status, diff: display correct path for multi-manifest 2022-07-14 16:00:18 +00:00
diffmanifests.py subcmds: display correct path multitree messages 2022-11-15 21:13:06 +00:00
download.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
forall.py forall: fix multi-manifest variables. 2022-04-14 14:31:47 +00:00
gitc_delete.py commands: document the "common" class attribute 2021-06-15 06:07:37 +00:00
gitc_init.py GitcInit: fix gitc-init failure 2022-11-04 17:30:40 +00:00
grep.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
help.py help: fix grammar in help text 2021-11-12 17:30:32 +00:00
info.py manifest: add submanifest.default_groups attribute 2022-04-29 18:42:23 +00:00
init.py init: Silence the "rm -r .repo and try again" message if quiet 2023-01-06 16:01:52 +00:00
list.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
manifest.py pylint: remove unused imports 2022-12-13 16:23:19 +00:00
overview.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
prune.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
rebase.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
selfupdate.py sync: use namedtuples for internal return values 2022-09-19 22:03:18 +00:00
smartsync.py commands: document the "common" class attribute 2021-06-15 06:07:37 +00:00
stage.py stage: add missing flush before project prompt 2022-08-22 20:48:29 +00:00
start.py Add multi-manifest support with <submanifest> element 2022-02-17 21:57:55 +00:00
status.py status, diff: display correct path for multi-manifest 2022-07-14 16:00:18 +00:00
sync.py Handle KeyboardInterrupt during repo sync 2023-02-01 23:41:11 +00:00
upload.py Fix flake8 warnings for some files 2023-01-05 18:43:12 +00:00
version.py project: simplify GetRemote a bit 2022-08-17 16:54:21 +00:00