equal
deleted
inserted
replaced
67 self._cnx = cnx |
67 self._cnx = cnx |
68 self.repo = repo |
68 self.repo = repo |
69 elif connect: |
69 elif connect: |
70 self.repo_connect() |
70 self.repo_connect() |
71 # no config on shell to a remote instance |
71 # no config on shell to a remote instance |
72 if config is not None: |
72 if config is not None and (cnx or connect): |
73 self.session.data['rebuild-infered'] = False |
73 self.session.data['rebuild-infered'] = False |
74 self.repo.hm.call_hooks('server_maintenance', repo=self.repo) |
74 self.repo.hm.call_hooks('server_maintenance', repo=self.repo) |
75 if not schema: |
75 if not schema: |
76 schema = config.load_schema(expand_cubes=True) |
76 schema = config.load_schema(expand_cubes=True) |
77 self.fs_schema = schema |
77 self.fs_schema = schema |