summaryrefslogtreecommitdiffstats
path: root/subcmds/sync.py
diff options
context:
space:
mode:
authorLaMont Jones <lamontjones@google.com>2022-04-07 16:49:06 +0000
committerLaMont Jones <lamontjones@google.com>2022-04-08 19:52:04 +0000
commita2ff20dd209fe3eb091cdf1bddd4672f86b76bd8 (patch)
treebbddbe26a54504a9cc97d3dd67c7efedcacff2ca /subcmds/sync.py
parent55ee304304a0d83bfa23984c45e46eebdd184124 (diff)
downloadgit-repo-a2ff20dd209fe3eb091cdf1bddd4672f86b76bd8.tar.gz
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 <vapier@google.com> Reviewed-by: Raman Tenneti <rtenneti@google.com> Tested-by: LaMont Jones <lamontjones@google.com>
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r--subcmds/sync.py4
1 files changed, 2 insertions, 2 deletions
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.
694 load_local_manifests: Whether to load local manifests. 694 load_local_manifests: Whether to load local manifests.
695 """ 695 """
696 if manifest_name: 696 if manifest_name:
697 # Override calls _Unload already 697 # Override calls Unload already
698 self.manifest.Override(manifest_name, load_local_manifests=load_local_manifests) 698 self.manifest.Override(manifest_name, load_local_manifests=load_local_manifests)
699 else: 699 else:
700 self.manifest._Unload() 700 self.manifest.Unload()
701 701
702 def UpdateProjectList(self, opt): 702 def UpdateProjectList(self, opt):
703 new_project_paths = [] 703 new_project_paths = []