Skip to content
Snippets Groups Projects
Commit 23f53c43 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Rename wiki repo if project repo was removed

parent 7daf3947
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -427,6 +427,7 @@ class Project < ActiveRecord::Base
# 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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment