summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/project.py b/project.py
index 65fefd92..afab1b7c 100644
--- a/project.py
+++ b/project.py
@@ -966,7 +966,15 @@ class Project(object):
966 and self._ApplyCloneBundle(initial=is_new, quiet=quiet): 966 and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
967 is_new = False 967 is_new = False
968 968
969 current_branch_only = current_branch_only or self.sync_c or self.manifest.default.sync_c 969 if not current_branch_only:
970 if self.sync_c:
971 current_branch_only = True
972 elif not self.manifest._loaded:
973 # Manifest cannot check defaults until it syncs.
974 current_branch_only = False
975 elif self.manifest.default.sync_c:
976 current_branch_only = True
977
970 if not self._RemoteFetch(initial=is_new, quiet=quiet, alt_dir=alt_dir, 978 if not self._RemoteFetch(initial=is_new, quiet=quiet, alt_dir=alt_dir,
971 current_branch_only=current_branch_only): 979 current_branch_only=current_branch_only):
972 return False 980 return False