mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-01-02 16:14:25 +00:00
Merge "Copy clone-depth in repo manifest
"
This commit is contained in:
commit
6d35d676db
@ -303,6 +303,9 @@ class XmlManifest(object):
|
|||||||
if p.sync_s:
|
if p.sync_s:
|
||||||
e.setAttribute('sync-s', 'true')
|
e.setAttribute('sync-s', 'true')
|
||||||
|
|
||||||
|
if p.clone_depth:
|
||||||
|
e.setAttribute('clone-depth', str(p.clone_depth))
|
||||||
|
|
||||||
if p.subprojects:
|
if p.subprojects:
|
||||||
subprojects = set(subp.name for subp in p.subprojects)
|
subprojects = set(subp.name for subp in p.subprojects)
|
||||||
output_projects(p, e, list(sorted(subprojects)))
|
output_projects(p, e, list(sorted(subprojects)))
|
||||||
|
Loading…
Reference in New Issue
Block a user