diff options
Diffstat (limited to 'manifest_xml.py')
-rw-r--r-- | manifest_xml.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manifest_xml.py b/manifest_xml.py index 4f7bd498..035cc61b 100644 --- a/manifest_xml.py +++ b/manifest_xml.py | |||
@@ -599,6 +599,9 @@ class XmlManifest(object): | |||
599 | if groups: | 599 | if groups: |
600 | groups = self._ParseGroups(groups) | 600 | groups = self._ParseGroups(groups) |
601 | revision = node.getAttribute('revision') | 601 | revision = node.getAttribute('revision') |
602 | remote = node.getAttribute('remote') | ||
603 | if remote: | ||
604 | remote = self._get_remote(node) | ||
602 | 605 | ||
603 | for p in self._projects[name]: | 606 | for p in self._projects[name]: |
604 | if path and p.relpath != path: | 607 | if path and p.relpath != path: |
@@ -607,6 +610,8 @@ class XmlManifest(object): | |||
607 | p.groups.extend(groups) | 610 | p.groups.extend(groups) |
608 | if revision: | 611 | if revision: |
609 | p.revisionExpr = revision | 612 | p.revisionExpr = revision |
613 | if remote: | ||
614 | p.remote = remote.ToRemoteSpec(name) | ||
610 | if node.nodeName == 'repo-hooks': | 615 | if node.nodeName == 'repo-hooks': |
611 | # Get the name of the project and the (space-separated) list of enabled. | 616 | # Get the name of the project and the (space-separated) list of enabled. |
612 | repo_hooks_project = self._reqatt(node, 'in-project') | 617 | repo_hooks_project = self._reqatt(node, 'in-project') |