summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/project.py b/project.py
index 2567c57d..9517c5ab 100644
--- a/project.py
+++ b/project.py
@@ -1050,7 +1050,8 @@ class Project(object):
1050 retry_fetches=0, 1050 retry_fetches=0,
1051 prune=False, 1051 prune=False,
1052 submodules=False, 1052 submodules=False,
1053 clone_filter=None): 1053 clone_filter=None,
1054 partial_clone_exclude=None):
1054 """Perform only the network IO portion of the sync process. 1055 """Perform only the network IO portion of the sync process.
1055 Local working directory/branch state is not affected. 1056 Local working directory/branch state is not affected.
1056 """ 1057 """
@@ -1087,6 +1088,10 @@ class Project(object):
1087 if clone_bundle and os.path.exists(self.objdir): 1088 if clone_bundle and os.path.exists(self.objdir):
1088 clone_bundle = False 1089 clone_bundle = False
1089 1090
1091 if self.name in partial_clone_exclude:
1092 clone_bundle = True
1093 clone_filter = None
1094
1090 if is_new is None: 1095 if is_new is None:
1091 is_new = not self.Exists 1096 is_new = not self.Exists
1092 if is_new: 1097 if is_new: