summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kelly <mkelly@arista.com>2023-01-09 16:14:54 -0800
committerMichael Kelly <mkelly@arista.com>2023-01-31 21:52:16 +0000
commit7eab0eedf2960049e245f86249ba1150c1ca6a76 (patch)
treea35c7f873570ea145f18d454175ff031801bdabe
parent7e3b65beb72ea4cc3ca8bfbd0816413217a520d0 (diff)
downloadgit-repo-7eab0eedf2960049e245f86249ba1150c1ca6a76.tar.gz
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>
-rw-r--r--subcmds/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py
index 8db429bf..1c38d266 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -772,7 +772,7 @@ later is required to fix a server side protocol bug.
772 # We do not support switching between the options. The environment 772 # We do not support switching between the options. The environment
773 # variable is present for testing and migration only. 773 # variable is present for testing and migration only.
774 return not project.UseAlternates 774 return not project.UseAlternates
775 print(f'\r{relpath}: project not found in manifest.', file=sys.stderr) 775
776 return False 776 return False
777 777
778 def _SetPreciousObjectsState(self, project: Project, opt): 778 def _SetPreciousObjectsState(self, project: Project, opt):