Commit 23f53c43 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Rename wiki repo if project repo was removed

parent fc3b0957e99d
......@@ -427,6 +427,7 @@ def rename_repo
# However we cannot allow rollback since we moved repository
# So we basically we mute exceptions in next actions
begin
gitlab_shell.mv_repository("#{old_path_with_namespace}.wiki", "#{new_path_with_namespace}.wiki")
gitlab_shell.rm_satellites(old_path_with_namespace)
send_move_instructions
rescue
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment