diff options
Diffstat (limited to 'manifest_xml.py')
| -rw-r--r-- | manifest_xml.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/manifest_xml.py b/manifest_xml.py index 130e17c2..7e719600 100644 --- a/manifest_xml.py +++ b/manifest_xml.py | |||
| @@ -202,6 +202,9 @@ class XmlManifest(object): | |||
| 202 | if d.revisionExpr: | 202 | if d.revisionExpr: |
| 203 | have_default = True | 203 | have_default = True |
| 204 | e.setAttribute('revision', d.revisionExpr) | 204 | e.setAttribute('revision', d.revisionExpr) |
| 205 | if d.destBranchExpr: | ||
| 206 | have_default = True | ||
| 207 | e.setAttribute('dest-branch', d.destBranchExpr) | ||
| 205 | if d.sync_j > 1: | 208 | if d.sync_j > 1: |
| 206 | have_default = True | 209 | have_default = True |
| 207 | e.setAttribute('sync-j', '%d' % d.sync_j) | 210 | e.setAttribute('sync-j', '%d' % d.sync_j) |
| @@ -267,6 +270,9 @@ class XmlManifest(object): | |||
| 267 | if p.upstream and p.upstream != p.revisionExpr: | 270 | if p.upstream and p.upstream != p.revisionExpr: |
| 268 | e.setAttribute('upstream', p.upstream) | 271 | e.setAttribute('upstream', p.upstream) |
| 269 | 272 | ||
| 273 | if p.dest_branch and p.dest_branch != d.destBranchExpr: | ||
| 274 | e.setAttribute('dest-branch', p.dest_branch) | ||
| 275 | |||
| 270 | for c in p.copyfiles: | 276 | for c in p.copyfiles: |
| 271 | ce = doc.createElement('copyfile') | 277 | ce = doc.createElement('copyfile') |
| 272 | ce.setAttribute('src', c.src) | 278 | ce.setAttribute('src', c.src) |
