diff options
Diffstat (limited to 'manifest_xml.py')
-rw-r--r-- | manifest_xml.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/manifest_xml.py b/manifest_xml.py index 9cbdcd18..30e96584 100644 --- a/manifest_xml.py +++ b/manifest_xml.py | |||
@@ -34,6 +34,9 @@ MANIFEST_FILE_NAME = 'manifest.xml' | |||
34 | LOCAL_MANIFEST_NAME = 'local_manifest.xml' | 34 | LOCAL_MANIFEST_NAME = 'local_manifest.xml' |
35 | LOCAL_MANIFESTS_DIR_NAME = 'local_manifests' | 35 | LOCAL_MANIFESTS_DIR_NAME = 'local_manifests' |
36 | 36 | ||
37 | # Add all projects from local manifest into a group. | ||
38 | LOCAL_MANIFEST_GROUP_PREFIX = 'local:' | ||
39 | |||
37 | # ContactInfo has the self-registered bug url, supplied by the manifest authors. | 40 | # ContactInfo has the self-registered bug url, supplied by the manifest authors. |
38 | ContactInfo = collections.namedtuple('ContactInfo', 'bugurl') | 41 | ContactInfo = collections.namedtuple('ContactInfo', 'bugurl') |
39 | 42 | ||
@@ -679,7 +682,9 @@ https://gerrit.googlesource.com/git-repo/+/HEAD/docs/manifest-format.md | |||
679 | # Since local manifests are entirely managed by the user, allow | 682 | # Since local manifests are entirely managed by the user, allow |
680 | # them to point anywhere the user wants. | 683 | # them to point anywhere the user wants. |
681 | nodes.append(self._ParseManifestXml( | 684 | nodes.append(self._ParseManifestXml( |
682 | local, self.repodir, restrict_includes=False)) | 685 | local, self.repodir, |
686 | parent_groups=f'{LOCAL_MANIFEST_GROUP_PREFIX}:{local_file[:-4]}', | ||
687 | restrict_includes=False)) | ||
683 | except OSError: | 688 | except OSError: |
684 | pass | 689 | pass |
685 | 690 | ||