diff options
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1749,6 +1749,9 @@ class Project(object): | |||
1749 | depth = self.clone_depth | 1749 | depth = self.clone_depth |
1750 | else: | 1750 | else: |
1751 | depth = self.manifest.manifestProject.config.GetString('repo.depth') | 1751 | depth = self.manifest.manifestProject.config.GetString('repo.depth') |
1752 | # The repo project should never be synced with partial depth | ||
1753 | if self.relpath == '.repo/repo': | ||
1754 | depth = None | ||
1752 | 1755 | ||
1753 | if depth: | 1756 | if depth: |
1754 | current_branch_only = True | 1757 | current_branch_only = True |