diff options
Diffstat (limited to 'subcmds/sync.py')
| -rw-r--r-- | subcmds/sync.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index 8e8529ee..82056f33 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
| @@ -723,11 +723,12 @@ later is required to fix a server side protocol bug. | |||
| 723 | mp.Sync_NetworkHalf(quiet=opt.quiet, | 723 | mp.Sync_NetworkHalf(quiet=opt.quiet, |
| 724 | current_branch_only=opt.current_branch_only, | 724 | current_branch_only=opt.current_branch_only, |
| 725 | no_tags=opt.no_tags, | 725 | no_tags=opt.no_tags, |
| 726 | optimized_fetch=opt.optimized_fetch) | 726 | optimized_fetch=opt.optimized_fetch, |
| 727 | submodules=self.manifest.HasSubmodules) | ||
| 727 | 728 | ||
| 728 | if mp.HasChanges: | 729 | if mp.HasChanges: |
| 729 | syncbuf = SyncBuffer(mp.config) | 730 | syncbuf = SyncBuffer(mp.config) |
| 730 | mp.Sync_LocalHalf(syncbuf) | 731 | mp.Sync_LocalHalf(syncbuf, submodules=self.manifest.HasSubmodules) |
| 731 | if not syncbuf.Finish(): | 732 | if not syncbuf.Finish(): |
| 732 | sys.exit(1) | 733 | sys.exit(1) |
| 733 | self._ReloadManifest(manifest_name) | 734 | self._ReloadManifest(manifest_name) |
