diff options
Diffstat (limited to 'manifest_xml.py')
-rw-r--r-- | manifest_xml.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/manifest_xml.py b/manifest_xml.py index 9189eec4..44538690 100644 --- a/manifest_xml.py +++ b/manifest_xml.py | |||
@@ -498,6 +498,12 @@ class XmlManifest(object): | |||
498 | "project %s path cannot be absolute in %s" % \ | 498 | "project %s path cannot be absolute in %s" % \ |
499 | (name, self.manifestFile) | 499 | (name, self.manifestFile) |
500 | 500 | ||
501 | rebase = node.getAttribute('rebase') | ||
502 | if not rebase: | ||
503 | rebase = True | ||
504 | else: | ||
505 | rebase = rebase.lower() in ("yes", "true", "1") | ||
506 | |||
501 | if self.IsMirror: | 507 | if self.IsMirror: |
502 | relpath = None | 508 | relpath = None |
503 | worktree = None | 509 | worktree = None |
@@ -513,7 +519,8 @@ class XmlManifest(object): | |||
513 | worktree = worktree, | 519 | worktree = worktree, |
514 | relpath = path, | 520 | relpath = path, |
515 | revisionExpr = revisionExpr, | 521 | revisionExpr = revisionExpr, |
516 | revisionId = None) | 522 | revisionId = None, |
523 | rebase = rebase) | ||
517 | 524 | ||
518 | for n in node.childNodes: | 525 | for n in node.childNodes: |
519 | if n.nodeName == 'copyfile': | 526 | if n.nodeName == 'copyfile': |