git-repo/subcmds
Josip Sokcevic 9267d58727 project: Speculative fix for project corruption
When a new shared project is added to manifest, there's a short window
where objects can be deleted that are used by other projects.

To close that window, set preciousObjects during git init. For
non-shared projects, repo should correct the state in the same execution
instance.

Bug: 288102993
Change-Id: I366f524535ac58c820d51a88599ae2108df9ab48
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/390234
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Tested-by: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
2023-10-23 16:13:02 +00:00
..
__init__.py isort: format codebase 2023-08-22 18:32:22 +00:00
abandon.py subcmds: Use repo logger 2023-09-14 17:13:37 +00:00
branches.py delete Python 2 (object) compat 2023-10-20 04:51:01 +00:00
checkout.py subcmds: Use repo logger 2023-09-14 17:13:37 +00:00
cherry_pick.py Update logger.warn to logger.warning 2023-10-13 19:34:26 +00:00
diff.py isort: format codebase 2023-08-22 18:32:22 +00:00
diffmanifests.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
download.py subcmds: Use repo logger 2023-09-14 17:13:37 +00:00
forall.py subcmds: Use repo logger 2023-09-14 17:13:37 +00:00
grep.py subcmds: Use repo logger 2023-09-14 17:13:37 +00:00
help.py isort: format codebase 2023-08-22 18:32:22 +00:00
info.py isort: format codebase 2023-08-22 18:32:22 +00:00
init.py subcmds: Use repo logger 2023-09-14 17:13:37 +00:00
list.py isort: format codebase 2023-08-22 18:32:22 +00:00
manifest.py Update logger.warn to logger.warning 2023-10-13 19:34:26 +00:00
overview.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
prune.py isort: format codebase 2023-08-22 18:32:22 +00:00
rebase.py Update logger.warn to logger.warning 2023-10-13 19:34:26 +00:00
selfupdate.py subcmds: Use repo logger 2023-09-14 17:13:37 +00:00
smartsync.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
stage.py subcmds: Use repo logger 2023-09-14 17:13:37 +00:00
start.py start: Use repo logger 2023-09-11 21:38:55 +00:00
status.py isort: format codebase 2023-08-22 18:32:22 +00:00
sync.py project: Speculative fix for project corruption 2023-10-23 16:13:02 +00:00
upload.py Update logger.warn to logger.warning 2023-10-13 19:34:26 +00:00
version.py isort: format codebase 2023-08-22 18:32:22 +00:00