server/migractions.py
changeset 10928 0aa9da35db30
parent 10921 977def81780a
child 11001 37c5c9b3b3bf
--- 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)