summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--manifest_xml.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/manifest_xml.py b/manifest_xml.py
index 7e719600..6dc01a47 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -303,6 +303,9 @@ class XmlManifest(object):
303 if p.sync_s: 303 if p.sync_s:
304 e.setAttribute('sync-s', 'true') 304 e.setAttribute('sync-s', 'true')
305 305
306 if p.clone_depth:
307 e.setAttribute('clone-depth', str(p.clone_depth))
308
306 if p.subprojects: 309 if p.subprojects:
307 subprojects = set(subp.name for subp in p.subprojects) 310 subprojects = set(subp.name for subp in p.subprojects)
308 output_projects(p, e, list(sorted(subprojects))) 311 output_projects(p, e, list(sorted(subprojects)))