summaryrefslogtreecommitdiffstats
path: root/manifest_xml.py
diff options
context:
space:
mode:
Diffstat (limited to 'manifest_xml.py')
-rw-r--r--manifest_xml.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/manifest_xml.py b/manifest_xml.py
index 0654222e..60d61168 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -571,12 +571,15 @@ class XmlManifest(object):
571 groups = node.getAttribute('groups') 571 groups = node.getAttribute('groups')
572 if groups: 572 if groups:
573 groups = self._ParseGroups(groups) 573 groups = self._ParseGroups(groups)
574 revision = node.getAttribute('revision')
574 575
575 for p in self._projects[name]: 576 for p in self._projects[name]:
576 if path and p.relpath != path: 577 if path and p.relpath != path:
577 continue 578 continue
578 if groups: 579 if groups:
579 p.groups.extend(groups) 580 p.groups.extend(groups)
581 if revision:
582 p.revisionExpr = revision
580 if node.nodeName == 'repo-hooks': 583 if node.nodeName == 'repo-hooks':
581 # Get the name of the project and the (space-separated) list of enabled. 584 # Get the name of the project and the (space-separated) list of enabled.
582 repo_hooks_project = self._reqatt(node, 'in-project') 585 repo_hooks_project = self._reqatt(node, 'in-project')