Include dest-branch attribute in the 'manifest' subcommand's output
Change-Id: If4227d02005fddea82d9e698a373222100d8f710
This commit is contained in:
parent
163fdbf2fd
commit
7e59de2bcc
1 changed files with 6 additions and 0 deletions
|
@ -202,6 +202,9 @@ class XmlManifest(object):
|
|||
if d.revisionExpr:
|
||||
have_default = True
|
||||
e.setAttribute('revision', d.revisionExpr)
|
||||
if d.destBranchExpr:
|
||||
have_default = True
|
||||
e.setAttribute('dest-branch', d.destBranchExpr)
|
||||
if d.sync_j > 1:
|
||||
have_default = True
|
||||
e.setAttribute('sync-j', '%d' % d.sync_j)
|
||||
|
@ -267,6 +270,9 @@ class XmlManifest(object):
|
|||
if p.upstream and p.upstream != p.revisionExpr:
|
||||
e.setAttribute('upstream', p.upstream)
|
||||
|
||||
if p.dest_branch and p.dest_branch != d.destBranchExpr:
|
||||
e.setAttribute('dest-branch', p.dest_branch)
|
||||
|
||||
for c in p.copyfiles:
|
||||
ce = doc.createElement('copyfile')
|
||||
ce.setAttribute('src', c.src)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue