diff options
Diffstat (limited to 'project.py')
| -rw-r--r-- | project.py | 10 |
1 files changed, 8 insertions, 2 deletions
| @@ -902,7 +902,11 @@ class Project(object): | |||
| 902 | 902 | ||
| 903 | ## Sync ## | 903 | ## Sync ## |
| 904 | 904 | ||
| 905 | def Sync_NetworkHalf(self, quiet=False, is_new=None, current_branch_only=False): | 905 | def Sync_NetworkHalf(self, |
| 906 | quiet=False, | ||
| 907 | is_new=None, | ||
| 908 | current_branch_only=False, | ||
| 909 | clone_bundle=True): | ||
| 906 | """Perform only the network IO portion of the sync process. | 910 | """Perform only the network IO portion of the sync process. |
| 907 | Local working directory/branch state is not affected. | 911 | Local working directory/branch state is not affected. |
| 908 | """ | 912 | """ |
| @@ -925,7 +929,9 @@ class Project(object): | |||
| 925 | else: | 929 | else: |
| 926 | alt_dir = None | 930 | alt_dir = None |
| 927 | 931 | ||
| 928 | if alt_dir is None and self._ApplyCloneBundle(initial=is_new, quiet=quiet): | 932 | if clone_bundle \ |
| 933 | and alt_dir is None \ | ||
| 934 | and self._ApplyCloneBundle(initial=is_new, quiet=quiet): | ||
| 929 | is_new = False | 935 | is_new = False |
| 930 | 936 | ||
| 931 | if not self._RemoteFetch(initial=is_new, quiet=quiet, alt_dir=alt_dir, | 937 | if not self._RemoteFetch(initial=is_new, quiet=quiet, alt_dir=alt_dir, |
