git-repo/subcmds
Gavin Mak f0aeb220de sync: Warn if partial sync state is detected
Partial syncs are not supported and can lead to strange behavior like
deleting files. Explicitly warn users on partial sync.

Bug: b/286126621, b/271507654
Change-Id: I471f78ac5942eb855bc34c80af47aa561dfa61e8
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/382154
Reviewed-by: Jason Chang <jasonnc@google.com>
Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com>
Tested-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
2023-08-10 18:13:14 +00:00
..
__init__.py Update errors to extend BaseRepoError 2023-07-31 21:31:36 +00:00
abandon.py Raise repo exit errors in place of sys.exit 2023-08-07 23:56:07 +00:00
branches.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
checkout.py sync: Show elapsed time for the longest syncing project 2023-05-18 18:10:24 +00:00
cherry_pick.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
diff.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
diffmanifests.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
download.py Refactor errors for sync command 2023-08-02 18:29:05 +00:00
forall.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
gitc_delete.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
gitc_init.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
grep.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
help.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
info.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
init.py Raise repo exit errors in place of sys.exit 2023-08-07 23:56:07 +00:00
list.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
manifest.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
overview.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
prune.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
rebase.py [git_trace2] Add logs for critical cmds 2023-05-17 18:06:14 +00:00
selfupdate.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
smartsync.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
stage.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
start.py sync: Show elapsed time for the longest syncing project 2023-05-18 18:10:24 +00:00
status.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
sync.py sync: Warn if partial sync state is detected 2023-08-10 18:13:14 +00:00
upload.py Raise repo exit errors in place of sys.exit 2023-08-07 23:56:07 +00:00
version.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00