Fix a bug where forking a project from a repository storage to another would fail
What does this MR do?
Fix a bug where forking a project from a repository storage to another would fail.
Are there points in the code the reviewer needs to double check?
No
Why was this MR needed?
If you have a project in storage_a, change the default storage to storage_b, and attempt to fork said project, the import will fail.
What are the relevant issue numbers?
Closes #20302 (closed)
-
CHANGELOG entry added -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the style guides -
Branch has no merge conflicts with master
(if you do - rebase it please) -
Squashed related commits together -
Merge https://gitlab.com/gitlab-org/gitlab-shell/merge_requests/75, publish the tag, and update GITLAB_SHELL_VERSION