Clone test repo as bare repo for project factories with repo
What does this MR do?
Please make sure to check the problem's description in #31562 (closed) first.
Clone test repo as bare repo for project factories with repo.
Instead of bare cloning in TestEnv#init
, we now perform these clones in
TestEnv#copy_repo
directly. This ensures the refs are up-to-date.
Are there points in the code the reviewer needs to double check?
We should check if the specs duration increase because of this change but I don't think a local git clone --bare
will take a lot longer than a cp -r
...
Closes #31562 (closed)