def do_upgrade(env, version, cursor):
    enable = [c for c in _svn_components
              if env.is_component_enabled(_old_path + c) and
              not env.is_component_enabled(_new_path + c)]
    if not enable:
        return
    backup_config_file(env, '.tracopt-svn.bak')
    for c in enable:
        env.config.set('components', _new_path + c, 'enabled')
    env.config.save()
    env.log.info("Enabled components %r to cope with the move from %s to %s.",
                 enable,
                 _old_path.replace('.', '/'), _new_path.replace('.', '/'))
Solve system of linear equations.
dataset/ETHPy150Open edgewall/trac/trac/upgrades/db29.py/do_upgrade--crossover with--dataset/ETHPy150Open lebedov/scikit-cuda/skcuda/magma.py/magma_dgesv_gpu