def migrate_fully(self, repo_name):
     abs_path = os.path.abspath(os.path.dirname(repo_name))
     init_version = upgrades.get_init_version(abs_path=abs_path)
     schema = versioning_api.ControlledSchema.create(
         self.migrate_engine, abs_path, init_version)
     max_version = schema.repository.version().version
     upgrade = True
     err = ''
     version = versioning_api._migrate_version(schema, max_version, upgrade,
                                               err)
     schema.upgrade(version)
 def migrate_fully(self, repo_name):
     abs_path = os.path.abspath(os.path.dirname(repo_name))
     init_version = upgrades.get_init_version(abs_path=abs_path)
     schema = versioning_api.ControlledSchema.create(
         self.migrate_engine, abs_path, init_version)
     max_version = schema.repository.version().version
     upgrade = True
     err = ''
     version = versioning_api._migrate_version(
         schema, max_version, upgrade, err)
     schema.upgrade(version)
 def INIT_VERSION(self):
     return upgrades.get_init_version(
         abs_path=os.path.abspath(os.path.dirname(self.migrate_file)))
 def INIT_VERSION(self):
     return upgrades.get_init_version(
         abs_path=os.path.abspath(os.path.dirname(self.migrate_file)))