diff options
Diffstat (limited to 'subcmds')
-rw-r--r-- | subcmds/init.py | 2 | ||||
-rw-r--r-- | subcmds/sync.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/subcmds/init.py b/subcmds/init.py index b6c891ac..13085fae 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
@@ -345,7 +345,7 @@ to update the working directory files. | |||
345 | self._SyncManifest(opt) | 345 | self._SyncManifest(opt) |
346 | self._LinkManifest(opt.manifest_name) | 346 | self._LinkManifest(opt.manifest_name) |
347 | 347 | ||
348 | if self.manifest.manifestProject.config.GetBoolean('repo.superproject'): | 348 | if self.manifest.manifestProject.use_superproject: |
349 | self._CloneSuperproject(opt) | 349 | self._CloneSuperproject(opt) |
350 | 350 | ||
351 | if os.isatty(0) and os.isatty(1) and not self.manifest.IsMirror: | 351 | if os.isatty(0) and os.isatty(1) and not self.manifest.IsMirror: |
diff --git a/subcmds/sync.py b/subcmds/sync.py index f5584dc8..c1655159 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -976,7 +976,7 @@ later is required to fix a server side protocol bug. | |||
976 | file=sys.stderr) | 976 | file=sys.stderr) |
977 | 977 | ||
978 | mp = self.manifest.manifestProject | 978 | mp = self.manifest.manifestProject |
979 | is_standalone_manifest = mp.config.GetString('manifest.standalone') | 979 | is_standalone_manifest = bool(mp.standalone_manifest_url) |
980 | if not is_standalone_manifest: | 980 | if not is_standalone_manifest: |
981 | mp.PreSync() | 981 | mp.PreSync() |
982 | 982 | ||