mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
sync: Silence 'not found in manifest' message
This can potentially show up when sync'ing projects with submodules that are not declared in the manifest as well as the internal '.repo/repo' project, which is likely not desirable from a user standpoint. Change-Id: I93d7fcd6e3fd1818357ea4537882a864dea9942c Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/355920 Reviewed-by: LaMont Jones <lamontjones@google.com> Reviewed-by: Mike Frysinger <vapier@google.com> Tested-by: Michael Kelly <mkelly@arista.com>
This commit is contained in:
parent
7e3b65beb7
commit
7eab0eedf2
@ -772,7 +772,7 @@ later is required to fix a server side protocol bug.
|
|||||||
# We do not support switching between the options. The environment
|
# We do not support switching between the options. The environment
|
||||||
# variable is present for testing and migration only.
|
# variable is present for testing and migration only.
|
||||||
return not project.UseAlternates
|
return not project.UseAlternates
|
||||||
print(f'\r{relpath}: project not found in manifest.', file=sys.stderr)
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def _SetPreciousObjectsState(self, project: Project, opt):
|
def _SetPreciousObjectsState(self, project: Project, opt):
|
||||||
|
Loading…
Reference in New Issue
Block a user