diff -r 41341b5a1f49 -r 0aa9da35db30 server/migractions.py --- a/server/migractions.py Tue Nov 24 19:00:02 2015 +0100 +++ b/server/migractions.py Wed Nov 25 11:30:36 2015 +0100 @@ -266,7 +266,7 @@ if written_format in ('portable', 'native'): format = written_format self.config.init_cnxset_pool = False - repo = self.repo + repo = self.repo = self.config.repository() source = repo.system_source try: source.restore(osp.join(tmpdir, source.uri), self.confirm, drop, format)