summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/project.py b/project.py
index 3ba8a073..e4682e6a 100644
--- a/project.py
+++ b/project.py
@@ -660,6 +660,7 @@ class Project(object):
660 groups=None, 660 groups=None,
661 sync_c=False, 661 sync_c=False,
662 sync_s=False, 662 sync_s=False,
663 sync_tags=True,
663 clone_depth=None, 664 clone_depth=None,
664 upstream=None, 665 upstream=None,
665 parent=None, 666 parent=None,
@@ -683,6 +684,7 @@ class Project(object):
683 groups: The `groups` attribute of manifest.xml's project element. 684 groups: The `groups` attribute of manifest.xml's project element.
684 sync_c: The `sync-c` attribute of manifest.xml's project element. 685 sync_c: The `sync-c` attribute of manifest.xml's project element.
685 sync_s: The `sync-s` attribute of manifest.xml's project element. 686 sync_s: The `sync-s` attribute of manifest.xml's project element.
687 sync_tags: The `sync-tags` attribute of manifest.xml's project element.
686 upstream: The `upstream` attribute of manifest.xml's project element. 688 upstream: The `upstream` attribute of manifest.xml's project element.
687 parent: The parent Project object. 689 parent: The parent Project object.
688 is_derived: False if the project was explicitly defined in the manifest; 690 is_derived: False if the project was explicitly defined in the manifest;
@@ -715,6 +717,7 @@ class Project(object):
715 self.groups = groups 717 self.groups = groups
716 self.sync_c = sync_c 718 self.sync_c = sync_c
717 self.sync_s = sync_s 719 self.sync_s = sync_s
720 self.sync_tags = sync_tags
718 self.clone_depth = clone_depth 721 self.clone_depth = clone_depth
719 self.upstream = upstream 722 self.upstream = upstream
720 self.parent = parent 723 self.parent = parent
@@ -1290,6 +1293,10 @@ class Project(object):
1290 elif self.manifest.default.sync_c: 1293 elif self.manifest.default.sync_c:
1291 current_branch_only = True 1294 current_branch_only = True
1292 1295
1296 if not no_tags:
1297 if not self.sync_tags:
1298 no_tags = True
1299
1293 if self.clone_depth: 1300 if self.clone_depth:
1294 depth = self.clone_depth 1301 depth = self.clone_depth
1295 else: 1302 else:
@@ -1901,6 +1908,7 @@ class Project(object):
1901 groups=self.groups, 1908 groups=self.groups,
1902 sync_c=self.sync_c, 1909 sync_c=self.sync_c,
1903 sync_s=self.sync_s, 1910 sync_s=self.sync_s,
1911 sync_tags=self.sync_tags,
1904 parent=self, 1912 parent=self,
1905 is_derived=True) 1913 is_derived=True)
1906 result.append(subproject) 1914 result.append(subproject)