before repo change