git-repo/subcmds
Matt Schulte 0dd0a830b0 sync: Fix partial sync false positive
In the case of a project being removed from the manifest, and in the
path in which the project used to exist, and symlink is place to another
project repo will start to warn about partial syncs when a partial sync
did not occur.

Repro steps:

1) Create a manifest with two projects. Project a -> a/ and project b -> b/
2) Run `repo sync`
3) Remove project b from the manifest.
4) Use `link` in the manifest to link all of Project a to b/

Bug: 314161804
Change-Id: I4a4ac4f70a7038bc7e0c4e0e51ae9fc942411a34
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/395640
Reviewed-by: Gavin Mak <gavinmak@google.com>
Tested-by: Matt Schulte <matsch@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
2023-11-30 22:36:41 +00:00
..
__init__.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00
abandon.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00
branches.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00
checkout.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +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 cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +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 cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00
info.py info: Handle undefined mergeBranch 2023-11-20 19:22:53 +00:00
init.py repo: Use the worktree when checking the repo rev. 2023-11-13 18:21:31 +00:00
list.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +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 cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +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 cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00
status.py isort: format codebase 2023-08-22 18:32:22 +00:00
sync.py sync: Fix partial sync false positive 2023-11-30 22:36:41 +00:00
upload.py Update logger.warn to logger.warning 2023-10-13 19:34:26 +00:00
version.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00