From a2ff20dd209fe3eb091cdf1bddd4672f86b76bd8 Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Thu, 7 Apr 2022 16:49:06 +0000 Subject: manifest_xml: Add Load and Unload methods - do not call the internal method from subcmds/sync.py. - use the correct default groups for submanifests. - only sync the superproject when we are told to. Change-Id: I81e4025058f1ee564732b9e17aecc522f6b5f626 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/334639 Reviewed-by: Mike Frysinger Reviewed-by: Raman Tenneti Tested-by: LaMont Jones --- subcmds/sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'subcmds/sync.py') diff --git a/subcmds/sync.py b/subcmds/sync.py index c1655159..baee6b23 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -694,10 +694,10 @@ later is required to fix a server side protocol bug. load_local_manifests: Whether to load local manifests. """ if manifest_name: - # Override calls _Unload already + # Override calls Unload already self.manifest.Override(manifest_name, load_local_manifests=load_local_manifests) else: - self.manifest._Unload() + self.manifest.Unload() def UpdateProjectList(self, opt): new_project_paths = [] -- cgit v1.2.3-54-g00ecf